Search Results for

    Show / Hide Table of Contents

    Class SortedSlotAllocator

    The sorted slot allocator. Will always use the lowest free slot.

    Inheritance
    System.Object
    SortedSlotAllocator
    Implements
    ISlotAllocator
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Loretta.CodeAnalysis.Lua.Experimental.Minifying
    Assembly: Loretta.CodeAnalysis.Lua.Experimental.dll
    Syntax
    public sealed class SortedSlotAllocator : ISlotAllocator

    Methods

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    Implements

    ISlotAllocator
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾