| Modifier and Type | Field and Description |
|---|---|
Scanner.TokenType |
type
The type of this token; legal values are the various public constant declared in this class.
|
String |
value
The text of the token exactly as it appears in the source code.
|
| Constructor and Description |
|---|
Token(Scanner.TokenType type,
String value) |
public final Scanner.TokenType type
public final String value
public Token(Scanner.TokenType type, String value)