public static enum Token.Type extends Enum<Token.Type>
May be any of the following:
Modifier and Type | Method and Description |
---|---|
static Token.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Token.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.Type ID
public static final Token.Type DEC
public static final Token.Type HEX
public static final Token.Type STR
public static final Token.Type KEY
public static final Token.Type SYM
public static Token.Type[] values()
for (Token.Type c : Token.Type.values()) System.out.println(c);
public static Token.Type 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 nullCopyright © 2019. All rights reserved.