|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.expr.VariableReference
net.sf.saxon.expr.LocalVariableReference
Variable reference: a reference to a local variable. This subclass of VariableReference bypasses the Binding object to get the value directly from the relevant slot in the local stackframe.
| Field Summary |
| Fields inherited from class net.sf.saxon.expr.ComputedExpression |
locationId, staticProperties |
| Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
| Constructor Summary | |
LocalVariableReference(int slotNumber)
|
|
| Method Summary | |
ValueRepresentation |
evaluateVariable(XPathContext c)
|
int |
getSlotNumber()
|
void |
refineVariableReference()
Replace this VariableReference where appropriate by a more efficient implementation. |
| Methods inherited from class net.sf.saxon.expr.VariableReference |
computeCardinality, computeSpecialProperties, copy, display, equals, evaluateItem, fixup, getBinding, getImplementationMethod, getIntrinsicDependencies, getItemType, hashCode, iterate, optimize, process, promote, setStaticType, typeCheck |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalVariableReference(int slotNumber)
| Method Detail |
public int getSlotNumber()
public ValueRepresentation evaluateVariable(XPathContext c)
throws XPathException
evaluateVariable in class VariableReferenceXPathExceptionpublic void refineVariableReference()
refineVariableReference in class VariableReference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||