public static enum Token.Type extends java.lang.Enum<Token.Type>
| Enum Constant and Description |
|---|
BEGIN_BRACKET |
CONST_INDEX |
CONST_VALUE |
END_BRACKET |
KEY_WORD |
OPERATOR |
PROPERTY |
WORD |
| Modifier and Type | Method and Description |
|---|---|
static Token.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.Type WORD
public static final Token.Type PROPERTY
public static final Token.Type CONST_INDEX
public static final Token.Type OPERATOR
public static final Token.Type BEGIN_BRACKET
public static final Token.Type END_BRACKET
public static final Token.Type KEY_WORD
public static final Token.Type CONST_VALUE
public static Token.Type[] values()
for (Token.Type c : Token.Type.values()) System.out.println(c);
public static Token.Type 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 null