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, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheck
getLength, head, isStreamed, itemAt, iterate, reduce, subsequence
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, head, itemAt, reduce, subsequence
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-2018 Saxonica Limited. All rights reserved.