Class IrNewArray
Represents an array creation operation in the IR.
Inherited Members
Namespace: VM.Core.IR.Nodes
Assembly: VM.dll
Syntax
public class IrNewArray : IrNode
Properties
ElementType
Gets the type of elements in the array.
Declaration
public required string ElementType { get; init; }
Property Value
Type | Description |
---|---|
string |
Size
Gets the expression specifying the size of the array.
Declaration
public required IrNode Size { get; init; }
Property Value
Type | Description |
---|---|
IrNode |
Methods
ToString()
Returns a string representation of the array creation.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |