| net.sf.saxon.instruct.TailCall
TailCall | public interface TailCall (Code) | | Interface representing a Tail Call. This is a package of information passed back by a called
instruction to its caller, representing a call (and its arguments) that needs to be made
by the caller. This saves stack space by unwinding the stack before making the call.
|
processLeavingTail | public TailCall processLeavingTail(XPathContext context) throws XPathException(Code) | | Process this TailCall (that is, executed the template call that is packaged in this
object). This may return a further TailCall, which should also be processed: this
is the mechanism by which a nested set of recursive calls is converted into an iteration.
Parameters: context - The dynamic context of the transformation a further TailCall, if the recursion continues, or null, indicating that therecursion has terminated. throws: net.sf.saxon.trans.XPathException - if any error occurs processing the tail call |
|
|