public final class List extends Arr
| Constructor and Description |
|---|
List(InputInfo ii,
Expr... l)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
comp(QueryContext ctx)
Compiles and optimizes the expression, assigns data types and
cardinalities.
|
boolean |
isVacuous()
Tests if this is a vacuous expression (empty sequence or error function).
|
Iter |
iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items.
|
java.lang.String |
toString() |
Value |
value(QueryContext ctx)
Evaluates the expression and returns the resulting value.
|
allAreValues, count, indexEquivalent, plan, removable, remove, toString, usescheckBln, checkColl, checkCreate, checkCtx, checkDbl, checkDBNode, checkEStr, checkEStr, checkIO, checkItem, checkItr, checkItr, checkMap, checkNode, checkNoEmpty, checkStr, checkType, checkUp, checkUp, checkWrite, compBln, ebv, item, optPre, preEval, size, test, typeaddText, compEbv, hasFreeVars, indexAccessible, isEmpty, isFunction, isItem, isValue, iterable, markTailCalls, sameAsdescription, infopublic Expr comp(QueryContext ctx) throws QueryException
Exprcomp in class Arrctx - query contextQueryException - query exceptionpublic Iter iter(QueryContext ctx)
ExprExpr.item(org.basex.query.QueryContext, org.basex.util.InputInfo) must be implemented
by an expression, as it may be called by this method.public Value value(QueryContext ctx) throws QueryException
Exprvalue in class ParseExprctx - query contextQueryException - query exceptionpublic boolean isVacuous()
Expr