com.lucene.queryParser
Class QueryParserTokenManager

java.lang.Object
  |
  +--com.lucene.queryParser.QueryParserTokenManager
All Implemented Interfaces:
QueryParserConstants

public class QueryParserTokenManager
extends Object
implements QueryParserConstants


Field Summary
protected  char curChar
           
static String[] jjstrLiteralImages
           
static String[] lexStateNames
           
 
Fields inherited from interface com.lucene.queryParser.QueryParserConstants
_ALPHA_CHAR, _ALPHANUM_CHAR, _IDENTIFIER, _IDENTIFIER_CHAR, _NEWLINE, _NUM_CHAR, _QCHAR, _RESTOFLINE, _WHITESPACE, AND, CARAT, COLON, DEFAULT, EOF, LPAREN, MINUS, NOT, NUMBER, OR, PLUS, QUOTED, RPAREN, STAR, TERM, tokenImage
 
Constructor Summary
QueryParserTokenManager(ASCII_CharStream stream)
           
QueryParserTokenManager(ASCII_CharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
 void ReInit(ASCII_CharStream stream)
           
 void ReInit(ASCII_CharStream stream, int lexState)
           
 void SwitchTo(int lexState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjstrLiteralImages

public static final String[] jjstrLiteralImages

lexStateNames

public static final String[] lexStateNames

curChar

protected char curChar
Constructor Detail

QueryParserTokenManager

public QueryParserTokenManager(ASCII_CharStream stream)

QueryParserTokenManager

public QueryParserTokenManager(ASCII_CharStream stream,
                               int lexState)
Method Detail

ReInit

public void ReInit(ASCII_CharStream stream)

ReInit

public void ReInit(ASCII_CharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

getNextToken

public final Token getNextToken()