Struct peruse::parsers::ChainedParser [] [src]

pub struct ChainedParser<A, B> { /* fields omitted */ }

A Chained parser contains two parsers that will be used in sequence to create a tuple of parsed values

Trait Implementations

impl<C: ?Sized, A: Parser<I = C>, B: Parser<I = C>> Parser for ChainedParser<A, B>
[src]

impl<C: ?Sized, A: ParserCombinator<I = C>, B: ParserCombinator<I = C>> Clone for ChainedParser<A, B>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: ?Sized, A: ParserCombinator<I = C>, B: ParserCombinator<I = C>> ParserCombinator for ChainedParser<A, B>
[src]

Chain this parser with another parser, creating new parser that returns a tuple of their results Read more

Chain this parser with another parser, but toss the value from this parser

Chain this parser with another parser, but toss the value from the other parser

Create a new parser that will repeat this parser until it returns an error

Map the value of this parser

Create a disjunction with another parser. If this parser produces an error, the other parser will be used