code wiki / (root) / nx_value_test.nx

nx_value_test.nx

buildroot/runtime/nx_value_test.nx

6016 B128 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic value
docsdependenciesstructsconstsfunctions

about

nx_value_test.nx -- end-to-end smoke for nx_value tagged tree. Builds the tree representation of: {"name":"potato","kingdom":"Plantae","key":42,"children":[1,2,3]} manually via constructors, then exercises every accessor + lookup.

dependencies 2 imports · 0 importers

syscalls.nx nx_value.nx nx_value_test.nx

imports: syscalls.nxnx_value.nx

imported by: nobody (leaf or entry point)

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

main nx_value_new_null nx_value_kind nx_value_is_null nx_value_new_bool nx_value_new_null ↻ nx_value_new_int nx_value_new_null ↻ nx_value_new_string nx_value_new_null ↻ nx_value_bytes_equal nx_value_new_array nx_value_new_null ↻ nx_value_array_len nx_value_array_get nx_value_new_object nx_value_new_null ↻ nx_value_object_get nx_value_bytes_equal ↻ nx_value_object_get_string nx_value_object_get ↻ nx_value_object_get_int nx_value_object_get ↻ nx_value_object_index_of nx_value_bytes_equal ↻

structs

none

consts

none

functions

10func main() -> i64