Skip to main content

Module node

Module node 

Source
Expand description

The guest side of the node API, so a rule reads an ordinary type and not offsets

A rule runs in the wasm form, where larvae hands each host function below to the module as it instantiates it. Node and every method of it stay on each target all the same, so a worm reads one API whichever form it ships as, and the rules! macro expands wherever it is written.

Structsยง

Node
A handle to one node of the larvae AST, valid only for the file it came from