Function wac_parser::parse_token
source ยท 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.