public class FoldLeftFn extends FoldingFunction
Modifier and Type | Class and Description |
---|---|
class |
FoldLeftFn.FoldLeftFold |
Constructor and Description |
---|
FoldLeftFn() |
Modifier and Type | Method and Description |
---|---|
Fold |
getFold(XPathContext context,
Sequence... arguments)
Create the Fold object which actually performs the evaluation.
|
ItemType |
getResultItemType(Expression[] args)
Get the return type, given knowledge of the actual arguments
|
call, getStreamerName
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, importAttributes, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheck
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
argumentArray, getGenre
getLength, head, isStreamed, itemAt, iterate, iterator, reduce, subsequence, toGroundedValue
asIterable, materialize
makeRepeatable
public Fold getFold(XPathContext context, Sequence... arguments) throws XPathException
FoldingFunction
getFold
in class FoldingFunction
context
- the dynamic evaluation contextarguments
- the values of all arguments other than the first.XPathException
- if a dynamic error occurspublic ItemType getResultItemType(Expression[] args)
getResultItemType
in class SystemFunction
args
- the actual arguments suppliedCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.