tools.blend.expression
Enum ParseTokenType
java.lang.Object
java.lang.Enum<ParseTokenType>
tools.blend.expression.ParseTokenType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ParseTokenType>
public enum ParseTokenType
- extends java.lang.Enum<ParseTokenType>
The types of expression tokens.
|
Method Summary |
static ParseTokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ParseTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
OPEN
public static final ParseTokenType OPEN
CLOSE
public static final ParseTokenType CLOSE
LOGIC
public static final ParseTokenType LOGIC
NOT
public static final ParseTokenType NOT
COMPARE
public static final ParseTokenType COMPARE
SYMBOL
public static final ParseTokenType SYMBOL
SUBLIST
public static final ParseTokenType SUBLIST
values
public static ParseTokenType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ParseTokenType c : ParseTokenType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ParseTokenType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null