Struct parsimonious::PlusParser [] [src]

pub struct PlusParser<P, F>(_, _);

Trait Implementations

impl<P: Debug, F: Debug> Debug for PlusParser<P, F>
[src]

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

Formats the value using the given formatter.

impl<P, F> Copy for PlusParser<P, F> where P: Copy, F: Copy
[src]

impl<P, F> Clone for PlusParser<P, F> where P: Clone, F: Copy
[src]

fn clone(&self) -> Self

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, F> GuardedParser for PlusParser<P, F> where P: Copy + 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, F, S> GuardedParserOf<S> for PlusParser<P, F> where P: Copy + GuardedParserOf<S>, F: Fn<()>, F::Output: Consumer<P::Output>
[src]

type Output = F::Output

type State = StarStatefulParser<P, P::State, F::Output>

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