Skip to main content

Module code_node

Module code_node 

Source
Expand description

Tree-based intermediate representation for code generation. Tree-based intermediate representation for code generation.

CodeNode is the internal IR used by CodeBlock. Each node is self-contained — type references, names, and nested blocks are stored inline rather than in a separate argument vector. This enables natural tree traversal for import collection, structural transformation, and rendering.

Enums§

CodeNode
A single node in the code generation tree.