- All Implemented Interfaces:
- TailCall
- Enclosing class:
- ApplyTemplates
protected static class ApplyTemplates.ApplyTemplatesPackage
extends Object
implements TailCall
An ApplyTemplatesPackage is an object that encapsulates the sequence of nodes to be processed,
the mode, the parameters to be supplied, and the execution context. This object can be returned as a tail
call, so that the actual call is made from a lower point on the stack, allowing a tail-recursive
template to execute in a finite stack size