public static enum Scanner.Symbol extends Enum<Scanner.Symbol>
Enum Constant and Description |
---|
AND |
COLON |
COMMA |
DIV |
DOT |
EMPTY |
END_EVAL |
EOF |
EQ |
EXTENSION |
FALSE |
FLOAT |
GE |
GT |
IDENTIFIER |
INSTANCEOF |
INTEGER |
LBRACK |
LE |
LPAREN |
LT |
MINUS |
MOD |
MUL |
NE |
NOT |
NULL |
OR |
PLUS |
QUESTION |
RBRACK |
RPAREN |
START_EVAL_DEFERRED |
START_EVAL_DYNAMIC |
STRING |
TEXT |
TRUE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Scanner.Symbol |
valueOf(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 are declared.
|
public static final Scanner.Symbol EOF
public static final Scanner.Symbol PLUS
public static final Scanner.Symbol MINUS
public static final Scanner.Symbol MUL
public static final Scanner.Symbol DIV
public static final Scanner.Symbol MOD
public static final Scanner.Symbol LPAREN
public static final Scanner.Symbol RPAREN
public static final Scanner.Symbol IDENTIFIER
public static final Scanner.Symbol NOT
public static final Scanner.Symbol AND
public static final Scanner.Symbol OR
public static final Scanner.Symbol EMPTY
public static final Scanner.Symbol INSTANCEOF
public static final Scanner.Symbol INTEGER
public static final Scanner.Symbol FLOAT
public static final Scanner.Symbol TRUE
public static final Scanner.Symbol FALSE
public static final Scanner.Symbol STRING
public static final Scanner.Symbol NULL
public static final Scanner.Symbol LE
public static final Scanner.Symbol LT
public static final Scanner.Symbol GE
public static final Scanner.Symbol GT
public static final Scanner.Symbol EQ
public static final Scanner.Symbol NE
public static final Scanner.Symbol QUESTION
public static final Scanner.Symbol COLON
public static final Scanner.Symbol TEXT
public static final Scanner.Symbol DOT
public static final Scanner.Symbol LBRACK
public static final Scanner.Symbol RBRACK
public static final Scanner.Symbol COMMA
public static final Scanner.Symbol START_EVAL_DEFERRED
public static final Scanner.Symbol START_EVAL_DYNAMIC
public static final Scanner.Symbol END_EVAL
public static final Scanner.Symbol EXTENSION
public static Scanner.Symbol[] values()
for (Scanner.Symbol c : Scanner.Symbol.values()) System.out.println(c);
public static Scanner.Symbol 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 nullpublic String toString()
toString
in class Enum<Scanner.Symbol>
Copyright © 2019. All rights reserved.