public class Token
extends java.lang.Object
Constructor and Description |
---|
Token(byte[] serialized,
int len,
int cur,
TokenType required) |
Token(byte[] serialized,
int len,
Token prev,
TokenType required) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
boolean |
hasValue() |
boolean |
isType(TokenType expected) |
void |
mustBe(TokenType expected) |
boolean |
samePoint(Token token) |
public Token(byte[] serialized, int len, int cur, TokenType required)