| Enum Constant and Description |
|---|
NAME |
PARAMETER |
SQUARE_BRACKET_CLOSE |
SQUARE_BRACKET_OPEN |
UNKNOWN |
VALUE_INTEGER |
WHITESPACE |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
java.lang.String |
getPattern() |
static TokenType[] |
orderedValues() |
static TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType NAME
public static final TokenType PARAMETER
public static final TokenType VALUE_INTEGER
public static final TokenType SQUARE_BRACKET_OPEN
public static final TokenType SQUARE_BRACKET_CLOSE
public static final TokenType WHITESPACE
public static final TokenType UNKNOWN
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getPattern()
public int getIndex()
public static TokenType[] orderedValues()