## Uses of Class
org.apache.lucene.queryparser.surround.parser.Token

- Packages that use Token
  Package | Description
  --- | ---
  org.apache.lucene.queryparser.surround.parser | 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 Token
    Modifier and Type | Field and Description
    --- | ---
    `Token` | ParseException.`currentToken` This is the last token that has been consumed successfully.
    `Token` | QueryParser.`jj_nt` Next token.
    `Token` | Token.`next` A reference to the next regular (non-special) token from the input stream.
    `Token` | Token.`specialToken` This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
    `Token` | QueryParser.`token` Current token.

    Methods in org.apache.lucene.queryparser.surround.parser that return Token
    Modifier and Type | Method and Description
    --- | ---
    `Token` | QueryParserTokenManager.`getNextToken()` Get the next Token.
    `Token` | QueryParser.`getNextToken()` Get the next Token.
    `Token` | QueryParser.`getToken(int index)` Get the specific Token.
    `protected Token` | QueryParserTokenManager.`jjFillToken()`
    `static Token` | Token.`newToken(int ofKind)`
    `static Token` | Token.`newToken(int ofKind, String image)` Returns a new Token object, by default.

    Methods in org.apache.lucene.queryparser.surround.parser with parameters of type Token
    Modifier and Type | Method and Description
    --- | ---
    `protected SrndQuery` | QueryParser.`getAndQuery(List<SrndQuery> queries, boolean infix, Token andToken)`
    `protected SrndQuery` | QueryParser.`getDistanceQuery(List<SrndQuery> queries, boolean infix, Token dToken, boolean ordered)`
    `protected SrndQuery` | QueryParser.`getNotQuery(List<SrndQuery> queries, Token notToken)`
    `protected SrndQuery` | QueryParser.`getOrQuery(List<SrndQuery> queries, boolean infix, Token orToken)`

    Constructors in org.apache.lucene.queryparser.surround.parser with parameters of type Token
    Constructor and Description
    `ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal)` This constructor is used by the method "generateParseException" in the generated parser.

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.