public enum TokenKind extends Enum<TokenKind>
Token.
The Expression parser (FilterParserImpl) uses this information
to build the expression tree.| Enum Constant and Description |
|---|
CLOSEPAREN
Indicates that the token is a ')' character
|
COMMA
Indicates that the token is a ',' character
|
LITERAL
Indicates that the token is a set of alphanumeric characters starting
with a letter
|
OPENPAREN
Indicates that the token is a '(' character
|
SIMPLE_TYPE
Indicates that the token is a typed literal.
|
SYMBOL
Indicates that the token is a single symbol.
|
TYPED_LITERAL_TODO_CHECK |
UNKNOWN |
WHITESPACE
Indicates that the token is a whitespace character
|
| Modifier and Type | Method and Description |
|---|---|
static TokenKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenKind WHITESPACE
public static final TokenKind OPENPAREN
public static final TokenKind CLOSEPAREN
public static final TokenKind COMMA
public static final TokenKind SIMPLE_TYPE
public static final TokenKind SYMBOL
public static final TokenKind LITERAL
public static final TokenKind TYPED_LITERAL_TODO_CHECK
public static final TokenKind UNKNOWN
public static TokenKind[] values()
for (TokenKind c : TokenKind.values()) System.out.println(c);
public static TokenKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.