pub fn parse_token(
lexer: &mut Lexer<'_>,
expected: Token,
) -> ParseResult<SourceSpan>Expand description
Expects a given token from the lexer.
pub fn parse_token(
lexer: &mut Lexer<'_>,
expected: Token,
) -> ParseResult<SourceSpan>Expects a given token from the lexer.