public enum Token extends Enum<Token>
Enum Constant and Description |
---|
BOOLEAN
布尔值标记
|
DOT
点操作标记
|
DOUBLE
双精度浮点数标记
|
FILTER_INVOKE
过滤器调用标记
|
FLOAT
单精度浮点数标记
|
ID
标示符标记
|
INDEX
参数下标标记
|
INT
整形标记
|
INVOKE
方法/函数调用标记
|
LONG
长整形标记
|
REF
变量引用标记
|
STRING
字符串标记
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getValue() |
static Token |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Token[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token BOOLEAN
public static final Token INT
public static final Token LONG
public static final Token FLOAT
public static final Token DOUBLE
public static final Token STRING
public static final Token ID
public static final Token INDEX
public static final Token INVOKE
public static final Token FILTER_INVOKE
public static final Token DOT
public static final Token REF
public static Token[] values()
for (Token c : Token.values()) System.out.println(c);
public static Token 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 int getValue()
public String getName()
Copyright © 2020. All rights reserved.