Search Results for

    Show / Hide Table of Contents

    Class ConstantFoldingOptions

    Settings to use when constant folding.

    Inheritance
    System.Object
    ConstantFoldingOptions
    Implements
    System.IEquatable<ConstantFoldingOptions>
    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
    Assembly: cs.temp.dll.dll
    Syntax
    public class ConstantFoldingOptions : IEquatable<ConstantFoldingOptions>

    Constructors

    ConstantFoldingOptions(Boolean)

    Settings to use when constant folding.

    Declaration
    public ConstantFoldingOptions(bool ExtractNumbersFromStrings)
    Parameters
    Type Name Description
    System.Boolean ExtractNumbersFromStrings

    Fields

    All

    The preset with everything set to true.

    Declaration
    public static readonly ConstantFoldingOptions All
    Field Value
    Type Description
    ConstantFoldingOptions

    Default

    The default, most conservative, preset.

    Declaration
    public static readonly ConstantFoldingOptions Default
    Field Value
    Type Description
    ConstantFoldingOptions

    Properties

    ExtractNumbersFromStrings

    Declaration
    public bool ExtractNumbersFromStrings { get; set; }
    Property Value
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾