public static enum JasmTokens.KeywordType extends java.lang.Enum<JasmTokens.KeywordType>
Enum Constant and Description |
---|
JASMIDENTIFIER |
KEYWORD |
TOKEN |
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.KeywordType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JasmTokens.KeywordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JasmTokens.KeywordType TOKEN
public static final JasmTokens.KeywordType VALUE
public static final JasmTokens.KeywordType JASMIDENTIFIER
public static final JasmTokens.KeywordType KEYWORD
private final java.lang.Integer value
private final java.lang.String printval
public static JasmTokens.KeywordType[] values()
for (JasmTokens.KeywordType c : JasmTokens.KeywordType.values()) System.out.println(c);
public static JasmTokens.KeywordType 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()