|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CQLTokenizer
API bridge between the parser and lexer implementation
Field Summary | |
---|---|
static int |
TT_AND
|
static int |
TT_EOF
|
static int |
TT_EQEQ
|
static int |
TT_GE
|
static int |
TT_LE
|
static int |
TT_NE
|
static int |
TT_NOT
|
static int |
TT_NOTHING
|
static int |
TT_OR
|
static int |
TT_PROX
|
static int |
TT_SORTBY
|
static int |
TT_STRING
|
static int |
TT_WORD
|
Method Summary | |
---|---|
void |
move()
Consume next input token |
int |
pos()
|
String |
render()
Render the type and value of the last consumed token |
String |
render(int what,
boolean quote)
Render specified token type |
String |
value()
Return the value of the last consumed token |
int |
what()
Return the type of the last consumed token |
Field Detail |
---|
static final int TT_EOF
static final int TT_WORD
static final int TT_NOTHING
static final int TT_STRING
static final int TT_LE
static final int TT_GE
static final int TT_NE
static final int TT_EQEQ
static final int TT_AND
static final int TT_OR
static final int TT_NOT
static final int TT_PROX
static final int TT_SORTBY
Method Detail |
---|
void move()
String value()
int what()
String render()
String render(int what, boolean quote)
what
- token typequote
- true, if single characters should be quoted for readability
int pos()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |