mention wrappers in Mode
docs
This commit is contained in:
parent
368db8a1a4
commit
b0b3cc1fe0
@ -36,7 +36,7 @@ pub trait Mode {
|
|||||||
|
|
||||||
/// Do something with the successfully parsed value, potentially failing.
|
/// Do something with the successfully parsed value, potentially failing.
|
||||||
///
|
///
|
||||||
/// Useful for chaining parsing after [`InliningFactory`].
|
/// Useful for for wrappers and chaining parsing after [`InliningFactory`].
|
||||||
///
|
///
|
||||||
/// See also [`Mode::map`]
|
/// See also [`Mode::map`]
|
||||||
///
|
///
|
||||||
@ -48,6 +48,8 @@ pub trait Mode {
|
|||||||
|
|
||||||
/// Map the successfully parsed value.
|
/// Map the successfully parsed value.
|
||||||
///
|
///
|
||||||
|
/// Useful for for wrappers.
|
||||||
|
///
|
||||||
/// See also [`Mode::bind`]
|
/// See also [`Mode::bind`]
|
||||||
fn map<A0, A1, I>(
|
fn map<A0, A1, I>(
|
||||||
s: Self::ParseSuccess<A0, I>,
|
s: Self::ParseSuccess<A0, I>,
|
||||||
@ -64,7 +66,7 @@ pub trait Mode {
|
|||||||
|
|
||||||
/// Do something with the extension result, potentially failing.
|
/// Do something with the extension result, potentially failing.
|
||||||
///
|
///
|
||||||
/// Useful for chaining extension after [`InliningFactory`].
|
/// Useful for wrappers and chaining extension after [`InliningFactory`].
|
||||||
///
|
///
|
||||||
/// [`InliningFactory`]: crate::rstd::inlining::InliningFactory
|
/// [`InliningFactory`]: crate::rstd::inlining::InliningFactory
|
||||||
fn xbind<A0, A1, E>(
|
fn xbind<A0, A1, E>(
|
||||||
|
Loading…
Reference in New Issue
Block a user