com.hp.hpl.jena.rdf.query.parser
Class RDQLParser

java.lang.Object
  |
  +--com.hp.hpl.jena.rdf.query.parser.RDQLParser
All Implemented Interfaces:
RDQLParserConstants, RDQLParserTreeConstants

public class RDQLParser
extends java.lang.Object
implements RDQLParserTreeConstants, RDQLParserConstants


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 RDQLParserTokenManager token_source
           
 
Fields inherited from interface com.hp.hpl.jena.rdf.query.parser.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, JJTQUERY, JJTRIGHTSIGNEDSHIFT, JJTRIGHTUNSIGNEDSHIFT, JJTSELECTCLAUSE, JJTSOURCECLAUSE, JJTSOURCESELECTOR, JJTSTRINGEQUAL, JJTSTRINGMATCH, JJTSTRINGNOMATCH, JJTSTRINGNOTEQUAL, JJTSUBTRACT, JJTTEXTLITERAL, JJTTRIPLEPATTERN, JJTTRIPLEPATTERNCLAUSE, JJTUNARYMINUS, JJTUNARYNOT, JJTUNARYPLUS, JJTURI, JJTURL, JJTVAR, JJTVOID
 
Fields inherited from interface com.hp.hpl.jena.rdf.query.parser.RDQLParserConstants
ASSIGN, BANG, BIT_AND, BIT_OR, BIT_XOR, BOOLEAN_LITERAL, COLON, COMMA, DECIMAL_LITERAL, DECR, DEFAULT, DIGIT, DIGITS, DOT, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, FOR, FROM, GE, GT, HEX_LITERAL, HOOK, IDENTIFIER, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INTEGER_LITERAL, LBRACE, LBRACKET, LE, LETTER, LPAREN, LSHIFT, LT, MINUS, MULTI_LINE_COMMENT, NEQ, NULL_LITERAL, PATTERN, PLUS, PREFIXES, RBRACE, RBRACKET, READ_IDENTIFIER, READ_REGEX, READ_URI, REM, RPAREN, RSIGNEDSHIFT, RUNSIGNEDSHIFT, SC_AND, SC_OR, SC_XOR, 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
RDQLParser(java.io.InputStream stream)
           
RDQLParser(RDQLParserTokenManager tm)
           
RDQLParser(java.io.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 Query()
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(RDQLParserTokenManager tm)
           
 void ReInit(java.io.Reader stream)
           
 void RelationalExpression()
           
 void SelectClause()
           
 void ShiftExpression()
           
 void SourceClause()
           
 void SourceSelector()
           
 void StringEqualityExpression()
           
 void TextLiteral()
           
 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(java.io.InputStream stream)

RDQLParser

public RDQLParser(java.io.Reader stream)

RDQLParser

public RDQLParser(RDQLParserTokenManager tm)
Method Detail

top

public SimpleNode top()

CompilationUnit

public final void CompilationUnit()
                           throws ParseException
ParseException

CommaOpt

public final void CommaOpt()
                    throws ParseException
ParseException

Query

public final void Query()
                 throws ParseException
ParseException

SelectClause

public final void SelectClause()
                        throws ParseException
ParseException

SourceClause

public final void SourceClause()
                        throws ParseException
ParseException

SourceSelector

public final void SourceSelector()
                          throws ParseException
ParseException

TriplePatternClause

public final void TriplePatternClause()
                               throws ParseException
ParseException

ConstraintClause

public final void ConstraintClause()
                            throws ParseException
ParseException

TriplePattern

public final void TriplePattern()
                         throws ParseException
ParseException

VarOrURI

public final void VarOrURI()
                    throws ParseException
ParseException

VarOrLiteral

public final void VarOrLiteral()
                        throws ParseException
ParseException

Var

public final void Var()
               throws ParseException
ParseException

PrefixesClause

public final void PrefixesClause()
                          throws ParseException
ParseException

PrefixDecl

public final void PrefixDecl()
                      throws ParseException
ParseException

Expression

public final void Expression()
                      throws ParseException
ParseException

ConditionalOrExpression

public final void ConditionalOrExpression()
                                   throws ParseException
ParseException

ConditionalXorExpression

public final void ConditionalXorExpression()
                                    throws ParseException
ParseException

ConditionalAndExpression

public final void ConditionalAndExpression()
                                    throws ParseException
ParseException

ValueLogical

public final void ValueLogical()
                        throws ParseException
ParseException

StringEqualityExpression

public final void StringEqualityExpression()
                                    throws ParseException
ParseException

NumericalLogical

public final void NumericalLogical()
                            throws ParseException
ParseException

InclusiveOrExpression

public final void InclusiveOrExpression()
                                 throws ParseException
ParseException

ExclusiveOrExpression

public final void ExclusiveOrExpression()
                                 throws ParseException
ParseException

AndExpression

public final void AndExpression()
                         throws ParseException
ParseException

ArithmeticCondition

public final void ArithmeticCondition()
                               throws ParseException
ParseException

EqualityExpression

public final void EqualityExpression()
                              throws ParseException
ParseException

RelationalExpression

public final void RelationalExpression()
                                throws ParseException
ParseException

NumericExpression

public final void NumericExpression()
                             throws ParseException
ParseException

ShiftExpression

public final void ShiftExpression()
                           throws ParseException
ParseException

AdditiveExpression

public final void AdditiveExpression()
                              throws ParseException
ParseException

MultiplicativeExpression

public final void MultiplicativeExpression()
                                    throws ParseException
ParseException

UnaryExpression

public final void UnaryExpression()
                           throws ParseException
ParseException

UnaryExpressionNotPlusMinus

public final void UnaryExpressionNotPlusMinus()
                                       throws ParseException
ParseException

PrimaryExpression

public final void PrimaryExpression()
                             throws ParseException
ParseException

FunctionCall

public final void FunctionCall()
                        throws ParseException
ParseException

ArgList

public final void ArgList()
                   throws ParseException
ParseException

Literal

public final void Literal()
                   throws ParseException
ParseException

NumericLiteral

public final void NumericLiteral()
                          throws ParseException
ParseException

TextLiteral

public final void TextLiteral()
                       throws ParseException
ParseException

PatternLiteral

public final void PatternLiteral()
                          throws ParseException
ParseException

BooleanLiteral

public final void BooleanLiteral()
                          throws ParseException
ParseException

NullLiteral

public final void NullLiteral()
                       throws ParseException
ParseException

URL

public final void URL()
               throws ParseException
ParseException

URI

public final void URI()
               throws ParseException
ParseException

Identifier

public final void Identifier()
                      throws ParseException
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

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


Copyright © 2001 Hewlett-Packard. All Rights Reserved.