Uses of Class
org.terrier.querying.parser.Token
-
Packages that use Token Package Description org.terrier.querying.parser Provides the parser specification and the classes that implement the query language of the Terrier platform. -
-
Uses of Token in org.terrier.querying.parser
Fields in org.terrier.querying.parser declared as Token Modifier and Type Field Description Token
ParseException. currentToken
This is the last token that has been consumed successfully.Token
TerrierQLParser. 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
TerrierQLParser. token
Current token.Methods in org.terrier.querying.parser that return Token Modifier and Type Method Description Token
TerrierQLParser. getNextToken()
Get the next Token.Token
TerrierQLParserTokenManager. getNextToken()
Get the next Token.Token
TerrierQLParser. getToken(int index)
Get the specific Token.protected Token
TerrierQLParserTokenManager. jjFillToken()
static Token
Token. newToken(int ofKind)
static Token
Token. newToken(int ofKind, java.lang.String image)
Returns a new Token object, by default.Constructors in org.terrier.querying.parser with parameters of type Token Constructor Description ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser.
-