| Modifier and Type | Method and Description |
|---|---|
abstract ForLet |
comp(QueryContext ctx)
Compiles and optimizes the expression, assigns data types and
cardinalities.
|
abstract boolean |
declares(Var v)
Checks if the given variable is declared by this clause.
|
boolean |
uses(Expr.Use u)
Indicates if an expression uses the specified type or operation.
|
abstract Var[] |
vars()
Gathers all variables declared by this clause.
|
checkBln, checkColl, checkCreate, checkCtx, checkDbl, checkDBNode, checkEStr, checkEStr, checkIO, checkItem, checkItr, checkItr, checkMap, checkNode, checkNoEmpty, checkStr, checkType, checkUp, checkUp, checkWrite, compBln, ebv, item, iter, optPre, preEval, size, test, type, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isItem, isVacuous, isValue, iterable, markTailCalls, sameAsdescription, info, toStringpublic final Var var
public abstract ForLet comp(QueryContext ctx) throws QueryException
Exprcomp in class Singlectx - query contextQueryException - query exceptionpublic final boolean uses(Expr.Use u)
ExprExpr.comp(org.basex.query.QueryContext) methods to test the properties of sub-expressions.
It will return true as soon as at least one test is successful.public abstract boolean declares(Var v)
v - variablepublic abstract Var[] vars()