public static enum Token.Type extends Enum<Token.Type>
| Enum Constant and Description |
|---|
KEYWORD |
OTHER |
STRING_LITERAL |
| 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 KEYWORD
public static final Token.Type STRING_LITERAL
public static final Token.Type OTHER
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 © 2009–2018 SonarSource. All rights reserved.