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.currentToken
This is the last token that has been consumed successfully.(package private) Token
SyntaxTreeBuilder.JJCalls.first
private Token
SyntaxTreeBuilder.jj_lastpos
SyntaxTreeBuilder.jj_nt
Next token.private Token
SyntaxTreeBuilder.jj_scanpos
Token.next
A reference to the next regular (non-special) token from the input stream.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.SyntaxTreeBuilder.token
Current token.Methods in org.eclipse.rdf4j.query.parser.sparql.ast that return TokenModifier and TypeMethodDescriptionfinal Token
SyntaxTreeBuilder.getNextToken()
Get the next Token.SyntaxTreeBuilderTokenManager.getNextToken()
Get the next Token.final Token
SyntaxTreeBuilder.getToken
(int index) Get the specific Token.final Token
SyntaxTreeBuilder.GroupGraphPattern()
private Token
SyntaxTreeBuilder.jj_consume_token
(int kind) protected Token
SyntaxTreeBuilderTokenManager.jjFillToken()
static Token
Token.newToken
(int ofKind) static Token
Returns a new Token object, by default.Methods in org.eclipse.rdf4j.query.parser.sparql.ast with parameters of type TokenModifier and TypeMethodDescriptionprivate static String
ParseException.initialise
(Token currentToken, int[][] expectedTokenSequences, String[] tokenImage) It uses "currentToken" and "expectedTokenSequences" to generate a parse error message and returns it.(package private) void
SyntaxTreeBuilderTokenManager.SkipLexicalActions
(Token matchedToken) (package private) void
SyntaxTreeBuilderTokenManager.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.