Function parser_combinators::combinator::chainr1
[−]
[src]
pub fn chainr1<'a, P, Op>(parser: P, op: Op) -> Chainr1<P, Op> where P: Parser, Op: Parser<Input=P::Input, Output=Box<FnMut(P::Output, P::Output) -> P::Output + 'a>>
Parses p
one or more times separated by op
The value returned is the one produced by the right associative application of op