Interface ISlotAllocator
The slot allocator to use for renaming.
Namespace: Loretta.CodeAnalysis.Lua.Experimental.Minifying
Assembly: Loretta.CodeAnalysis.Lua.Experimental.dll
Syntax
public interface ISlotAllocator
Methods
| Improve this Doc View SourceAllocateSlot()
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. |