|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.util.InputParser
org.basex.query.QueryParser
public class QueryParser
Simple query parser; can be overwritten to support more complex parsings.
| Field Summary | |
|---|---|
TokenList |
modLoaded
List of loaded modules. |
| Fields inherited from class org.basex.util.InputParser |
|---|
file, ql, qm, qp, qu |
| Constructor Summary | |
|---|---|
QueryParser(QueryContext c)
Constructor. |
|
| Method Summary | |
|---|---|
Expr |
parse(java.lang.String q,
IO f,
Uri u)
Parses the specified query. |
Expr |
parse(Uri u,
boolean end)
Parses the specified query. |
Expr |
path()
[ 68] Parses a PathExpr |
| Methods inherited from class org.basex.util.InputParser |
|---|
consume, consume, consumeWS, curr, curr, ent, found, init, invalidEnt, mark, more, next, quote, rest, valid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public TokenList modLoaded
| Constructor Detail |
|---|
public QueryParser(QueryContext c)
c - query context| Method Detail |
|---|
public Expr parse(java.lang.String q,
IO f,
Uri u)
throws QueryException
uri != null, the query is treated as a module
q - input queryf - optional input fileu - module uri
QueryException - query exception
public Expr parse(Uri u,
boolean end)
throws QueryException
uri != null, the query is treated as a module
[ 1] Parses a Module.
u - module uriend - if true, input must be completely evaluated
QueryException - query exception
public Expr path()
throws QueryException
QueryException - query exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||