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 SourceConstantFoldingOptions(Boolean)
Settings to use when constant folding.
Declaration
public ConstantFoldingOptions(bool ExtractNumbersFromStrings)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ExtractNumbersFromStrings |
Fields
| Improve this Doc View SourceAll
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
| Improve this Doc View SourceExtractNumbersFromStrings
Declaration
public bool ExtractNumbersFromStrings { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>