Package net.sf.saxon.expr
Interface LocalBinding
- All Superinterfaces:
Binding
- All Known Implementing Classes:
Assignation
,EagerLetExpression
,ForExpression
,LetExpression
,LocalParam
,LocalVariableBinding
,OuterForExpression
,ParserExtension.TemporaryXSLTVariableBinding
,QuantifiedExpression
,UserFunctionParameter
,XPathVariable
Binding for local variables and parameters: anything that is allocated a slot on the XPathContext
stack frame.
-
Method Summary
Modifier and TypeMethodDescriptionint
Return the slot number of the variable held on the local stack frameboolean
Ask whether the binding is to be indexedvoid
Say that the bound value has the potential to be indexedMethods inherited from interface net.sf.saxon.expr.Binding
addReference, evaluateVariable, getIntegerBoundsForVariable, getRequiredType, getVariableQName, isAssignable, isGlobal
-
Method Details
-
getLocalSlotNumber
int getLocalSlotNumber()Return the slot number of the variable held on the local stack frame- Returns:
- the slot number on the local stack frame
-
setIndexedVariable
void setIndexedVariable()Say that the bound value has the potential to be indexed -
isIndexedVariable
boolean isIndexedVariable()Ask whether the binding is to be indexed- Returns:
- true if the variable value can be indexed
-