|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.path.Path
public abstract class Path
Path expression.
| Field Summary | |
|---|---|
Expr |
root
Top expression. |
| Constructor Summary | |
|---|---|
Path(Expr r)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
color()
Returns a string description of the expression. |
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
Expr |
remove(Var v)
Removes the specified variable in a sub expression. |
java.lang.String |
toString(Expr[] step)
Returns a string representation. |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, atomic, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, indexAccessible, indexEquivalent, iter, removable, returned, sameAs, size, test, uses |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
info, name, plan, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Expr root
| Constructor Detail |
|---|
public Path(Expr r)
r - root expression; can be null| Method Detail |
|---|
public Expr comp(QueryContext ctx)
throws QueryException
Expr
comp in class Exprctx - query context
QueryException - evaluation exceptionpublic Expr remove(Var v)
Expr
remove in class Exprv - variable to be removed
public final java.lang.String color()
ExprInfoExprInfo.toString() method, the current expressions aren't included
in the output.
color in class ExprInfopublic java.lang.String toString(Expr[] step)
step - step array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||