Struct parsimonious::StarParser [] [src]

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

Trait Implementations

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

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

Formats the value using the given formatter.

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

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

type Output = F::Output

The type of the data being produced by the parser.

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

The type of the parser state.

fn init(&self) -> Self::State

Create a stateful parser by initializing a stateless parser.

fn boxable(self) -> BoxableParser<Self::State> where Self: Sized

Make this parser boxable.

fn and_then<P>(self, other: P) -> AndThenParser<Self, P> where Self: Sized, P: ParserOf<S>