paralegal_flow::ann::parse

Function assert_token

Source
pub fn assert_token<'a>(k: TokenKind) -> impl FnMut(I<'a>) -> IResult<I<'a>, ()>
Expand description

Expect the next token to have the token kind k.