code wiki / (root) / nx_layout_box_test.nx

nx_layout_box_test.nx

buildroot/runtime/nx_layout_box_test.nx

5566 B123 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic layout
docsdependenciesstructsconstsfunctions

about

nx_layout_box_test.nx -- smoke for the layout-box tree primitive. Builds a small box tree: root (BLOCK) ├── header (BLOCK) │ ├── h1 (BLOCK) │ └── nav (INLINE) ├── main (BLOCK) │ └── p (BLOCK) │ └── text (TEXT) └── footer (BLOCK) and asserts tree structure: 7 boxes, parent/child/sibling links correct, child-counts match.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_layout_box.nx nx_layout_box_test.nx

imports: nx_syscalls.nxnx_layout_box.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nx_layout_tree_init nx_layout_box_append _layout_box_at nx_layout_box_attach_child _layout_box_at ↻ nx_layout_box_child_count _layout_box_at ↻ nx_layout_box_set_style _layout_box_at ↻ nx_layout_box_set_text _layout_box_at ↻

structs

none

consts

none

functions

17func main() -> i64