de.odysseus.el.tree.impl
Enum Scanner.Symbol
java.lang.Object
java.lang.Enum<Scanner.Symbol>
de.odysseus.el.tree.impl.Scanner.Symbol
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Scanner.Symbol>
- Enclosing class:
- Scanner
public static enum Scanner.Symbol
- extends java.lang.Enum<Scanner.Symbol>
Symbol type
Method Summary |
java.lang.String |
toString()
|
static Scanner.Symbol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Scanner.Symbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
EOF
public static final Scanner.Symbol EOF
PLUS
public static final Scanner.Symbol PLUS
MINUS
public static final Scanner.Symbol MINUS
MUL
public static final Scanner.Symbol MUL
DIV
public static final Scanner.Symbol DIV
MOD
public static final Scanner.Symbol MOD
LPAREN
public static final Scanner.Symbol LPAREN
RPAREN
public static final Scanner.Symbol RPAREN
IDENTIFIER
public static final Scanner.Symbol IDENTIFIER
NOT
public static final Scanner.Symbol NOT
AND
public static final Scanner.Symbol AND
OR
public static final Scanner.Symbol OR
EMPTY
public static final Scanner.Symbol EMPTY
INSTANCEOF
public static final Scanner.Symbol INSTANCEOF
INTEGER
public static final Scanner.Symbol INTEGER
FLOAT
public static final Scanner.Symbol FLOAT
TRUE
public static final Scanner.Symbol TRUE
FALSE
public static final Scanner.Symbol FALSE
STRING
public static final Scanner.Symbol STRING
NULL
public static final Scanner.Symbol NULL
LE
public static final Scanner.Symbol LE
LT
public static final Scanner.Symbol LT
GE
public static final Scanner.Symbol GE
GT
public static final Scanner.Symbol GT
EQ
public static final Scanner.Symbol EQ
NE
public static final Scanner.Symbol NE
QUESTION
public static final Scanner.Symbol QUESTION
COLON
public static final Scanner.Symbol COLON
TEXT
public static final Scanner.Symbol TEXT
DOT
public static final Scanner.Symbol DOT
LBRACK
public static final Scanner.Symbol LBRACK
RBRACK
public static final Scanner.Symbol RBRACK
COMMA
public static final Scanner.Symbol COMMA
START_EVAL_DEFERRED
public static final Scanner.Symbol START_EVAL_DEFERRED
START_EVAL_DYNAMIC
public static final Scanner.Symbol START_EVAL_DYNAMIC
END_EVAL
public static final Scanner.Symbol END_EVAL
EXTENSION
public static final Scanner.Symbol EXTENSION
values
public static final Scanner.Symbol[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Scanner.Symbol c : Scanner.Symbol.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Scanner.Symbol 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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<Scanner.Symbol>