Interface LocalBinding

All Superinterfaces:
Binding
All Known Implementing Classes:
Assignation, EagerLetExpression, ForExpression, LetExpression, LocalParam, LocalVariableBinding, OuterForExpression, ParserExtension.TemporaryXSLTVariableBinding, QuantifiedExpression, UserFunctionParameter, XPathVariable

public interface LocalBinding extends Binding
Binding for local variables and parameters: anything that is allocated a slot on the XPathContext stack frame.
  • 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