public static enum Token.Type extends Enum<Token.Type>
| Enum Constant and Description |
|---|
EOF |
EXECUTE_END |
EXECUTE_START |
LONG |
NAME |
NUMBER |
OPERATOR |
PRINT_END |
PRINT_START |
PUNCTUATION |
STRING |
STRING_INTERPOLATION_END |
STRING_INTERPOLATION_START |
TEXT |
| 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 EOF
public static final Token.Type TEXT
public static final Token.Type EXECUTE_START
public static final Token.Type EXECUTE_END
public static final Token.Type PRINT_START
public static final Token.Type PRINT_END
public static final Token.Type NAME
public static final Token.Type NUMBER
public static final Token.Type LONG
public static final Token.Type STRING
public static final Token.Type OPERATOR
public static final Token.Type PUNCTUATION
public static final Token.Type STRING_INTERPOLATION_START
public static final Token.Type STRING_INTERPOLATION_END
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 © 2020. All rights reserved.