public static enum Token.ConstantToken extends Enum<Token.ConstantToken> implements Token
Token.ConstantToken, Token.StringToken| Enum Constant and Description |
|---|
CLOSE_BRACKET |
EOF |
OPEN_BRACKET |
SEMICOLON |
| Modifier and Type | Method and Description |
|---|---|
static Token.ConstantToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Token.ConstantToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.ConstantToken OPEN_BRACKET
public static final Token.ConstantToken CLOSE_BRACKET
public static final Token.ConstantToken SEMICOLON
public static final Token.ConstantToken EOF
public static Token.ConstantToken[] values()
for (Token.ConstantToken c : Token.ConstantToken.values()) System.out.println(c);
public static Token.ConstantToken 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 null