public enum TokenType extends java.lang.Enum<TokenType>
Enum Constant | Description |
---|---|
ACTIVE |
|
ALIGNMENT_TAB |
|
BEGIN_GROUP |
|
COMMAND_SEQUENCE |
|
END_GROUP |
|
ENDINPUT |
|
ESCAPE |
|
LETTER |
|
MATH_SHIFT |
|
OTHER |
|
PARAMETER |
|
SPACE |
|
SUBSCRIPT |
|
SUPERSCRIPT |
Modifier and Type | Method | Description |
---|---|---|
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 ESCAPE
public static final TokenType BEGIN_GROUP
public static final TokenType END_GROUP
public static final TokenType MATH_SHIFT
public static final TokenType ALIGNMENT_TAB
public static final TokenType PARAMETER
public static final TokenType SUPERSCRIPT
public static final TokenType SUBSCRIPT
public static final TokenType SPACE
public static final TokenType LETTER
public static final TokenType OTHER
public static final TokenType ACTIVE
public static final TokenType COMMAND_SEQUENCE
public static final TokenType ENDINPUT
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 null