public class SPARQLParser10 extends SPARQLParserBase implements SPARQLParser10Constants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
SPARQLParser10TokenManager |
token_source
Generated Token Manager.
|
A2Z, A2ZN, AND, ANON, ASC, ASK, AT, BANG, BASE, BLANK_NODE_LABEL, BOUND, BY, COLON, COMMA, CONSTRUCT, DATATYPE, DECIMAL, DECIMAL_NEGATIVE, DECIMAL_POSITIVE, DEFAULT, DESC, DESCRIBE, DIGITS, DISTINCT, DOT, DOUBLE, DOUBLE_NEGATIVE, DOUBLE_POSITIVE, DTYPE, ECHAR, EOF, EQ, EXPONENT, FALSE, FILTER, FROM, GE, GRAPH, GT, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, IRIref, IS_BLANK, IS_IRI, IS_LITERAL, IS_URI, KW_A, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LE, LIMIT, LPAREN, LT, MINUS, NAMED, NE, NIL, OFFSET, OPTIONAL, ORDER, PLUS, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, REDUCED, REGEX, RPAREN, SAME_TERM, SC_AND, SC_OR, SELECT, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, STAR, STR, STRDT, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, STRLANG, TILDE, tokenImage, TRUE, UNION, UNKNOWN, VAR1, VAR2, VARNAME, WHERE, WS
Constructor and Description |
---|
SPARQLParser10(InputStream stream)
Constructor with InputStream.
|
SPARQLParser10(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
SPARQLParser10(Reader stream)
Constructor.
|
SPARQLParser10(SPARQLParser10TokenManager tm)
Constructor with generated Token Manager.
|
getQuery, setQuery, setUpdateSink
getPrologue, hex, setPrologue, stripChars, throwParseException, throwParseException, unescape, unescapePName, unescapeStr, unescapeStr
public SPARQLParser10TokenManager token_source
public Token token
public Token jj_nt
public SPARQLParser10(InputStream stream)
public SPARQLParser10(InputStream stream, String encoding)
public SPARQLParser10(Reader stream)
public SPARQLParser10(SPARQLParser10TokenManager tm)
public final void QueryUnit() throws ParseException
ParseException
public final void Query() throws ParseException
ParseException
public final void Prologue() throws ParseException
ParseException
public final void BaseDecl() throws ParseException
ParseException
public final void PrefixDecl() throws ParseException
ParseException
public final void SelectQuery() throws ParseException
ParseException
public final void SubSelect() throws ParseException
ParseException
public final void Project() throws ParseException
ParseException
public final void ConstructQuery() throws ParseException
ParseException
public final void DescribeQuery() throws ParseException
ParseException
public final void AskQuery() throws ParseException
ParseException
public final void DatasetClause() throws ParseException
ParseException
public final void DefaultGraphClause() throws ParseException
ParseException
public final void NamedGraphClause() throws ParseException
ParseException
public final String SourceSelector() throws ParseException
ParseException
public final void WhereClause() throws ParseException
ParseException
public final void SolutionModifier() throws ParseException
ParseException
public final void OrderClause() throws ParseException
ParseException
public final void OrderCondition() throws ParseException
ParseException
public final void LimitOffsetClauses() throws ParseException
ParseException
public final void LimitClause() throws ParseException
ParseException
public final void OffsetClause() throws ParseException
ParseException
public final Element GroupGraphPattern() throws ParseException
ParseException
public final Element GroupGraphPatternSub() throws ParseException
ParseException
public final Element TriplesBlock(ElementTriplesBlock acc) throws ParseException
ParseException
public final Element GraphPatternNotTriples() throws ParseException
ParseException
public final Element OptionalGraphPattern() throws ParseException
ParseException
public final Element GraphGraphPattern() throws ParseException
ParseException
public final Element GroupOrUnionGraphPattern() throws ParseException
ParseException
public final Element Filter() throws ParseException
ParseException
public final Expr Constraint() throws ParseException
ParseException
public final Expr FunctionCall() throws ParseException
ParseException
public final ExprList ArgList() throws ParseException
ParseException
public final ExprList ParamList() throws ParseException
ParseException
public final Template ConstructTemplate() throws ParseException
ParseException
public final void ConstructTriples(TripleCollectorMark acc) throws ParseException
ParseException
public final void TriplesSameSubject(TripleCollectorMark acc) throws ParseException
ParseException
public final void PropertyListNotEmpty(Node s, TripleCollectorMark acc) throws ParseException
ParseException
public final void PropertyList(Node s, TripleCollectorMark acc) throws ParseException
ParseException
public final void ObjectList(Node s, Node p, Path path, TripleCollectorMark acc) throws ParseException
ParseException
public final void Object(Node s, Node p, Path path, TripleCollectorMark acc) throws ParseException
ParseException
public final Node Verb() throws ParseException
ParseException
public final Node TriplesNode(TripleCollectorMark acc) throws ParseException
ParseException
public final Node BlankNodePropertyList(TripleCollectorMark acc) throws ParseException
ParseException
public final Node Collection(TripleCollectorMark acc) throws ParseException
ParseException
public final Node GraphNode(TripleCollectorMark acc) throws ParseException
ParseException
public final Node VarOrTerm() throws ParseException
ParseException
public final Node VarOrIRIref() throws ParseException
ParseException
public final Var Var() throws ParseException
ParseException
public final Node GraphTerm() throws ParseException
ParseException
public final Expr Expression() throws ParseException
ParseException
public final Expr ConditionalOrExpression() throws ParseException
ParseException
public final Expr ConditionalAndExpression() throws ParseException
ParseException
public final Expr ValueLogical() throws ParseException
ParseException
public final Expr RelationalExpression() throws ParseException
ParseException
public final Expr NumericExpression() throws ParseException
ParseException
public final Expr AdditiveExpression() throws ParseException
ParseException
public final Expr MultiplicativeExpression() throws ParseException
ParseException
public final Expr UnaryExpression() throws ParseException
ParseException
public final Expr PrimaryExpression() throws ParseException
ParseException
public final Expr BrackettedExpression() throws ParseException
ParseException
public final Expr BuiltInCall() throws ParseException
ParseException
public final Expr RegexExpression() throws ParseException
ParseException
public final Expr IRIrefOrFunction() throws ParseException
ParseException
public final Node RDFLiteral() throws ParseException
ParseException
public final Node NumericLiteral() throws ParseException
ParseException
public final Node NumericLiteralUnsigned() throws ParseException
ParseException
public final Node NumericLiteralPositive() throws ParseException
ParseException
public final Node NumericLiteralNegative() throws ParseException
ParseException
public final Node BooleanLiteral() throws ParseException
ParseException
public final String String() throws ParseException
ParseException
public final String IRIref() throws ParseException
ParseException
public final String PrefixedName() throws ParseException
ParseException
public final Node BlankNode() throws ParseException
ParseException
public final String IRI_REF() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(SPARQLParser10TokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Licenced under the Apache License, Version 2.0