Enum Class TokenKind
- All Implemented Interfaces:
Serializable,Comparable<TokenKind>,Constable
The token kind is used to categorize a single
Token.
The Expression parser (FilterParserImpl) uses this information
to build the expression tree.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the token is a ')' characterIndicates that the token is a ',' characterIndicates that the token is a set of alphanumeric characters starting with a letterIndicates that the token is a '(' characterIndicates that the token is a typed literal.Indicates that the token is a single symbol.Indicates that the token is a whitespace character -
Method Summary
-
Enum Constant Details
-
WHITESPACE
Indicates that the token is a whitespace character -
OPENPAREN
Indicates that the token is a '(' character -
CLOSEPAREN
Indicates that the token is a ')' character -
COMMA
Indicates that the token is a ',' character -
SIMPLE_TYPE
Indicates that the token is a typed literal. That may be a Edm.String like 'TEST' Edm.Double like '1.1D' or any other Edm.Simple Type -
SYMBOL
Indicates that the token is a single symbol. That may be a '-', '=', '/', '?', '.' or a '*' character -
LITERAL
Indicates that the token is a set of alphanumeric characters starting with a letter -
TYPED_LITERAL_TODO_CHECK
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-