pear::combinators

Function last_of_many

Source
pub fn last_of_many<I, O, P>(input: &mut Pear<I>, p: P) -> Result<O, I>
where I: Input, P: FnMut(&mut Pear<I>) -> Result<O, I>,
Expand description

Parses p until p fails, returning the last successful p.