getTokenType
Identifies the semantic token type of the given text. Supported types are, in order of precedence:
Boolean (ValueFactory.boolean)
Number (ValueFactory.number)
Sizes (ValueFactory.sizes)
Range (ValueFactory.range)
Enum
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