|
||||||||||
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Use |
Field Summary | |
---|---|
Expr |
root
Top expression. |
Constructor Summary | |
---|---|
Path(Expr r)
Constructor. |
Method Summary | |
---|---|
String |
color()
Returns a color string for the expression. |
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
Expr |
remove(Var v)
Removes the specified variable in a sub expression. |
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, v |
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 nullMethod Detail |
---|
public Expr comp(QueryContext ctx) throws QueryException
Expr
comp
in class Expr
ctx
- query context
QueryException
- query exceptionpublic Expr remove(Var v)
Expr
remove
in class Expr
v
- variable to be removed
public final String color()
ExprInfo
color
in class ExprInfo
public final String toString(Expr[] step)
step
- step array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |