Uses of Class
org.eclipse.rdf4j.query.parser.sparql.ast.Token
Packages that use Token
Package
Description
SPARQL 1.1 Abstract Syntax Tree (AST) parser.
-
Uses of Token in org.eclipse.rdf4j.query.parser.sparql.ast
Fields in org.eclipse.rdf4j.query.parser.sparql.ast declared as TokenModifier and TypeFieldDescriptionParseException.currentTokenThis is the last token that has been consumed successfully.(package private) TokenSyntaxTreeBuilder.JJCalls.firstprivate TokenSyntaxTreeBuilder.jj_lastposSyntaxTreeBuilder.jj_ntNext token.private TokenSyntaxTreeBuilder.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.SyntaxTreeBuilder.tokenCurrent token.Methods in org.eclipse.rdf4j.query.parser.sparql.ast that return TokenModifier and TypeMethodDescriptionfinal TokenSyntaxTreeBuilder.getNextToken()Get the next Token.SyntaxTreeBuilderTokenManager.getNextToken()Get the next Token.final TokenSyntaxTreeBuilder.getToken(int index) Get the specific Token.final TokenSyntaxTreeBuilder.GroupGraphPattern()private TokenSyntaxTreeBuilder.jj_consume_token(int kind) protected TokenSyntaxTreeBuilderTokenManager.jjFillToken()static TokenToken.newToken(int ofKind) static TokenReturns a new Token object, by default.Methods in org.eclipse.rdf4j.query.parser.sparql.ast with parameters of type TokenModifier and TypeMethodDescriptionprivate 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) voidSyntaxTreeBuilderTokenManager.SkipLexicalActions(Token matchedToken) (package private) voidSyntaxTreeBuilderTokenManager.TokenLexicalActions(Token matchedToken) Constructors in org.eclipse.rdf4j.query.parser.sparql.ast with parameters of type TokenModifierConstructorDescriptionParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal) This constructor is used by the method "generateParseException" in the generated parser.