java.io.Serializable
public class SlotManager
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
static SlotManager |
EMPTY |
An empty SlotManager
|
Constructor | Description |
---|---|
SlotManager() |
The constructor should not be called directly.
|
SlotManager(int n) |
Create a SlotManager with a given number of slots
|
Modifier and Type | Method | Description |
---|---|---|
int |
allocateSlotNumber(StructuredQName qName) |
Allocate a slot number for a variable
|
int |
getNumberOfVariables() |
Get number of variables (size of stack frame)
|
java.util.List |
getVariableMap() |
Get the variable map (simply a list of variable names as structured QNames).
|
void |
setNumberOfVariables(int numberOfVariables) |
Set the number of variables
|
public static SlotManager EMPTY
public SlotManager()
Configuration.makeSlotManager()
.public SlotManager(int n)
public int getNumberOfVariables()
public void setNumberOfVariables(int numberOfVariables)
numberOfVariables
- public int allocateSlotNumber(StructuredQName qName)
public java.util.List getVariableMap()
Changed in Saxon 9.0 to return a list of StructuredQName values rather than integers