Package | Description |
---|---|
org.openoffice.da.comp.w2lcommon.tex.tokenizer |
Modifier and Type | Method and Description |
---|---|
TokenType |
Token.getType()
Get the
TokenType of this token |
static TokenType |
TokenType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
TokenType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Token.is(char c,
TokenType type)
Test wether this token is a character token of the given type (that is, a single character
with a token type that is neither
COMMAND_SEQUENCE nor ENDINPUT ) |
protected void |
Token.set(char c,
TokenType type)
Set this token as a character token with a specific
TokenType |
protected void |
Token.setType(TokenType type)
Set the type of this token to a specific
TokenType
(the character content is not changed) |