de.fuberlin.wiwiss.ng4j.triql.parser
Class TriQLParser

java.lang.Object
  extended by de.fuberlin.wiwiss.ng4j.triql.parser.TriQLParser
All Implemented Interfaces:
TriQLParserConstants, TriQLParserTreeConstants

public class TriQLParser
extends Object
implements TriQLParserTreeConstants, TriQLParserConstants


Field Summary
 Token jj_nt
           
protected  de.fuberlin.wiwiss.ng4j.triql.parser.JJTTriQLParserState jjtree
           
 boolean lookingAhead
           
 Token token
           
 TriQLParserTokenManager token_source
           
 
Fields inherited from interface de.fuberlin.wiwiss.ng4j.triql.parser.TriQLParserTreeConstants
JJTADD, JJTBITAND, JJTBITOR, JJTBITXOR, JJTBOOLEANLITERAL, JJTCONSTRAINTCLAUSE, JJTCOUNTEXPRESSION, JJTDIVIDE, JJTEQUAL, JJTGRAPHPATTERN, JJTGRAPHPATTERNCLAUSE, JJTGREATERTHAN, JJTGREATERTHANOREQUAL, JJTIDENTIFIER, JJTLEFTSHIFT, JJTLESSTHAN, JJTLESSTHANOREQUAL, JJTLOGICALAND, JJTLOGICALOR, JJTMODULUS, JJTMULTIPLY, jjtNodeName, JJTNOTEQUAL, JJTNULLLITERAL, JJTNUMERICLITERAL, JJTPATTERNLITERAL, JJTPREFIXDECL, JJTPREFIXESCLAUSE, JJTQNAME, JJTQUERY, JJTQUOTEDURI, JJTRIGHTSIGNEDSHIFT, JJTRIGHTUNSIGNEDSHIFT, JJTSELECTCLAUSE, JJTSOURCECLAUSE, JJTSOURCESELECTOR, JJTSTRINGEQUAL, JJTSTRINGMATCH, JJTSTRINGNOMATCH, JJTSTRINGNOTEQUAL, JJTSUBTRACT, JJTTEXTLITERAL, JJTTRIPLEPATTERN, JJTUNARYMINUS, JJTUNARYNOT, JJTUNARYPLUS, JJTURL, JJTVAR, JJTVOID
 
Fields inherited from interface de.fuberlin.wiwiss.ng4j.triql.parser.TriQLParserConstants
ASSIGN, AT, BANG, BIT_AND, BIT_OR, BIT_XOR, BOOLEAN_LITERAL, COLON, COMMA, COUNT, DATATYPE, DECIMAL_LITERAL, DECR, DEFAULT, DIGITS, DOT, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, FOR, FROM, GE, GT, HEX_LITERAL, HOOK, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INTEGER_LITERAL, LBRACE, LBRACKET, LE, LPAREN, LSHIFT, LT, MINUS, MULTI_LINE_COMMENT, NCName, NEQ, NULL_LITERAL, PATTERN, PLUS, PREFIXES, QNAME, QNAME_LNAME, QNAME_PREFIX, RBRACE, RBRACKET, READ_IDENTIFIER, READ_QNAME, READ_REGEX, READ_URI, REM, RPAREN, RSIGNEDSHIFT, RUNSIGNEDSHIFT, SC_AND, SC_OR, SELECT, SEMICOLON, SINGLE_LINE_COMMENT, SLASH, SOURCE, STAR, STR_EQ, STR_MATCH, STR_NE, STR_NMATCH, STRING_LITERAL1, STRING_LITERAL2, SUCHTHAT, TILDE, tokenImage, URI, WHERE
 
Constructor Summary
TriQLParser(InputStream stream)
           
TriQLParser(Reader stream)
           
TriQLParser(TriQLParserTokenManager tm)
           
 
Method Summary
 void AdditiveExpression()
           
 void AndExpression()
           
 void ArithmeticCondition()
           
 void BooleanLiteral()
           
 void CommaOpt()
           
 void CompilationUnit()
           
 void ConditionalAndExpression()
           
 void ConditionalOrExpression()
           
 void ConditionalXorExpression()
           
 void ConstraintClause()
           
 void CountExpression()
           
 void CountOrExpression()
           
 void disable_tracing()
           
 void enable_tracing()
           
 void EqualityExpression()
           
 void ExclusiveOrExpression()
           
 void Expression()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void GraphPattern()
           
 void GraphPatternClause()
           
 void Identifier()
           
 void InclusiveOrExpression()
           
 void Literal()
           
 void MultiplicativeExpression()
           
 void NullLiteral()
           
 void NumericalLogical()
           
 void NumericExpression()
           
 void NumericLiteral()
           
 void PatternLiteral()
           
 void PrefixDecl()
           
 void PrefixesClause()
           
 void PrimaryExpression()
           
 void QName()
           
 void Query()
           
 void QuotedURI()
           
 void ReInit(InputStream stream)
           
 void ReInit(Reader stream)
           
 void ReInit(TriQLParserTokenManager tm)
           
 void RelationalExpression()
           
 void SelectClause()
           
 void ShiftExpression()
           
 void SourceClause()
           
 void SourceSelector()
           
 void StringEqualityExpression()
           
 void TextLiteral()
           
 SimpleNode top()
           
 void TriplePattern()
           
 void UnaryExpression()
           
 void UnaryExpressionNotPlusMinus()
           
 void URI()
           
 void URL()
           
 void ValueLogical()
           
 void Var()
           
 void VarOrLiteral()
           
 void VarOrURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected de.fuberlin.wiwiss.ng4j.triql.parser.JJTTriQLParserState jjtree

token_source

public TriQLParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

TriQLParser

public TriQLParser(InputStream stream)

TriQLParser

public TriQLParser(Reader stream)

TriQLParser

public TriQLParser(TriQLParserTokenManager tm)
Method Detail

top

public SimpleNode top()

CompilationUnit

public final void CompilationUnit()
                           throws ParseException
Throws:
ParseException

CommaOpt

public final void CommaOpt()
                    throws ParseException
Throws:
ParseException

Query

public final void Query()
                 throws ParseException
Throws:
ParseException

SelectClause

public final void SelectClause()
                        throws ParseException
Throws:
ParseException

SourceClause

public final void SourceClause()
                        throws ParseException
Throws:
ParseException

SourceSelector

public final void SourceSelector()
                          throws ParseException
Throws:
ParseException

GraphPatternClause

public final void GraphPatternClause()
                              throws ParseException
Throws:
ParseException

ConstraintClause

public final void ConstraintClause()
                            throws ParseException
Throws:
ParseException

GraphPattern

public final void GraphPattern()
                        throws ParseException
Throws:
ParseException

TriplePattern

public final void TriplePattern()
                         throws ParseException
Throws:
ParseException

VarOrURI

public final void VarOrURI()
                    throws ParseException
Throws:
ParseException

VarOrLiteral

public final void VarOrLiteral()
                        throws ParseException
Throws:
ParseException

Var

public final void Var()
               throws ParseException
Throws:
ParseException

PrefixesClause

public final void PrefixesClause()
                          throws ParseException
Throws:
ParseException

PrefixDecl

public final void PrefixDecl()
                      throws ParseException
Throws:
ParseException

CountOrExpression

public final void CountOrExpression()
                             throws ParseException
Throws:
ParseException

CountExpression

public final void CountExpression()
                           throws ParseException
Throws:
ParseException

Expression

public final void Expression()
                      throws ParseException
Throws:
ParseException

ConditionalOrExpression

public final void ConditionalOrExpression()
                                   throws ParseException
Throws:
ParseException

ConditionalXorExpression

public final void ConditionalXorExpression()
                                    throws ParseException
Throws:
ParseException

ConditionalAndExpression

public final void ConditionalAndExpression()
                                    throws ParseException
Throws:
ParseException

ValueLogical

public final void ValueLogical()
                        throws ParseException
Throws:
ParseException

StringEqualityExpression

public final void StringEqualityExpression()
                                    throws ParseException
Throws:
ParseException

NumericalLogical

public final void NumericalLogical()
                            throws ParseException
Throws:
ParseException

InclusiveOrExpression

public final void InclusiveOrExpression()
                                 throws ParseException
Throws:
ParseException

ExclusiveOrExpression

public final void ExclusiveOrExpression()
                                 throws ParseException
Throws:
ParseException

AndExpression

public final void AndExpression()
                         throws ParseException
Throws:
ParseException

ArithmeticCondition

public final void ArithmeticCondition()
                               throws ParseException
Throws:
ParseException

EqualityExpression

public final void EqualityExpression()
                              throws ParseException
Throws:
ParseException

RelationalExpression

public final void RelationalExpression()
                                throws ParseException
Throws:
ParseException

NumericExpression

public final void NumericExpression()
                             throws ParseException
Throws:
ParseException

ShiftExpression

public final void ShiftExpression()
                           throws ParseException
Throws:
ParseException

AdditiveExpression

public final void AdditiveExpression()
                              throws ParseException
Throws:
ParseException

MultiplicativeExpression

public final void MultiplicativeExpression()
                                    throws ParseException
Throws:
ParseException

UnaryExpression

public final void UnaryExpression()
                           throws ParseException
Throws:
ParseException

UnaryExpressionNotPlusMinus

public final void UnaryExpressionNotPlusMinus()
                                       throws ParseException
Throws:
ParseException

PrimaryExpression

public final void PrimaryExpression()
                             throws ParseException
Throws:
ParseException

Literal

public final void Literal()
                   throws ParseException
Throws:
ParseException

NumericLiteral

public final void NumericLiteral()
                          throws ParseException
Throws:
ParseException

TextLiteral

public final void TextLiteral()
                       throws ParseException
Throws:
ParseException

PatternLiteral

public final void PatternLiteral()
                          throws ParseException
Throws:
ParseException

BooleanLiteral

public final void BooleanLiteral()
                          throws ParseException
Throws:
ParseException

NullLiteral

public final void NullLiteral()
                       throws ParseException
Throws:
ParseException

URL

public final void URL()
               throws ParseException
Throws:
ParseException

URI

public final void URI()
               throws ParseException
Throws:
ParseException

QName

public final void QName()
                 throws ParseException
Throws:
ParseException

QuotedURI

public final void QuotedURI()
                     throws ParseException
Throws:
ParseException

Identifier

public final void Identifier()
                      throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(TriQLParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public final ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()