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