Enum Constant and Description |
---|
CLOSE_PAREN_FUNC |
CLOSE_PAREN_MATH |
COMMA |
FUNCTION_NAME |
JSON_DATA |
NUMBER |
OPEN_PAREN_FUNC |
OPEN_PAREN_MATH |
OPERATOR |
PLAIN_TEXT |
QUOTED_STRING |
SPACES |
Modifier and Type | Field and Description |
---|---|
static char |
COMMERCIAL_MINUS_SIGN |
Modifier and Type | Method and Description |
---|---|
static Token |
eatOneToken(Token lastToken,
Eater eater,
boolean manageColon) |
static TokenType |
valueOf(java.lang.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 QUOTED_STRING
public static final TokenType JSON_DATA
public static final TokenType OPERATOR
public static final TokenType OPEN_PAREN_MATH
public static final TokenType COMMA
public static final TokenType CLOSE_PAREN_MATH
public static final TokenType NUMBER
public static final TokenType PLAIN_TEXT
public static final TokenType SPACES
public static final TokenType FUNCTION_NAME
public static final TokenType OPEN_PAREN_FUNC
public static final TokenType CLOSE_PAREN_FUNC
public static final char COMMERCIAL_MINUS_SIGN
public static TokenType[] values()
for (TokenType c : TokenType.values()) System.out.println(c);
public static TokenType 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 nullpublic static final Token eatOneToken(Token lastToken, Eater eater, boolean manageColon) throws EaterException
EaterException