[][src]Function pear::parsers::peek

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

Succeeds if the current token is token.