code wiki / _hdl_build / nx_js_render_emit.nx

nx_js_render_emit.nx

buildroot/runtime/_hdl_build/nx_js_render_emit.nx

1491 B33 linesdepth 7pulls 22 transitivereach 0 importersview sourcekind tooltopic js
docsdependenciesstructsconstsfunctions

about

nx_js_render_emit.nx -- read _offc/nxjs_in.html, run js_render_page (execute the page's inline scripts against a mutable DOM, serialize the mutated tree), and WRITE the result to _offc/nxhtml.html so the existing nx_browser_render_shot can rasterize it. Proves JS-built content reaches the renderer.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_js_eval.nx nx_js_render_emit.nx

imports: nx_syscalls.nxnx_js_eval.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 sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_write sys_openat_wr sys_close ↻ jre_pn sys_mmap ↻ sys_write ↻

structs

none

consts

6const K_MAGIC_1048576: i64 = 1048576

functions

8func jre_pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
17func main() -> i64