public class DefaultToken extends Object implements LexicalAnalyzer.Token
COMA, EOF, FALSE, FLOATING_POINT_LITERAL, IDENTIFIER, INTEGER_LITERAL, ISNULL, NOTNULL, NULL, OP_ADD, OP_AND, OP_DIV, OP_EQ, OP_GE, OP_GT, OP_LE, OP_LT, OP_MOD, OP_MULT, OP_NE, OP_NOT, OP_OR, OP_REGEXP, OP_SUBST, PARENTHESIS_CLOSE, PARENTHESIS_OPEN, PRED_BETWEEN, PRED_ILIKE, PRED_IS, PRED_LIKE, STRING_LITERAL, TRUE
Constructor and Description |
---|
DefaultToken() |
Modifier and Type | Method and Description |
---|---|
String |
getLiteral() |
int |
getType() |
Object |
getValue() |
void |
set(int type,
String literal) |
void |
set(int type,
String literal,
Object value) |
public void set(int type, String literal)
set
in interface LexicalAnalyzer.Token
public void set(int type, String literal, Object value)
set
in interface LexicalAnalyzer.Token
public int getType()
getType
in interface LexicalAnalyzer.Token
public Object getValue()
getValue
in interface LexicalAnalyzer.Token
public String getLiteral()
getLiteral
in interface LexicalAnalyzer.Token