public enum TokenTypes extends Enum<TokenTypes>
| Enum Constant and Description |
|---|
BLOCK_COMMENT |
CLOSE_PAREN |
LINE_COMMENT |
NUMBER |
OPEN_PAREN |
OPERATOR |
PLACEHOLDER |
RESERVED |
RESERVED_NEWLINE |
RESERVED_TOPLEVEL |
STRING |
WHITESPACE |
WORD |
| Modifier and Type | Method and Description |
|---|---|
static TokenTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenTypes WHITESPACE
public static final TokenTypes WORD
public static final TokenTypes STRING
public static final TokenTypes RESERVED
public static final TokenTypes RESERVED_TOPLEVEL
public static final TokenTypes RESERVED_NEWLINE
public static final TokenTypes OPERATOR
public static final TokenTypes OPEN_PAREN
public static final TokenTypes CLOSE_PAREN
public static final TokenTypes LINE_COMMENT
public static final TokenTypes BLOCK_COMMENT
public static final TokenTypes NUMBER
public static final TokenTypes PLACEHOLDER
public static TokenTypes[] values()
for (TokenTypes c : TokenTypes.values()) System.out.println(c);
public static TokenTypes 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.