Package net.sf.saxon.expr

## Interface LocalBinding

- All Superinterfaces:
    `Binding`
  All Known Implementing Classes:
    `Assignation`, `EagerLetExpression`, `ForExpression`, `ForMemberExpression`, `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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getLocalSlotNumber()` | Return the slot number of the variable held on the local stack frame
    `boolean` | `isIndexedVariable()` | Ask whether the binding is to be indexed
    `void` | `setIndexedVariable()` | Say that the bound value has the potential to be indexed

    - ### Methods inherited from interface net.sf.saxon.expr.Binding

      `addReference, evaluateVariable, getIntegerBoundsForVariable, getRequiredType, getVariableQName, isAssignable, isGlobal`

- - ### Method Detail

    - #### 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