RegularMode
type
s docs
This commit is contained in:
parent
384cf11120
commit
b216fcfe46
@ -301,10 +301,13 @@ where
|
|||||||
pub struct RegularMode;
|
pub struct RegularMode;
|
||||||
|
|
||||||
impl Mode for RegularMode {
|
impl Mode for RegularMode {
|
||||||
|
/// Discards the parser.
|
||||||
type ParseSuccess<A, I> = A;
|
type ParseSuccess<A, I> = A;
|
||||||
|
|
||||||
|
/// Tries to extend the value.
|
||||||
type ExtensionResult<A, E> = Result<A, E>;
|
type ExtensionResult<A, E> = Result<A, E>;
|
||||||
|
|
||||||
|
/// Allows extending the value.
|
||||||
type ExtensionSource<A> = A;
|
type ExtensionSource<A> = A;
|
||||||
|
|
||||||
fn bind<A0, A1, E, I>(
|
fn bind<A0, A1, E, I>(
|
||||||
|
Loading…
Reference in New Issue
Block a user