Enum Class TokenKind
- 所有已实现的接口:
Serializable,Comparable<TokenKind>,Constable
Token Kinds.
- 从以下版本开始:
- 4.0
- 作者:
- Andy Clement
-
枚举常量详细资料
-
LITERAL_INT
-
LITERAL_LONG
-
LITERAL_HEXINT
-
LITERAL_HEXLONG
-
LITERAL_STRING
-
LITERAL_REAL
-
LITERAL_REAL_FLOAT
-
LPAREN
-
RPAREN
-
COMMA
-
IDENTIFIER
-
COLON
-
HASH
-
RSQUARE
-
LSQUARE
-
LCURLY
-
RCURLY
-
DOT
-
PLUS
-
STAR
-
MINUS
-
SELECT_FIRST
-
SELECT_LAST
-
QMARK
-
PROJECT
-
DIV
-
GE
-
GT
-
LE
-
LT
-
EQ
-
NE
-
MOD
-
NOT
-
ASSIGN
-
INSTANCEOF
-
MATCHES
-
BETWEEN
-
SELECT
-
POWER
-
ELVIS
-
SAFE_NAVI
-
BEAN_REF
-
FACTORY_BEAN_REF
-
SYMBOLIC_OR
-
SYMBOLIC_AND
-
INC
-
DEC
-
-
字段详细资料
-
tokenChars
final char[] tokenChars -
hasPayload
private final boolean hasPayload
-
-
构造器详细资料
-
TokenKind
-
TokenKind
private TokenKind()
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
toString
-
hasPayload
public boolean hasPayload() -
getLength
public int getLength()
-