public abstract class FuncCall extends Arr
Modifier and Type | Method and Description |
---|---|
void |
markTailCalls(CompileContext cc)
Finds and marks tail calls, enabling TCO.
|
Value |
value(QueryContext qc)
Evaluates the expression and returns the resulting value.
|
accept, allAreValues, args, checkUp, compile, copyAll, count, equals, exprSize, flatten, has, inline, inline, inlineable, mayBePositional, plan, simplifyAll
adoptType, atomValue, checkAllUp, checkNoEmpty, checkNoEmpty, checkNoneUp, checkNoUp, checkType, checkType, checkUp, copyType, ctxValue, ebv, item, iter, refineType, seqType, size, test, toArray, toArray, toAtomItem, toB64, toB64, toBin, toBin, toBoolean, toBoolean, toBytes, toBytes, toDouble, toDouble, toElem, toFloat, toFunc, toItem, toItem, toLong, toLong, toMap, toMap, toNode, toNode, toNodeOrNull, toNumber, toNumberOrNull, toQNm, toQNm, toToken, toToken, toTokenOrNull, toZeroToken
arg, atomItem, atomIter, copy, data, data, ddo, funcType, hasFreeVars, indexAccessible, isSimple, mergeEbv, optimize, simplifyFor, typeCheck, uses, vacuous, visitAll
description, plan, toErrorString, toString
public final void markTailCalls(CompileContext cc)
Expr
markTailCalls
in class Expr
cc
- compilation context, null
if the changes should not be reportedpublic final Value value(QueryContext qc) throws QueryException
Expr
Expr.item(QueryContext, InputInfo)
must be implemented
instead.value
in class ParseExpr
qc
- query contextQueryException
- query exceptionCopyright © 2005–2023 BaseX Team. All rights reserved.