Class ArrayIntrinsics.Operators
A collection of names for array operations.
Inherited Members
Namespace: Flame.Compiler.Instructions
Assembly: Flame.Compiler.dll
Syntax
public static class ArrayIntrinsics.Operators
Fields
| Edit this page View SourceAll
An immutable array containing all standard array intrinsics.
Declaration
public static readonly ImmutableArray<string> All
Field Value
| Type | Description |
|---|---|
| ImmutableArray<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 |
|---|---|
| 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 |
|---|---|
| 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 |
|---|---|
| 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 |
|---|---|
| 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 |
|---|---|
| string |