code wiki / _hdl_build / nx_ext_test.nx
nx_ext_test.nx
buildroot/runtime/_hdl_build/nx_ext_test.nx
about
nx_ext_test.nx -- isolate jQuery's ce.extend({config}) pattern: a METHOD call whose `this` = the FUNCTION ce,
copying config props via for-in onto the function (a[t]=e[t] with a=this=function). THREW = the gap.
dependencies 2 imports · 0 importers
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
structs
| none |
consts
| none |
functions
| 5 | func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 6 | func cw(s: *u8) -> i64 { sys_write(1,s,slen(s)); return 0 } |
| 7 | func run1(label: *u8, js: *u8) -> i64 |
| 18 | func main() -> i64 calls 1: run1 |