public enum TokenType extends Enum<TokenType>
SimpleTokens here.| Enum Constant and Description |
|---|
ARGUMENT_CONTAINER |
BRACE_CONTAINER |
COMMAND |
ENVIRONMENT |
ERROR |
LR_MODE_NEW_PARAGRAPH |
MATH_CHARACTER |
MATH_NUMBER |
NEW_PARAGRAPH |
ROOT
Main types, correspond to a subclass of
Token |
TAB_CHARACTER |
TEXT_MODE_TEXT |
VERBATIM_MODE_TEXT |
| 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 ARGUMENT_CONTAINER
public static final TokenType BRACE_CONTAINER
public static final TokenType ENVIRONMENT
public static final TokenType COMMAND
public static final TokenType ERROR
public static final TokenType MATH_CHARACTER
public static final TokenType NEW_PARAGRAPH
public static final TokenType TAB_CHARACTER
public static final TokenType TEXT_MODE_TEXT
public static final TokenType LR_MODE_NEW_PARAGRAPH
public static final TokenType VERBATIM_MODE_TEXT
public static final TokenType MATH_NUMBER
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 © 2008–2026 The University of Edinburgh. All rights reserved.