public class Token
extends Object
-
Constructor Summary
Constructors
-
Method Summary
-
Constructor Details
-
Token
public Token(short type,
String text)
-
Method Details
-
tokenType
public short tokenType()
- Returns:
- The token type
-
text
- Returns:
- Text of the token.
-
append
public void append(Token t)
-