code wiki / (root) / nx_css_tokenize_test.nx

nx_css_tokenize_test.nx

buildroot/runtime/nx_css_tokenize_test.nx

6021 B188 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic css
docsdependenciesstructsconstsfunctions

about

nx_css_tokenize_test.nx -- smoke for the CSS tokenizer Phase-2 seed. Tokenizes a small fixture CSS document and asserts each expected token kind + body extraction. No allocation beyond the caller's buffers per the tokenizer contract.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_css_tokenize.nx nx_css_tokenize_test.nx

imports: nx_syscalls.nxnx_css_tokenize.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 _build_fixture sys_mmap ↻ _put_byte nx_css_cursor_init nx_css_next_token _css_peek _css_is_space _css_is_hex _css_is_digit _css_consume_hex_run _css_peek ↻ _css_is_hex ↻ _css_is_ident_start _css_is_alpha _css_consume_string _css_peek ↻ _css_is_digit ↻ _css_consume_number _css_peek ↻ _css_is_digit ↻ _css_consume_ident _css_peek ↻ _css_is_ident_continue _css_is_alpha ↻ _css_is_digit ↻

structs

none

consts

none

functions

10func _put_byte(buf: *u8, i: i64, v: i64) -> i64
called by 1: _build_fixture
19func _build_fixture(out_len: *i64) -> *u8
called by 1: main calls 2: sys_mmap_put_byte
68func main() -> i64