public static enum JasmTokens.TokenType extends java.lang.Enum<JasmTokens.TokenType>
Enum Constant and Description |
---|
DECLARATION |
EXPRESSION |
JASM |
JASM_IDENT |
MISC |
MODIFIER |
MODULE_NAME |
OPERATOR |
PUNCTUATION |
SPECIAL |
STATEMENT |
TYPE |
TYPE_PATH_KIND |
VALUE |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
printval |
private java.lang.Integer |
value |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
printval() |
static JasmTokens.TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JasmTokens.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JasmTokens.TokenType MODIFIER
public static final JasmTokens.TokenType OPERATOR
public static final JasmTokens.TokenType VALUE
public static final JasmTokens.TokenType TYPE
public static final JasmTokens.TokenType EXPRESSION
public static final JasmTokens.TokenType STATEMENT
public static final JasmTokens.TokenType DECLARATION
public static final JasmTokens.TokenType PUNCTUATION
public static final JasmTokens.TokenType SPECIAL
public static final JasmTokens.TokenType JASM
public static final JasmTokens.TokenType MISC
public static final JasmTokens.TokenType JASM_IDENT
public static final JasmTokens.TokenType MODULE_NAME
public static final JasmTokens.TokenType TYPE_PATH_KIND
private final java.lang.Integer value
private final java.lang.String printval
public static JasmTokens.TokenType[] values()
for (JasmTokens.TokenType c : JasmTokens.TokenType.values()) System.out.println(c);
public static JasmTokens.TokenType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String printval()