public enum TokenType extends Enum<TokenType>
| Enum Constant and Description |
|---|
ARRAY_CLOSE |
ARRAY_INDEX |
ARRAY_OPEN |
BRACE_CLOSE |
BRACE_OPEN |
COMMA |
FUNCTION |
FUNCTION_PARAM_START |
INFIX_OPERATOR |
NUMBER_LITERAL |
POSTFIX_OPERATOR |
PREFIX_OPERATOR |
STRING_LITERAL |
STRUCTURE_SEPARATOR |
VARIABLE_OR_CONSTANT |
| Modifier and Type | Method and Description |
|---|---|
static TokenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenType BRACE_OPEN
public static final TokenType BRACE_CLOSE
public static final TokenType COMMA
public static final TokenType STRING_LITERAL
public static final TokenType NUMBER_LITERAL
public static final TokenType VARIABLE_OR_CONSTANT
public static final TokenType INFIX_OPERATOR
public static final TokenType PREFIX_OPERATOR
public static final TokenType POSTFIX_OPERATOR
public static final TokenType FUNCTION
public static final TokenType FUNCTION_PARAM_START
public static final TokenType ARRAY_OPEN
public static final TokenType ARRAY_CLOSE
public static final TokenType ARRAY_INDEX
public static final TokenType STRUCTURE_SEPARATOR
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType 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 © 2024. All rights reserved.