Struct parsimonious::AndThenGuardedParser [] [src]

pub struct AndThenGuardedParser<P, Q>(_, _);

Trait Implementations

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

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

Formats the value using the given formatter.

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

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

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> Copy for AndThenGuardedParser<P, Q>
[src]

impl<P, Q> GuardedParser for AndThenGuardedParser<P, Q> where P: GuardedParser, Q: Parser
[src]

fn or_else<P>(self, other: P) -> OrElseGuardedParser<Self, P> where Self: Sized, P: GuardedParser

fn or_emit<F>(self, factory: F) -> OrEmitParser<Self, F> where Self: Sized

fn and_then<P>(self, other: P) -> AndThenGuardedParser<Self, P> where Self: Sized, P: Parser

fn plus<F>(self, factory: F) -> PlusParser<Self, F> where Self: Sized

fn star<F>(self, factory: F) -> StarParser<Self, F> where Self: Sized

fn map<F>(self, f: F) -> MapGuardedParser<Self, F> where Self: Sized

fn buffer(self) -> BufferedGuardedParser<Self> where Self: Sized

impl<P, Q, S> GuardedParserOf<S> for AndThenGuardedParser<P, Q> where P: GuardedParserOf<S>, Q: ParserOf<S>
[src]

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

type State = AndThenStatefulParser<P::State, Q::State, P::Output>

fn parse(&self, value: S) -> GuardedParseResult<Self::State, S>