org.openrdf.sesame.query.serql.parser
Class SerqlParser
java.lang.Object
org.openrdf.sesame.query.serql.parser.SerqlParser
- All Implemented Interfaces:
- SerqlParserConstants
- public class SerqlParser
- extends Object
- implements SerqlParserConstants
| 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 |
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
SerqlParser
public SerqlParser(InputStream stream)
SerqlParser
public SerqlParser(Reader stream)
SerqlParser
public SerqlParser(SerqlParserTokenManager tm)
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.