fn token<S>(input: &mut S) -> PResult<TokenWithLocation>where
S: TokenStream,
Expand description
Consume any token.
If you need to consume a specific token, use Token::?
directly, which already implements [Parser
].
fn token<S>(input: &mut S) -> PResult<TokenWithLocation>where
S: TokenStream,
Consume any token.
If you need to consume a specific token, use Token::?
directly, which already implements [Parser
].