risingwave_sqlparser::parser_v2

Function token

source
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].