Struct parsimonious::OrElseGuardedParser [] [src]

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

Trait Implementations

impl<P: Debug, Q: Debug> Debug for OrElseGuardedParser<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 OrElseGuardedParser<P, Q>
[src]

fn clone(&self) -> OrElseGuardedParser<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 OrElseGuardedParser<P, Q>
[src]

impl<P, Q> GuardedParser for OrElseGuardedParser<P, Q> where P: GuardedParser, Q: GuardedParser
[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 OrElseGuardedParser<P, Q> where P: GuardedParserOf<S>, Q: GuardedParserOf<S, Output=P::Output>
[src]

type Output = P::Output

type State = OrElseStatefulParser<P::State, Q::State>

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