[][src]Function pear::parsers::eat

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

Eats the current token if it is token.