com.hp.hpl.jena.sparql.lang.rdql
Class RDQLParser

java.lang.Object
  extended by com.hp.hpl.jena.sparql.lang.rdql.RDQLParser
All Implemented Interfaces:
RDQLParserConstants, RDQLParserTreeConstants

public class RDQLParser
extends Object
implements RDQLParserTreeConstants, RDQLParserConstants


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 RDQLParserTokenManager token_source
           
 
Fields inherited from interface com.hp.hpl.jena.sparql.lang.rdql.RDQLParserTreeConstants
JJTADD, JJTARGLIST, JJTBITAND, JJTBITOR, JJTBITXOR, JJTBOOLEANLITERAL, JJTCONSTRAINTCLAUSE, JJTDIVIDE, JJTEQUAL, JJTFUNCTIONCALL, 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, JJTSTRINGLANGEQUAL, JJTSTRINGMATCH, JJTSTRINGNOMATCH, JJTSTRINGNOTEQUAL, JJTSUBTRACT, JJTTEXTLITERAL, JJTTEXTLITERAL2, JJTTRIPLEPATTERN, JJTTRIPLEPATTERNCLAUSE, JJTUNARYMINUS, JJTUNARYNOT, JJTUNARYPLUS, JJTURL, JJTVAR, JJTVOID
 
Fields inherited from interface com.hp.hpl.jena.sparql.lang.rdql.RDQLParserConstants
ASSIGN, AT, BANG, BIT_AND, BIT_OR, BIT_XOR, BOOLEAN_LITERAL, COLON, COMMA, 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_LANGEQ, STR_MATCH, STR_NE, STR_NMATCH, STRING_LITERAL1, STRING_LITERAL2, SUCHTHAT, TILDE, tokenImage, URI, VAR, WHERE
 
Constructor Summary
RDQLParser(InputStream stream)
           
RDQLParser(InputStream stream, String encoding)
           
RDQLParser(RDQLParserTokenManager tm)
           
RDQLParser(Reader stream)
           
 
Method Summary
 void AdditiveExpression()
           
 void AndExpression()
           
 void ArgList()
           
 void ArithmeticCondition()
           
 void BooleanLiteral()
           
 void CommaOpt()
           
 void CompilationUnit()
           
 void ConditionalAndExpression()
           
 void ConditionalOrExpression()
           
 void ConditionalXorExpression()
           
 void ConstraintClause()
           
 void disable_tracing()
           
 void enable_tracing()
           
 void EqualityExpression()
           
 void ExclusiveOrExpression()
           
 void Expression()
           
 void FunctionCall()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 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(InputStream stream, String encoding)
           
 void ReInit(RDQLParserTokenManager tm)
           
 void ReInit(Reader stream)
           
 void RelationalExpression()
           
 void SelectClause()
           
 void ShiftExpression()
           
 void SourceClause()
           
 void SourceSelector()
           
 void StringEqualityExpression()
           
 void TextLiteral()
           
 void TextLiteral2()
           
 SimpleNode top()
           
 void TriplePattern()
           
 void TriplePatternClause()
           
 void UnaryExpression()
           
 void UnaryExpressionNotPlusMinus()
           
 void URI()
           
 void URL()
           
 void ValueLogical()
           
 void Var()
           
 void VarOrLiteral()
           
 void VarOrURI()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public RDQLParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

RDQLParser

public RDQLParser(InputStream stream)

RDQLParser

public RDQLParser(InputStream stream,
                  String encoding)

RDQLParser

public RDQLParser(Reader stream)

RDQLParser

public RDQLParser(RDQLParserTokenManager 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

TriplePatternClause

public final void TriplePatternClause()
                               throws ParseException
Throws:
ParseException

ConstraintClause

public final void ConstraintClause()
                            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

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

FunctionCall

public final void FunctionCall()
                        throws ParseException
Throws:
ParseException

ArgList

public final void ArgList()
                   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

TextLiteral2

public final void TextLiteral2()
                        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(InputStream stream,
                   String encoding)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(RDQLParserTokenManager 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()


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.