code wiki / (root) / nx_dom_query_test.nx

nx_dom_query_test.nx

buildroot/runtime/nx_dom_query_test.nx

7624 B164 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic dom
docsdependenciesstructsconstsfunctions

about

nx_dom_query_test.nx -- smoke test for nx_dom_query.nx. Tests against a representative bits-up game-emitted HTML buffer (the kind nx_checkers_render.nx writes to fd 99). Covers all four queries plus the underlying attribute scanner.

dependencies 1 imports · 0 importers

nx_dom_query.nx nx_dom_query_test.nx

imports: nx_dom_query.nx

imported by: nobody (leaf or entry point)

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

main nx_dom_query_test _dqt_wln _dqt_w _dqt_strlen _dqt_strlen ↻ nx_dom_count_class sys_mmap nx_html_cursor_init nx_html_next_token _scan_name _is_name _is_void_element _lc _dq_is_elem nx_dom_find_attr _dq_strlen _dq_find_substr_ci _dq_byte_eq_ci _dq_lc nx_dom_class_contains _dq_strlen ↻ _dq_byte_eq _dq_is_word_boundary _dqt_assert_int _dqt_w ↻ _dqt_wln ↻ nx_dom_count_tag sys_mmap ↻ nx_html_cursor_init ↻ _dq_strlen ↻ nx_html_next_token ↻ _dq_is_elem ↻ _dq_byte_eq ↻ nx_dom_find_class sys_mmap ↻ nx_html_cursor_init ↻ nx_html_next_token ↻ _dq_is_elem ↻ nx_dom_find_attr ↻

structs

none

consts

none

functions

11func _dqt_strlen(s: *u8) -> i64
17func _dqt_w(s: *u8) -> i64
21func _dqt_wln(s: *u8) -> i64
28func _dqt_assert_int(label: *u8, got: i64, want: i64,
called by 1: nx_dom_query_test calls 2: _dqt_w_dqt_wln
43func nx_dom_query_test() -> i64
162func main() -> i64