Enum parsimonious::AndThenStatefulParser [] [src]

pub enum AndThenStatefulParser<P, Q, T> {
    InLhs(P, Q),
    InRhs(T, Q),
}

Variants

InLhs(P, Q)InRhs(T, Q)

Trait Implementations

impl<P: Debug, Q: Debug, T: Debug> Debug for AndThenStatefulParser<P, Q, T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<P: Clone, Q: Clone, T: Clone> Clone for AndThenStatefulParser<P, Q, T>
[src]

fn clone(&self) -> AndThenStatefulParser<P, Q, T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<P: Copy, Q: Copy, T: Copy> Copy for AndThenStatefulParser<P, Q, T>
[src]

impl<P, Q, S> StatefulParserOf<S> for AndThenStatefulParser<P, Q, P::Output> where P: StatefulParserOf<S>, Q: StatefulParserOf<S>
[src]

type Output = (P::Output, Q::Output)

The type of the data being produced by the parser.

fn parse(self, value: S) -> ParseResult<Self, S>

Provides data to the parser. Read more

fn done(self) -> Self::Output

Tells the parser that it will not receive any more data. Read more