|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.queryParser.QueryParserTokenManager
public class QueryParserTokenManager
Token Manager.
Field Summary | |
---|---|
protected char |
curChar
|
PrintStream |
debugStream
Debug output. |
protected CharStream |
input_stream
|
static int[] |
jjnewLexState
Lex State array. |
static String[] |
jjstrLiteralImages
Token literal values. |
static String[] |
lexStateNames
Lexer state names. |
Fields inherited from interface org.apache.lucene.queryParser.QueryParserConstants |
---|
_ESCAPED_CHAR, _NUM_CHAR, _QUOTED_CHAR, _TERM_CHAR, _TERM_START_CHAR, _WHITESPACE, AND, Boost, CARAT, COLON, DEFAULT, EOF, FUZZY_SLOP, LPAREN, MINUS, NOT, NUMBER, OR, PLUS, PREFIXTERM, QUOTED, RangeEx, RANGEEX_END, RANGEEX_GOOP, RANGEEX_QUOTED, RANGEEX_START, RANGEEX_TO, RangeIn, RANGEIN_END, RANGEIN_GOOP, RANGEIN_QUOTED, RANGEIN_START, RANGEIN_TO, RPAREN, STAR, TERM, tokenImage, WILDTERM |
Constructor Summary | |
---|---|
QueryParserTokenManager(CharStream stream)
Constructor. |
|
QueryParserTokenManager(CharStream stream,
int lexState)
Constructor. |
Method Summary | |
---|---|
Token |
getNextToken()
Get the next Token. |
protected Token |
jjFillToken()
|
void |
ReInit(CharStream stream)
Reinitialise parser. |
void |
ReInit(CharStream stream,
int lexState)
Reinitialise parser. |
void |
setDebugStream(PrintStream ds)
Set debug output. |
void |
SwitchTo(int lexState)
Switch to specified lex state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
protected CharStream input_stream
protected char curChar
Constructor Detail |
---|
public QueryParserTokenManager(CharStream stream)
public QueryParserTokenManager(CharStream stream, int lexState)
Method Detail |
---|
public void setDebugStream(PrintStream ds)
public void ReInit(CharStream stream)
public void ReInit(CharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |