de.fuberlin.wiwiss.wiqa.parser.javacc
Class WIQAParser
java.lang.Object
com.hp.hpl.jena.query.lang.ParserBase
de.fuberlin.wiwiss.wiqa.parser.WIQAParserBase
de.fuberlin.wiwiss.wiqa.parser.javacc.WIQAParser
- All Implemented Interfaces:
- WIQAParserConstants
- public class WIQAParser
- extends WIQAParserBase
- implements WIQAParserConstants
| Fields inherited from interface de.fuberlin.wiwiss.wiqa.parser.javacc.WIQAParserConstants |
A2Z, A2ZN, AND, ANON, ANY, ASC, ASK, AT, BANG, BASE, BLANK_NODE_LABEL, BOUND, BY, COLON, COMMA, CONSTRUCT, DATATYPE, DEFAULT, DESC, DESCRIBE, DESCRIPTION, DIGITS, DISTINCT, DOT, DTYPE, ECHAR, EOF, EQ, EXPL, EXPLANATION, EXPONENT, FALSE, FILTER, FLOATING_POINT, FROM, GE, GRAPH, GT, HEX, INTEGER, IS_BLANK, IS_LITERAL, IS_URI, KW_A, LANG, LANGTAG, LBRACE, LBRACKET, LE, LIMIT, LPAREN, LT, MINUS, NAME, NAMED, NCCHAR, NCCHAR1, NCCHAR1p, NCNAME, NCNAME_PREFIX, NE, NIL, OFFSET, OPTIONAL, ORDER, PATTERN, PLUS, PREFIX, Q_IRIref, Q_IRIref_COUNT, Q_IRIref_EXTENSION, QNAME, QNAME_COUNT, QNAME_EXTENSION, QNAME_NS, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, REGEX, RPAREN, SC_AND, SC_OR, SELECT, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, STAR, STR, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, TILDE, tokenImage, TRUE, UNION, VAR1, VAR2, VARNAME, WHERE, WS |
| Methods inherited from class com.hp.hpl.jena.query.lang.ParserBase |
asExpr, compressGroupOfOneGroup, createBNode, createBNode, createVariable, doubleValue, exMsg, fixupPrefix, getQuery, insert, insert, integerValue, makeNode, makeNode, makeNodeDouble, makeNodeInteger, makeNodeInteger, setInConstructTemplate, setQuery, stripChars, stripQuotes, unescapeCodePoint, unescapeCodePoint, unescapeStr, unescapeStr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public WIQAParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
WIQAParser
public WIQAParser(InputStream stream)
WIQAParser
public WIQAParser(Reader stream)
WIQAParser
public WIQAParser(WIQAParserTokenManager tm)
CompilationUnit
public final List CompilationUnit()
throws ParseException
- Throws:
ParseException
Policy
public final Policy Policy()
throws ParseException
- Throws:
ParseException
PrefixDecl
public final void PrefixDecl(PrefixMapping prefixes)
throws ParseException
- Throws:
ParseException
PolicyName
public final void PolicyName(Policy policy)
throws ParseException
- Throws:
ParseException
PolicyDescription
public final void PolicyDescription(Policy policy)
throws ParseException
- Throws:
ParseException
NamedGraphPattern
public final void NamedGraphPattern(Policy policy)
throws ParseException
- Throws:
ParseException
TriplesAndFilters
public final void TriplesAndFilters(Policy policy,
ElementNamedGraph namedGraph,
ElementGroup elg)
throws ParseException
- Throws:
ParseException
CountConstraint
public final CountConstraint CountConstraint(ElementNamedGraph namedGraph)
throws ParseException
- Throws:
ParseException
Extension
public final ElementExtension Extension()
throws ParseException
- Throws:
ParseException
CountIRIref
public final Node CountIRIref()
throws ParseException
- Throws:
ParseException
ExtensionIRIref
public final Node ExtensionIRIref()
throws ParseException
- Throws:
ParseException
IRIrefNotExtensionOrCount
public final Node IRIrefNotExtensionOrCount()
throws ParseException
- Throws:
ParseException
FunctionCall
public final Expr FunctionCall()
throws ParseException
- Throws:
ParseException
IRIrefOrFunction
public final Expr IRIrefOrFunction()
throws ParseException
- Throws:
ParseException
ExplanationTemplate
public final ExplanationTemplate ExplanationTemplate()
throws ParseException
- Throws:
ParseException
Constraint
public final Constraint Constraint()
throws ParseException
- Throws:
ParseException
ConstructTemplate
public final Template ConstructTemplate()
throws ParseException
- Throws:
ParseException
ConstructTriples
public final void ConstructTriples(TemplateGroup acc)
throws ParseException
- Throws:
ParseException
Triples
public final void Triples(TripleCollector acc)
throws ParseException
- Throws:
ParseException
Triples1
public final void Triples1(TripleCollector acc)
throws ParseException
- Throws:
ParseException
PropertyList
public final void PropertyList(Node s,
TripleCollector acc)
throws ParseException
- Throws:
ParseException
PropertyListNotEmpty
public final void PropertyListNotEmpty(Node s,
TripleCollector acc)
throws ParseException
- Throws:
ParseException
ObjectList
public final void ObjectList(Node s,
Node p,
TripleCollector acc)
throws ParseException
- Throws:
ParseException
Verb
public final Node Verb()
throws ParseException
- Throws:
ParseException
TriplesNode
public final Node TriplesNode(TripleCollector acc)
throws ParseException
- Throws:
ParseException
BlankNodePropertyList
public final Node BlankNodePropertyList(TripleCollector acc)
throws ParseException
- Throws:
ParseException
Collection
public final Node Collection(TripleCollector acc)
throws ParseException
- Throws:
ParseException
GraphNode
public final Node GraphNode(TripleCollector acc)
throws ParseException
- Throws:
ParseException
VarOrTerm
public final Node VarOrTerm()
throws ParseException
- Throws:
ParseException
VarOrIRIref
public final Node VarOrIRIref()
throws ParseException
- Throws:
ParseException
VarOrBlankNodeOrIRIref
public final Node VarOrBlankNodeOrIRIref()
throws ParseException
- Throws:
ParseException
Var
public final Node Var()
throws ParseException
- Throws:
ParseException
GraphTerm
public final Node GraphTerm()
throws ParseException
- Throws:
ParseException
Expression
public final Expr Expression()
throws ParseException
- Throws:
ParseException
ConditionalOrExpression
public final Expr ConditionalOrExpression()
throws ParseException
- Throws:
ParseException
ConditionalAndExpression
public final Expr ConditionalAndExpression()
throws ParseException
- Throws:
ParseException
ValueLogical
public final Expr ValueLogical()
throws ParseException
- Throws:
ParseException
RelationalExpression
public final Expr RelationalExpression()
throws ParseException
- Throws:
ParseException
NumericExpression
public final Expr NumericExpression()
throws ParseException
- Throws:
ParseException
AdditiveExpression
public final Expr AdditiveExpression()
throws ParseException
- Throws:
ParseException
MultiplicativeExpression
public final Expr MultiplicativeExpression()
throws ParseException
- Throws:
ParseException
UnaryExpression
public final Expr UnaryExpression()
throws ParseException
- Throws:
ParseException
BuiltInCall
public final Expr BuiltInCall()
throws ParseException
- Throws:
ParseException
RegexExpression
public final Expr RegexExpression()
throws ParseException
- Throws:
ParseException
ArgList
public final List ArgList()
throws ParseException
- Throws:
ParseException
BrackettedExpression
public final Expr BrackettedExpression()
throws ParseException
- Throws:
ParseException
PrimaryExpression
public final Expr PrimaryExpression()
throws ParseException
- Throws:
ParseException
NumericLiteral
public final Node NumericLiteral()
throws ParseException
- Throws:
ParseException
RDFLiteral
public final Node RDFLiteral()
throws ParseException
- Throws:
ParseException
BooleanLiteral
public final Node BooleanLiteral()
throws ParseException
- Throws:
ParseException
String
public final String String()
throws ParseException
- Throws:
ParseException
IRIref
public final Node IRIref()
throws ParseException
- Throws:
ParseException
QName
public final Node QName()
throws ParseException
- Throws:
ParseException
BlankNode
public final Node BlankNode()
throws ParseException
- Throws:
ParseException
Q_IRI_REF
public final Node Q_IRI_REF()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(WIQAParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()