Struct parsimonious::impls::PlusParser [] [src]

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

Methods

impl<P, F> PlusParser<P, F>
[src]

Trait Implementations

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

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P, F> Parser for PlusParser<P, F>
[src]

Choice between parsers (returns a parser).

Gives a parser a default value (returns a committed parser).

Sequencing with a committed parser (returns a committed parser).

Sequencing with a committed parser (returns a committed parser which produces an error when this parser returns an error).

Sequencing with a committed parser (returns a committed parser which produces an error when the other parser returns an error).

Sequencing with a committed parser (returns a committed parser which produces an error when the other parser returns an error).

Iterate one or more times (returns a parser).

Iterate zero or more times (returns a committed parser).

Apply a function to the result (returns a committed parser).

Apply a 2-arguent function to the result (returns a committed parser).

Apply a 3-arguent function to the result (returns a committed parser).

Apply a 4-arguent function to the result (returns a committed parser).

Apply a 5-arguent function to the result (returns a committed parser).

Apply a function to the result (returns a committed parser which produces an error when this parser returns an error).

Apply a 2-argument function to the result (returns a committed parser which produces an error when this parser returns an error).

Apply a 3-argument function to the result (returns a committed parser which produces an error when this parser returns an error).

Apply a 4-argument function to the result (returns a committed parser which produces an error when this parser returns an error).

Apply a 5-argument function to the result (returns a committed parser which produces an error when this parser returns an error).

Take the results of iterating this parser, and feed it into another parser.

A parser which produces its input. Read more

impl<P, F, S> Uncommitted<S> for PlusParser<P, F> where
    P: Copy + Uncommitted<S>,
    F: Factory,
    F::Output: Consumer<P::Output>, 
[src]

The type of the data being produced by the parser.

The type of the parser state.

Provides data to the parser. Read more