pear::parsers

Function skip_while

Source
pub fn skip_while<I, F>(input: &mut Pear<I>, cond: F) -> Result<usize, I>
where I: Input, F: FnMut(&I::Token) -> bool,
Expand description

Skips tokens while cond matches.