public static class Tokenizer.Token
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
type
Deprecated.
use
type() , will be made private and final in 4.0 |
java.lang.String |
value
Deprecated.
use
value() , will be made private and final in 4.0 |
Modifier | Constructor and Description |
---|---|
private |
Token(int type,
java.lang.StringBuilder value) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEOL()
Indicates whether this token contains an EOL or EOF.
|
boolean |
isString()
Indicates whether this token contains a string.
|
java.lang.String |
toString()
Converts the token to a string containing a representation useful for debugging.
|
int |
type()
The type of token.
|
java.lang.String |
value()
The value of the token, or null for tokens without values.
|
@Deprecated public int type
type()
, will be made private and final in 4.0@Deprecated public java.lang.String value
value()
, will be made private and final in 4.0public int type()
public java.lang.String value()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isString()
public boolean isEOL()