Function pear::parsers::eat

source ·
pub fn eat<I, T>(input: &mut Pear<I>, token: T) -> Result<I::Token, I>
where I: Input, T: Token<I>,
Expand description

Eats the current token if it is token.