public static enum Token.TYPE extends Enum<Token.TYPE>
Enum Constant and Description |
---|
BRACKET_CLOSE
Closing bracket
|
BRACKET_OPEN
Opening bracket
|
LOGICAL_OPERATOR
Logical operator
|
LOGICAL_UNARY_OPERATOR
Logical unary operator such as !
|
PROPERTY_OPERAND
Property name operand.
|
RELATIONAL_OPERATOR
Relational operator
|
RELATIONAL_OPERATOR_FUNC
Relational operator function
|
VALUE_OPERAND
Value operand.
|
Modifier and Type | Method and Description |
---|---|
static Token.TYPE |
valueOf(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 PROPERTY_OPERAND
public static final Token.TYPE VALUE_OPERAND
public static final Token.TYPE RELATIONAL_OPERATOR
public static final Token.TYPE RELATIONAL_OPERATOR_FUNC
public static final Token.TYPE LOGICAL_OPERATOR
public static final Token.TYPE LOGICAL_UNARY_OPERATOR
public static final Token.TYPE BRACKET_OPEN
public static final Token.TYPE BRACKET_CLOSE
public static Token.TYPE[] values()
for (Token.TYPE c : Token.TYPE.values()) System.out.println(c);
public static Token.TYPE 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 © 2014. All rights reserved.