wright::lexer::identifier

Function try_consume_keyword_or_identifier

Source
pub fn try_consume_keyword_or_identifier(lexer: &mut Lexer) -> Option<Token>
Available on crate feature lexer only.
Expand description

Attempt to consume a keyword/identifier/underscore from the lexer.