org.openrdf.sesame.query.serql.parser
Class SerqlParser

java.lang.Object
  extended byorg.openrdf.sesame.query.serql.parser.SerqlParser
All Implemented Interfaces:
SerqlParserConstants

public class SerqlParser
extends Object
implements SerqlParserConstants


Field Summary
 Token jj_nt
           
static URI SERQL_DIRECTSUBCLASSOF
           
static URI SERQL_DIRECTSUBPROPERTYOF
           
static URI SERQL_DIRECTTYPE
           
static String SERQL_NS
           
 Token token
           
 SerqlParserTokenManager token_source
           
static URI XSD_DECIMAL
           
static URI XSD_INTEGER
           
 
Fields inherited from interface org.openrdf.sesame.query.serql.parser.SerqlParserConstants
ALL, ALPHA, AND, ANY, AS, BASECHAR, BNODE, CASE, COMBINING_CHAR, COMMA, CONSTRUCT, DATATYPE, DECIMAL, DEFAULT, DIGIT, DISTINCT, EOF, EQ, ESCAPED_CHAR, EXISTS, EXTENDER, FALSE, FROM, FULL_URI, GE, GT, HEX, IDEOGRAPHIC, IGNORE, IN, INTERSECT, ISBNODE, ISLITERAL, ISRESOURCE, ISURI, LABEL, LANG, LANG_TAG, LBRACE, LBRACK, LE, LETTER, LIKE, LIMIT, LIT_DT, LIT_LABEL, LIT_LANG, LITERAL, LOCALNAME, LPAREN, LT, MINUS, NAMESPACE, NCNAME, NCNAME_CHAR, NE, NEG_INTEGER, NOT, NULL, NUM, OFFSET, OR, POS_INTEGER, PREFIX_NAME, QNAME, RBRACE, RBRACK, RPAREN, SAFE_CHAR, SCHEME, SELECT, SEMICOLON, SINGLE_LINE_COMMENT, STAR, STRING, tokenImage, TRUE, UNDERSCORE, UNICODE_ESC, UNION, USING, WHERE
 
Constructor Summary
SerqlParser(InputStream stream)
           
SerqlParser(Reader stream)
           
SerqlParser(SerqlParserTokenManager tm)
           
 
Method Summary
 Null _null()
           
 BooleanExpr and_expr()
           
 BooleanExpr any_all_like_or_in()
           
 ResourceExpr bnode()
           
 BooleanExpr boolean_elem()
           
 BooleanExpr boolean_expr()
           
 int comp_op()
           
 Query construct_query()
           
 void disable_tracing()
           
 Var edge()
           
 void enable_tracing()
           
 ResourceExpr full_uri()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void graph_pattern(GraphPattern graphPattern)
           
 Query graph_query_set()
           
 Query graph_query()
           
 LiteralExpr literal()
           
 void namespace_list()
           
 void namespace()
           
 String nc_name()
           
 Var node_elem(GraphPattern graphPattern)
           
 List node(GraphPattern graphPattern)
           
 GraphQuery parseGraphQuery()
           
 TableQuery parseTableQuery()
           
 PathElement path_expr_head(GraphPattern graphPattern)
           
 void path_expr_list(GraphPattern graphPattern)
           
 void path_expr_tail(List leftNode, GraphPattern graphPattern)
           
 void path_expr(GraphPattern graphPattern)
           
 int pos_integer()
           
 ProjectionElem projection_elem()
           
 List projection()
           
 ResourceExpr qname()
           
 Var reified_stat(GraphPattern graphPattern)
           
 void ReInit(InputStream stream)
           
 void ReInit(Reader stream)
           
 void ReInit(SerqlParserTokenManager tm)
           
 Query select_query()
           
 String string()
           
 Query table_query_set()
           
 Query table_query()
           
 ValueExpr uri_bnode_or_literal()
           
 ResourceExpr uri()
           
 ValueExpr value()
           
 ValueExpr var_or_value()
           
 Var var()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERQL_NS

public static final String SERQL_NS
See Also:
Constant Field Values

SERQL_DIRECTSUBCLASSOF

public static final URI SERQL_DIRECTSUBCLASSOF

SERQL_DIRECTSUBPROPERTYOF

public static final URI SERQL_DIRECTSUBPROPERTYOF

SERQL_DIRECTTYPE

public static final URI SERQL_DIRECTTYPE

XSD_INTEGER

public static final URI XSD_INTEGER

XSD_DECIMAL

public static final URI XSD_DECIMAL

token_source

public SerqlParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

SerqlParser

public SerqlParser(InputStream stream)

SerqlParser

public SerqlParser(Reader stream)

SerqlParser

public SerqlParser(SerqlParserTokenManager tm)
Method Detail

parseTableQuery

public final TableQuery parseTableQuery()
                                 throws ParseException
Throws:
ParseException

table_query_set

public final Query table_query_set()
                            throws ParseException
Throws:
ParseException

table_query

public final Query table_query()
                        throws ParseException
Throws:
ParseException

parseGraphQuery

public final GraphQuery parseGraphQuery()
                                 throws ParseException
Throws:
ParseException

graph_query_set

public final Query graph_query_set()
                            throws ParseException
Throws:
ParseException

graph_query

public final Query graph_query()
                        throws ParseException
Throws:
ParseException

namespace_list

public final void namespace_list()
                          throws ParseException
Throws:
ParseException

namespace

public final void namespace()
                     throws ParseException
Throws:
ParseException

select_query

public final Query select_query()
                         throws ParseException
Throws:
ParseException

construct_query

public final Query construct_query()
                            throws ParseException
Throws:
ParseException

projection

public final List projection()
                      throws ParseException
Throws:
ParseException

projection_elem

public final ProjectionElem projection_elem()
                                     throws ParseException
Throws:
ParseException

graph_pattern

public final void graph_pattern(GraphPattern graphPattern)
                         throws ParseException
Throws:
ParseException

path_expr_list

public final void path_expr_list(GraphPattern graphPattern)
                          throws ParseException
Throws:
ParseException

path_expr

public final void path_expr(GraphPattern graphPattern)
                     throws ParseException
Throws:
ParseException

path_expr_head

public final PathElement path_expr_head(GraphPattern graphPattern)
                                 throws ParseException
Throws:
ParseException

path_expr_tail

public final void path_expr_tail(List leftNode,
                                 GraphPattern graphPattern)
                          throws ParseException
Throws:
ParseException

edge

public final Var edge()
               throws ParseException
Throws:
ParseException

node

public final List node(GraphPattern graphPattern)
                throws ParseException
Throws:
ParseException

node_elem

public final Var node_elem(GraphPattern graphPattern)
                    throws ParseException
Throws:
ParseException

reified_stat

public final Var reified_stat(GraphPattern graphPattern)
                       throws ParseException
Throws:
ParseException

boolean_expr

public final BooleanExpr boolean_expr()
                               throws ParseException
Throws:
ParseException

and_expr

public final BooleanExpr and_expr()
                           throws ParseException
Throws:
ParseException

boolean_elem

public final BooleanExpr boolean_elem()
                               throws ParseException
Throws:
ParseException

any_all_like_or_in

public final BooleanExpr any_all_like_or_in()
                                     throws ParseException
Throws:
ParseException

comp_op

public final int comp_op()
                  throws ParseException
Throws:
ParseException

var_or_value

public final ValueExpr var_or_value()
                             throws ParseException
Throws:
ParseException

uri_bnode_or_literal

public final ValueExpr uri_bnode_or_literal()
                                     throws ParseException
Throws:
ParseException

var

public final Var var()
              throws ParseException
Throws:
ParseException

value

public final ValueExpr value()
                      throws ParseException
Throws:
ParseException

uri

public final ResourceExpr uri()
                       throws ParseException
Throws:
ParseException

full_uri

public final ResourceExpr full_uri()
                            throws ParseException
Throws:
ParseException

qname

public final ResourceExpr qname()
                         throws ParseException
Throws:
ParseException

bnode

public final ResourceExpr bnode()
                         throws ParseException
Throws:
ParseException

literal

public final LiteralExpr literal()
                          throws ParseException
Throws:
ParseException

nc_name

public final String nc_name()
                     throws ParseException
Throws:
ParseException

string

public final String string()
                    throws ParseException
Throws:
ParseException

pos_integer

public final int pos_integer()
                      throws ParseException
Throws:
ParseException

_null

public final Null _null()
                 throws ParseException
Throws:
ParseException

ReInit

public void ReInit(InputStream stream)

ReInit

public void ReInit(Reader stream)

ReInit

public void ReInit(SerqlParserTokenManager 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 © 2002-2006 Aduna BV, GNU LGPL License applies.