public final class CElem extends CName
| Constructor and Description |
|---|
CElem(InputInfo ii,
Expr t,
Atts ns,
Expr... cont)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CElem |
comp(QueryContext ctx)
Compiles and optimizes the expression, assigns data types and
cardinalities.
|
FElem |
item(QueryContext ctx,
InputInfo ii)
Evaluates the expression and returns the resulting item or
a
null reference, if the expression yields an empty sequence. |
count, description, plan, remove, toString, usesallAreValues, indexEquivalent, removablecheckBln, checkColl, checkCreate, checkCtx, checkDbl, checkDBNode, checkEStr, checkEStr, checkIO, checkItem, checkItr, checkItr, checkMap, checkNode, checkNoEmpty, checkStr, checkType, checkUp, checkUp, checkWrite, compBln, ebv, iter, optPre, preEval, size, test, type, valueaddText, compEbv, hasFreeVars, indexAccessible, isEmpty, isFunction, isItem, isVacuous, isValue, iterable, markTailCalls, sameAspublic CElem comp(QueryContext ctx) throws QueryException
Exprcomp in class CNamectx - query contextQueryException - query exceptionpublic FElem item(QueryContext ctx, InputInfo ii) throws QueryException
Exprnull reference, if the expression yields an empty sequence.
If this method is not overwritten, Expr.iter(org.basex.query.QueryContext) must be implemented
by an expression, as it may be called by this method.item in class CFragctx - query contextii - input infoQueryException - query exception