Interface ScopedBindingElement


  • public interface ScopedBindingElement
    Marker interface for elements that declare a variable which is in-scope within their body
    • Method Detail

      • allocateSlots

        int allocateSlots​(SlotManager slotManager,
                          int nextFree)
        Allocate slots to any variables used within the pattern
        Parameters:
        slotManager - the slot manager representing the stack frame for local variables
        nextFree - the next slot that is free to be allocated
        Returns:
        the next slot that is free to be allocated