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.

    @FunctionalInterface
    public interface PushEvaluator
    • Method Detail

      • processLeavingTail

        TailCall processLeavingTail​(Outputter out,
                                    XPathContext context)
                             throws XPathException
        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 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.