static enum Token.Toktype extends java.lang.Enum<Token.Toktype>
Modifier and Type | Method and Description |
---|---|
static Token.Toktype
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.Toktype[]
|
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.Toktype NUMBER
public static final Token.Toktype OP
public static final Token.Toktype PAREN
public static Token.Toktype[] values()
for (Token.Toktype c : Token.Toktype.values()) System.out.println(c);
public static Token.Toktype 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 name
java.lang.NullPointerException
- if the argument is null