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.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
    Assembly: Loretta.CodeAnalysis.Lua.Experimental.dll
    Syntax
    public class ConstantFoldingOptions : IEquatable<ConstantFoldingOptions>

    Constructors

    | Improve this Doc View Source

    ConstantFoldingOptions(Boolean)

    Settings to use when constant folding.

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

    Fields

    | Improve this Doc View Source

    All

    The preset with everything set to true.

    Declaration
    public static readonly ConstantFoldingOptions All
    Field Value
    Type Description
    ConstantFoldingOptions
    | Improve this Doc View Source

    Default

    The default, most conservative, preset.

    Declaration
    public static readonly ConstantFoldingOptions Default
    Field Value
    Type Description
    ConstantFoldingOptions

    Properties

    | Improve this Doc View Source

    ExtractNumbersFromStrings

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

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    • Constructors
      • ConstantFoldingOptions(Boolean)
    • Fields
      • All
      • Default
    • Properties
      • ExtractNumbersFromStrings
    • Implements
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾