nx_dom_click.nx
buildroot/runtime/nx_dom_click.nx
about
nx_dom_click.nx -- bits-up "click intent" extractor. Locates an
element by selector criteria and extracts its (action_id, arg0..arg3)
tuple from the data-action / data-arg0..3 attributes. The test
driver then passes those values to the game's nx_*_action() function
to simulate the click.
Composes nx_dom_query.nx (locates the element). Single-exit pattern
to sidestep the parser scope quirk noted in
[[project-bits-up-test-driver-roadmap-2026-05-20]].
dependencies 1 imports · 5 importers
imports: nx_dom_query.nx
imported by: nx_chk_bits_up_e2e.nxnx_dom_click_test.nxnx_test_driver_e2e.nxnx_test_harness.nxnx_ttt_bits_up_e2e.nx
structs
| 13 | struct NxClickIntent |
consts
| none |
functions
| 22 | func _ck_strlen(s: *u8) -> i64 |
| 30 | func _ck_parse_int(src: *u8, off: i64, len: i64, out_val: *i64) -> i64 |
| 54 | func nx_dom_attr_int_at(html: *u8, tag_off: i64, tag_len: i64, |
| 70 | func nx_dom_click_intent(html: *u8, html_len: i64, |
| 111 | func nx_dom_click_intent_by_class(html: *u8, html_len: i64, called by 1: nx_dom_click_test calls 4: nx_dom_find_classnx_dom_find_attr_ck_parse_intnx_dom_attr_int_at |