net.sf.saxon.style
Class Procedure
java.lang.Object
net.sf.saxon.style.Procedure
- public class Procedure
- extends Object
A procedure represents a top-level element that can contain local variable declarations.
Specifically, a top-level xsl:template, xsl:variable, xsl:param, or xsl:function element
or an xsl:attribute-set element
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numberOfVariables
protected int numberOfVariables
Procedure
public Procedure()
getNumberOfVariables
public int getNumberOfVariables()
- Get number of variables (size of stack frame)
setNumberOfVariables
public void setNumberOfVariables(int numberOfVariables)
- Set the number of variables
- Parameters:
numberOfVariables
-
allocateSlotNumber
public int allocateSlotNumber()
- Allocate a slot number for a variable