pear::parsers

Function peek

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

Succeeds if the current token is token.