|
||||||||||
| 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.expr.Single
org.basex.query.expr.ForLet
public abstract class ForLet
Abstract For/Let Clause.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| Field Summary |
|---|
| Fields inherited from class org.basex.query.expr.Single |
|---|
expr |
| Constructor Summary | |
|---|---|
ForLet(Expr e,
Var v)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
color()
Returns a color string for the expression. |
boolean |
removable(Var v,
QueryContext ctx)
Checks if the specified variable is removable. |
Expr |
remove(Var v)
Removes the specified variable in a sub expression. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
boolean |
shadows(Var v)
Checks if the specified is not shadowed by another variable. |
boolean |
uses(Expr.Use u,
QueryContext ctx)
Indicates if an expression uses the specified type. |
| Methods inherited from class org.basex.query.expr.Single |
|---|
comp, plan |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, atomic, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, indexAccessible, indexEquivalent, iter, sameAs, size, test |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
info, name, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForLet(Expr e,
Var v)
e - variable inputv - variable| Method Detail |
|---|
public boolean uses(Expr.Use u,
QueryContext ctx)
Exprtrue is returned by default and thus assumed as "worst-case".
uses in class Singleu - use type to be checkedctx - query context
public boolean removable(Var v,
QueryContext ctx)
Expr
removable in class Exprv - variable to be removedctx - query context
public final Expr remove(Var v)
Expr
remove in class Singlev - variable to be removed
public Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public boolean shadows(Var v)
v - variable to be checked
public final java.lang.String color()
ExprInfo
color in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||