Enum parsimonious::MaybeParseResult [] [src]

pub enum MaybeParseResult<P, S> where
    P: Stateful<S>, 
{ Empty(S), Abort(S), Commit(ParseResult<P, S>), }

The result of a parse.

Variants

The input was empty.

The parser must backtrack.

The parser has committed to parsing the input.

Methods

impl<P, S> MaybeParseResult<P, S> where
    P: Stateful<S>, 
[src]

Apply a function the the Commit branch of a parse result