public class LocalVariableReference extends VariableReference
binding, constantValue, staticType
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
?????? |
---|
LocalVariableReference()
Create a local variable reference.
|
LocalVariableReference(Binding binding)
Create a LocalVariableReference bound to a given Binding
|
?????? | ????? |
---|---|
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
|
addToPathMap, computeCardinality, computeSpecialProperties, equals, evaluateItem, explain, fixup, getBinding, getDisplayName, getImplementationMethod, getIntrinsicDependencies, getItemType, hashCode, isFiltered, isFlattened, isInLoop, iterate, optimize, process, promote, refineVariableType, setFiltered, setFlattened, setStaticType, toString, typeCheck
adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, findParentOf, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isUpdatingExpression, iterateEvents, iterateSubExpressions, markTailFunctionCalls, replaceSubExpression, resetLocalStaticProperties, setContainer, setLocationId, simplify, staticTypeCheck, suppressValidation, typeError
public LocalVariableReference()
public LocalVariableReference(Binding binding)
binding
- the binding (that is, the declaration of this local variable)public Expression copy()
copy
??? VariableReference
public void setSlotNumber(int slotNumber)
slotNumber
- the slot number to be usedpublic int getSlotNumber()
public ValueRepresentation evaluateVariable(XPathContext c) throws XPathException
evaluateVariable
??? VariableReference
c
- the XPath dynamic contextXPathException
- if any dynamic error occurs while evaluating the variable