Search Results for

    Show / Hide Table of Contents

    Class MinifyingUtils

    A class with helper methods for minifying.

    Inheritance
    System.Object
    MinifyingUtils
    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 static class MinifyingUtils

    Methods

    | Improve this Doc View Source

    CanRename(IVariable)

    Returns whether this is a variable we are able to rename or not.

    Declaration
    public static bool CanRename(IVariable variable)
    Parameters
    Type Name Description
    IVariable variable
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetUnavailableNames(IEnumerable<IScope>)

    Returns the list of variables names that are not avaiable in the provided scopes.

    Declaration
    public static IImmutableSet<string> GetUnavailableNames(IEnumerable<IScope> scopes)
    Parameters
    Type Name Description
    IEnumerable<IScope> scopes
    Returns
    Type Description
    IImmutableSet<System.String>
    | Improve this Doc View Source

    GetUnavailableNames(IScope)

    Returns the list of variables names that are not avaiable in the provided scope.

    Declaration
    public static IImmutableSet<string> GetUnavailableNames(IScope scope)
    Parameters
    Type Name Description
    IScope scope
    Returns
    Type Description
    IImmutableSet<System.String>
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾