Class SortedSlotAllocator
The sorted slot allocator. Will always use the lowest free slot.
Inheritance
System.Object
    SortedSlotAllocator
  Implements
Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Loretta.CodeAnalysis.Lua.Experimental.Minifying
Assembly: cs.temp.dll.dll
Syntax
public sealed class SortedSlotAllocator : ISlotAllocator
  Methods
AllocateSlot()
Allocates a slot for the provided variable.
Declaration
public int AllocateSlot()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | The slot that was allocated to the variable.  | 
      
ReleaseSlot(Int32)
Releases a slot for usage by other variables.
Declaration
public void ReleaseSlot(int slot)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | slot | The slot the variable is located in.  |