paralegal_flow::ann::parse

Function assert_token

Source
pub fn assert_token<'a>(
    k: TokenKind,
) -> impl Parser<I<'a>, (), ErrorTree<I<'a>>> + 'a
Expand description

Expect the next token to have the token kind k.