Class StandardSyntaxParserTokenManager
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserTokenManager
-
- All Implemented Interfaces:
StandardSyntaxParserConstants
public class StandardSyntaxParserTokenManager extends java.lang.Object implements StandardSyntaxParserConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description java.io.PrintStream
debugStream
Debug output.static int[]
jjnewLexState
Lex State array.static java.lang.String[]
jjstrLiteralImages
Token literal values.static java.lang.String[]
lexStateNames
Lexer state names.-
Fields inherited from interface org.apache.lucene.queryparser.flexible.standard.parser.StandardSyntaxParserConstants
_ESCAPED_CHAR, _NUM_CHAR, _QUOTED_CHAR, _TERM_CHAR, _TERM_START_CHAR, _WHITESPACE, AND, Boost, CARAT, DEFAULT, EOF, FUZZY_SLOP, LPAREN, MINUS, NOT, NUMBER, OP_COLON, OP_EQUAL, OP_LESSTHAN, OP_LESSTHANEQ, OP_MORETHAN, OP_MORETHANEQ, OR, PLUS, QUOTED, Range, RANGE_GOOP, RANGE_QUOTED, RANGE_TO, RANGEEX_END, RANGEEX_START, RANGEIN_END, RANGEIN_START, REGEXPTERM, RPAREN, TERM, tokenImage
-
-
Constructor Summary
Constructors Constructor Description StandardSyntaxParserTokenManager(CharStream stream)
Constructor.StandardSyntaxParserTokenManager(CharStream stream, int lexState)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
Get the next Token.void
ReInit(CharStream stream)
Reinitialise parser.void
ReInit(CharStream stream, int lexState)
Reinitialise parser.void
setDebugStream(java.io.PrintStream ds)
Set debug output.void
SwitchTo(int lexState)
Switch to specified lex state.
-
-
-
Field Detail
-
debugStream
public java.io.PrintStream debugStream
Debug output.
-
jjstrLiteralImages
public static final java.lang.String[] jjstrLiteralImages
Token literal values.
-
lexStateNames
public static final java.lang.String[] lexStateNames
Lexer state names.
-
jjnewLexState
public static final int[] jjnewLexState
Lex State array.
-
-
Constructor Detail
-
StandardSyntaxParserTokenManager
public StandardSyntaxParserTokenManager(CharStream stream)
Constructor.
-
StandardSyntaxParserTokenManager
public StandardSyntaxParserTokenManager(CharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(java.io.PrintStream ds)
Set debug output.
-
ReInit
public void ReInit(CharStream stream)
Reinitialise parser.
-
ReInit
public void ReInit(CharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
getNextToken
public Token getNextToken()
Get the next Token.
-
-