farmbot v6.4.1 Farmbot.CeleryScript.AST.Heap View Source

A heap-ish data structure required when converting canonical CeleryScript AST nodes into the Flat IR form. This data structure is useful because it addresses each node in the CeleryScript tree via a unique numerical index, rather than using mutable references. MORE INFO: https://github.com/FarmBot-Labs/Celery-Slicer

Link to this section Summary

Functions

Alot a new kind on the heap. Increments here on the heap

Initialize a new heap

Puts a key/value pair at here on the heap

Puts a key/value pair at an arbitrary address on the heap

Gets the values of the heap entries

Link to this section Functions

Alot a new kind on the heap. Increments here on the heap.

Initialize a new heap.

Puts a key/value pair at here on the heap.

Link to this function put(heap, addr, key, value) View Source

Puts a key/value pair at an arbitrary address on the heap.

Gets the values of the heap entries.