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