java.io.Serializable
, javax.xml.transform.SourceLocator
, BindingReference
, Container
, Expression
, InstructionInfoProvider
public class LocalVariableReference extends VariableReference
Modifier and Type | Field | Description |
---|---|---|
(package private) int |
slotNumber |
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
binding, constantValue, displayName, staticType
Constructor | Description |
---|---|
LocalVariableReference(int slotNumber) |
Modifier and Type | Method | Description |
---|---|---|
ValueRepresentation |
evaluateVariable(XPathContext c) |
|
int |
getSlotNumber() |
|
void |
refineVariableReference() |
Replace this VariableReference where appropriate by a more efficient implementation.
|
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getInstructionInfo, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterateSubExpressions, markTailFunctionCalls, replaceSubExpression, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, simplify, suppressValidation, typeError
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
computeCardinality, computeSpecialProperties, copy, display, equals, evaluateItem, fixup, getBinding, getImplementationMethod, getIntrinsicDependencies, getItemType, hashCode, iterate, optimize, process, promote, setStaticType, typeCheck
public int getSlotNumber()
public ValueRepresentation evaluateVariable(XPathContext c) throws XPathException
evaluateVariable
in class VariableReference
XPathException
public void refineVariableReference()
refineVariableReference
in class VariableReference