pub fn string_to_token(text: &str) -> SyntaxKindExpand description
Get the token kind for a given text, including identifiers and keywords.
Returns Identifier if the text is not a keyword.
pub fn string_to_token(text: &str) -> SyntaxKindGet the token kind for a given text, including identifiers and keywords.
Returns Identifier if the text is not a keyword.