Class ArrayIntrinsics.Operators
A collection of names for array operations.
Inheritance
System.Object
ArrayIntrinsics.Operators
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: Flame.Compiler.Instructions
Assembly: Flame.Compiler.dll
Syntax
public static class Operators
Fields
| Improve this Doc View SourceAll
An immutable array containing all standard array intrinsics.
Declaration
public static readonly ImmutableArray<string> All
Field Value
Type | Description |
---|---|
System.Collections.Immutable.ImmutableArray<System.String> |
GetElementPointer
The 'get_element_pointer' operator, which indexes an array and produces a reference to the indexed array element.
Declaration
public const string GetElementPointer = "get_element_pointer"
Field Value
Type | Description |
---|---|
System.String |
GetLength
The 'get_length' operator, which computes the number of elements in an array.
Declaration
public const string GetLength = "get_length"
Field Value
Type | Description |
---|---|
System.String |
LoadElement
The 'load_element' operator, which indexes an array and loads the indexed array element.
Declaration
public const string LoadElement = "load_element"
Field Value
Type | Description |
---|---|
System.String |
NewArray
The 'new_array' operator, which allocates a new array of a particular size.
Declaration
public const string NewArray = "new_array"
Field Value
Type | Description |
---|---|
System.String |
StoreElement
The 'store_element' operator, which indexes an array and updates the indexed array element.
Declaration
public const string StoreElement = "store_element"
Field Value
Type | Description |
---|---|
System.String |