nx_html_tokenizer.nx
buildroot/runtime/nx_html_tokenizer.nx
about
dependencies 0 imports · 37 importers
diagram shows first 10 each side; +0 more imports, +27 more importers in the complete lists below.
imports: none
imported by: nx_align_gate.nxnx_browse.nxnx_browser.nxnx_browser_demo_html.nxnx_browser_demo_html_nishi.nxnx_browser_demo_styled.nxnx_browser_forms.nxnx_browser_render.nxnx_cdata_probe.nxnx_css_boxmap_test.nxnx_css_cascade_test.nxnx_css_extract_test.nxnx_dom_query.nxnx_domtree.nxnx_flexgrow_gate.nxnx_flexgrow_probe.nxnx_float_gate.nxnx_float_test.nxnx_grid_gate.nxnx_grid_test.nxnx_grid_track_gate.nxnx_html5_raw_text_test.nxnx_html_extract_imgs.nxnx_html_extract_links.nxnx_js_eval.nxnx_justify_gate.nxnx_layout_debug.nxnx_layout_from_dom.nxnx_layout_from_dom_test.nxnx_negmargin_gate.nxnx_real_page_gate.nxnx_render_html.nxnx_render_wiki_styled_window.nxnx_table_cell_gate.nxnx_tok_attr_probe.nxnx_tok_debug.nxnx_wiki_boxdump.nx
structs
| 70 | struct HtmlToken |
| 81 | struct HtmlCursor |
consts
| 58 | const NX_HTML_TOK_UNKNOWN: i64 = 0 |
| 59 | const NX_HTML_TOK_DOCTYPE: i64 = 1 |
| 60 | const NX_HTML_TOK_START_TAG: i64 = 2 |
| 61 | const NX_HTML_TOK_END_TAG: i64 = 3 |
| 62 | const NX_HTML_TOK_SELF_CLOSING: i64 = 4 |
| 63 | const NX_HTML_TOK_TEXT: i64 = 5 |
| 64 | const NX_HTML_TOK_COMMENT: i64 = 6 |
| 65 | const NX_HTML_TOK_EOF: i64 = 7 |
| 66 | const NX_HTML_TOK_N: i64 = 8 |
functions
| 87 | func nx_html_cursor_init(c: *HtmlCursor, src: *u8, src_len: i64) -> i64 |
| 95 | func _lc(b: i64) -> i64 |
| 105 | func _is_ws(b: i64) -> i64 |
| 115 | func _is_name(b: i64) -> i64 called by 1: _scan_name |
| 126 | func _skip_ws(src: *u8, src_len: i64, p: i64) -> i64 calls 1: _is_ws |
| 136 | func _scan_name(src: *u8, src_len: i64, p: i64) -> i64 |
| 151 | func _is_void_element(src: *u8, name_off: i64, name_len: i64) -> i64 |
| 208 | func nx_html_next_token(c: *HtmlCursor, out: *HtmlToken) -> i64 called by 23: mainbr_extractbf_parsebr_extractbm_extractcc_extract+17 calls 2: _scan_name_is_void_element |
| 396 | func nx_html_name_eq(src: *u8, name_off: i64, name_len: i64, calls 1: _lc |
| 408 | func nx_html_tok_kind_is_valid(k: i64) -> i64 |
| 432 | func nx_html_is_raw_text_tag(src: *u8, name_off: i64, name_len: i64) -> i64 |
| 484 | func nx_html_consume_raw_text(c: *HtmlCursor, tag_name: *u8, tag_name_len: i64, |
| 553 | func _entity_emit_u32(cp_in: i64, dst: *u8, dst_pos: i64, dst_cap: i64) -> i64 called by 1: nx_html_entity_decode |
| 586 | func _entity_name_eq(src: *u8, sp: i64, src_len: i64, lit: *u8, nlen: i64) -> i64 |
| 597 | func _hex_val(b: i64) -> i64 called by 1: _parse_numeric_entity |
| 605 | func _dec_val(b: i64) -> i64 called by 1: _parse_numeric_entity |
| 613 | func _parse_numeric_entity(src: *u8, body_off: i64, body_len: i64) -> i64 |
| 639 | func _lookup_named_entity(src: *u8, body_off: i64, body_len: i64) -> i64 |
| 669 | func nx_html_entity_decode(src: *u8, src_len: i64, dst: *u8, dst_cap: i64) -> i64 |