Enum parsell::ParseResult [] [src]

pub enum ParseResult<P, S> where P: Stateful<S> {
    Done(S, P::Output),
    Continue(S, P),
}

The result of a parse.

Variants

Done(S, P::Output)

The parse is finished.

Continue(S, P)

The parse can continue.

Methods

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

fn map<F, Q>(self, f: F) -> ParseResult<Q, S> where Q: Stateful<S, Output=P::Output>, F: Function<P, Output=Q>

Apply a function the the Continue branch of a parse result.