public static enum Token.Type extends java.lang.Enum<Token.Type>
| Enum Constant and Description |
|---|
COMMENT |
DIRECTIVE |
EOL |
IDENT |
KEYWORD |
NUMBER |
STRING |
SYNTAX |
| Modifier and Type | Method and Description |
|---|---|
static Token.Type |
valueOf(java.lang.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 EOL
public static final Token.Type NUMBER
public static final Token.Type IDENT
public static final Token.Type COMMENT
public static final Token.Type STRING
public static final Token.Type KEYWORD
public static final Token.Type SYNTAX
public static final Token.Type DIRECTIVE
public static Token.Type[] values()
for (Token.Type c : Token.Type.values()) System.out.println(c);
public static Token.Type 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 null