final class Token
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
Token.Type |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.StringBuilder |
content
The content buffer.
|
private static int |
INITIAL_TOKEN_LENGTH
length of the initial token (content-)buffer
|
(package private) boolean |
isReady
Token ready flag: indicates a valid token with content (ready for the parser).
|
(package private) Token.Type |
type
Token type
|
| Constructor and Description |
|---|
Token() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
reset() |
java.lang.String |
toString()
Eases IDE debugging.
|
private static final int INITIAL_TOKEN_LENGTH
Token.Type type
final java.lang.StringBuilder content
boolean isReady