net.sf.saxon.expr
public class LocalVariableReference extends VariableReference
Field Summary | |
---|---|
int | slotNumber |
Constructor Summary | |
---|---|
LocalVariableReference()
Create a local variable reference. | |
LocalVariableReference(Binding binding)
Create a LocalVariableReference bound to a given Binding |
Method Summary | |
---|---|
Expression | copy()
Create a clone copy of this VariableReference |
ValueRepresentation | evaluateVariable(XPathContext c)
Return the value of the variable |
int | getSlotNumber()
Get the slot number allocated to this local variable |
void | setSlotNumber(int slotNumber)
Set the slot number for this local variable, that is, its position in the local stack frame |
Parameters: binding the binding (that is, the declaration of this local variable)
Returns: the cloned copy
Parameters: c the XPath dynamic context
Returns: the value of the variable
Throws: XPathException if any dynamic error occurs while evaluating the variable
Returns: the slot number
Parameters: slotNumber the slot number to be used