net.sf.saxon.expr
Class UserFunctionCall.FunctionCallPackage

java.lang.Object
  |
  +--net.sf.saxon.expr.UserFunctionCall.FunctionCallPackage
Enclosing class:
UserFunctionCall

public static class UserFunctionCall.FunctionCallPackage
extends java.lang.Object

Inner class used to wrap up the set of actual arguments to a tail-recursive call of the containing function. This argument package is passed back to the calling FunctionInstr in place of a function result; the FunctionInstr then loops to re-invoke the function with these arguments, avoiding the creation of an additional stack frame.


Constructor Summary
UserFunctionCall.FunctionCallPackage(CallableFunction function, Value[] actualArgs, XPathContext c)
           
 
Method Summary
 Value call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserFunctionCall.FunctionCallPackage

public UserFunctionCall.FunctionCallPackage(CallableFunction function,
                                            Value[] actualArgs,
                                            XPathContext c)
Method Detail

call

public Value call()
           throws XPathException
XPathException