getTokenType

Identifies the semantic token type of the given text. Supported types are, in order of precedence:

Return

the appropriate TokenType for the text, or null if the text doesn't match any known value type

Parameters

text

the text to categorize, e.g. the content of a function call argument