Class MergeInstrAdjunct.MergePusher

    • Method Detail

      • processLeavingTail

        public TailCall processLeavingTail​(Outputter output,
                                           XPathContext context)
                                    throws XPathException
        Description copied from interface: PushEvaluator
        Evaluate a construct in push mode, sending the value of the construct to a supplied outputter
        Specified by:
        processLeavingTail in interface PushEvaluator
        Parameters:
        output - the outputter to which the result should be sent
        context - the evaluation context
        Returns:
        either a TailCall or null. A TailCall 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 calling Expression.dispatchTailCall(TailCall), or it must return the TailCall to its own caller
        Throws:
        XPathException - if a dynamic error occurs during the evaluation.