Uses of Class
org.apache.lucene.queryparser.surround.parser.Token
Packages that use Token
Package
Description
This package contains the QueryParser.jj source file for the Surround parser.
-
Uses of Token in org.apache.lucene.queryparser.surround.parser
Fields in org.apache.lucene.queryparser.surround.parser declared as TokenModifier and TypeFieldDescriptionParseException.currentTokenThis is the last token that has been consumed successfully.(package private) TokenQueryParser.JJCalls.firstprivate TokenQueryParser.jj_lastposQueryParser.jj_ntNext token.private TokenQueryParser.jj_scanposToken.nextA reference to the next regular (non-special) token from the input stream.Token.specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.QueryParser.tokenCurrent token.Methods in org.apache.lucene.queryparser.surround.parser that return TokenModifier and TypeMethodDescriptionfinal TokenQueryParser.getNextToken()Get the next Token.QueryParserTokenManager.getNextToken()Get the next Token.final TokenQueryParser.getToken(int index) Get the specific Token.private TokenQueryParser.jj_consume_token(int kind) protected TokenQueryParserTokenManager.jjFillToken()static TokenToken.newToken(int ofKind) static TokenReturns a new Token object, by default.Methods in org.apache.lucene.queryparser.surround.parser with parameters of type TokenModifier and TypeMethodDescriptionprotected SrndQueryQueryParser.getAndQuery(List<SrndQuery> queries, boolean infix, Token andToken) protected SrndQueryQueryParser.getDistanceQuery(List<SrndQuery> queries, boolean infix, Token dToken, boolean ordered) protected SrndQueryQueryParser.getNotQuery(List<SrndQuery> queries, Token notToken) protected SrndQueryQueryParser.getOrQuery(List<SrndQuery> queries, boolean infix, Token orToken) private static StringParseException.initialise(Token currentToken, int[][] expectedTokenSequences, String[] tokenImage) It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.(package private) voidQueryParserTokenManager.SkipLexicalActions(Token matchedToken) (package private) voidQueryParserTokenManager.TokenLexicalActions(Token matchedToken) Constructors in org.apache.lucene.queryparser.surround.parser with parameters of type TokenModifierConstructorDescriptionParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal) This constructor is used by the method "generateParseException" in the generated parser.