Package net.sf.saxon.expr.elab
Interface PushEvaluator
- All Known Implementing Classes:
MergeInstrAdjunct.MergePusher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionprocessLeavingTail
(Outputter out, XPathContext context) Evaluate a construct in push mode, sending the value of the construct to a supplied outputter
-
Method Details
-
processLeavingTail
Evaluate a construct in push mode, sending the value of the construct to a supplied outputter- Parameters:
out
- the outputter to which the result should be sentcontext
- the evaluation context- Returns:
- either a
TailCall
or null. ATailCall
represents unfinished work that must be completed by the caller. Specifically, if a non-null value is returned, the caller must either complete the evaluation by evaluating tail calls until null is returned (which can be conveniently achieved by callingExpression.dispatchTailCall(TailCall)
, or it must return theTailCall to its own caller
- Throws:
XPathException
- if a dynamic error occurs during the evaluation.
-