Class SyntaxExtensions
Experimental code exposed through extension methods.
Inheritance
System.Object
SyntaxExtensions
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 static class SyntaxExtensions
Methods
FoldConstants(SyntaxNode, ConstantFoldingOptions)
Runs constant folding on the tree rooted by the provided node.
Declaration
public static SyntaxNode FoldConstants(this SyntaxNode node, ConstantFoldingOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| SyntaxNode | node | |
| ConstantFoldingOptions | options | Options to use when constant folding. |
Returns
| Type | Description |
|---|---|
| SyntaxNode |