Interface ISlotAllocator
The slot allocator to use for renaming.
Namespace: Loretta.CodeAnalysis.Lua.Experimental.Minifying
Assembly: cs.temp.dll.dll
Syntax
public interface ISlotAllocator
Methods
AllocateSlot()
Allocates a slot for the provided variable.
Declaration
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
void ReleaseSlot(int slot)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | slot | The slot the variable is located in. |