|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Mutable tokenizer state threaded through the scan helpers. More...
Data Fields | |
| reflow_t * | engine |
| Target engine pools. | |
| uint8_t | style |
| Current inline-style bits. | |
| uint8_t | active_link |
| 1-based link id (0 = none). | |
| uint32_t | color |
| Current CSS colour / inherit. | |
| uint16_t | css_font_px |
| Inherited CSS font px (0=none). | |
| uint16_t | family_off |
| Inherited font-family slice off. | |
| uint16_t | family_len |
| Inherited font-family len (0=none). | |
| uint8_t | face_slot |
| Resolved embedded face (0=default). | |
| ra8_css_element_t | stack_el [k_priv_max_depth] |
| Open-element identities (tag+id+class) for the cascade + descendant match. | |
| uint8_t | stack_style [k_priv_max_depth] |
| Style to restore on pop. | |
| uint8_t | stack_link [k_priv_max_depth] |
| Link id to restore on pop. | |
| uint32_t | stack_color [k_priv_max_depth] |
| Colour to restore on pop. | |
| uint16_t | stack_font [k_priv_max_depth] |
| CSS font px to restore on pop. | |
| uint16_t | stack_fam_off [k_priv_max_depth] |
| font-family off to restore. | |
| uint16_t | stack_fam_len [k_priv_max_depth] |
| font-family len to restore. | |
| uint8_t | stack_face [k_priv_max_depth] |
| Face slot to restore on pop. | |
| uint32_t | sp |
| Stack depth. | |
| uint32_t | suppress_sp |
| display:none subtree depth (0=off). | |
| bool | saw_element |
| At least one element seen. | |
Mutable tokenizer state threaded through the scan helpers.
Definition at line 52 of file reflow_tokenize.c.
| uint8_t tok_ctx_t::active_link |
1-based link id (0 = none).
Definition at line 55 of file reflow_tokenize.c.
Referenced by internal_emit_text_run(), internal_handle_end(), internal_handle_start(), and internal_open_attrs().
| uint32_t tok_ctx_t::color |
Current CSS colour / inherit.
Definition at line 56 of file reflow_tokenize.c.
Referenced by internal_emit_text_run(), internal_handle_end(), internal_handle_start(), internal_open_styled(), and priv_reflow_xml_walk().
| uint16_t tok_ctx_t::css_font_px |
Inherited CSS font px (0=none).
Definition at line 57 of file reflow_tokenize.c.
Referenced by internal_css_font_px(), internal_handle_end(), internal_handle_start(), and internal_open_styled().
| reflow_t* tok_ctx_t::engine |
Target engine pools.
Definition at line 53 of file reflow_tokenize.c.
Referenced by internal_css_font_px(), internal_emit_text_run(), internal_handle_cdata(), internal_handle_end(), internal_handle_link(), internal_handle_raw_text(), internal_handle_start(), internal_handle_void(), internal_open_attrs(), internal_open_styled(), and priv_reflow_xml_walk().
| uint8_t tok_ctx_t::face_slot |
Resolved embedded face (0=default).
Definition at line 60 of file reflow_tokenize.c.
Referenced by internal_emit_text_run(), internal_handle_cdata(), internal_handle_end(), internal_handle_start(), and internal_open_styled().
| uint16_t tok_ctx_t::family_len |
Inherited font-family len (0=none).
Definition at line 59 of file reflow_tokenize.c.
Referenced by internal_handle_end(), internal_handle_start(), and internal_open_styled().
| uint16_t tok_ctx_t::family_off |
Inherited font-family slice off.
Definition at line 58 of file reflow_tokenize.c.
Referenced by internal_handle_end(), internal_handle_start(), and internal_open_styled().
| bool tok_ctx_t::saw_element |
At least one element seen.
Definition at line 72 of file reflow_tokenize.c.
Referenced by internal_handle_raw_text(), internal_handle_start(), and priv_reflow_xml_walk().
| uint32_t tok_ctx_t::sp |
Stack depth.
Definition at line 70 of file reflow_tokenize.c.
Referenced by internal_emit_text_run(), internal_handle_cdata(), internal_handle_end(), internal_handle_start(), internal_open_styled(), and priv_reflow_xml_walk().
| uint32_t tok_ctx_t::stack_color[k_priv_max_depth] |
Colour to restore on pop.
Definition at line 65 of file reflow_tokenize.c.
Referenced by internal_handle_end(), and internal_handle_start().
| ra8_css_element_t tok_ctx_t::stack_el[k_priv_max_depth] |
Open-element identities (tag+id+class) for the cascade + descendant match.
Definition at line 62 of file reflow_tokenize.c.
Referenced by internal_handle_end(), internal_handle_start(), and internal_open_styled().
| uint8_t tok_ctx_t::stack_face[k_priv_max_depth] |
Face slot to restore on pop.
Definition at line 69 of file reflow_tokenize.c.
Referenced by internal_handle_end(), and internal_handle_start().
| uint16_t tok_ctx_t::stack_fam_len[k_priv_max_depth] |
font-family len to restore.
Definition at line 68 of file reflow_tokenize.c.
Referenced by internal_handle_end(), and internal_handle_start().
| uint16_t tok_ctx_t::stack_fam_off[k_priv_max_depth] |
font-family off to restore.
Definition at line 67 of file reflow_tokenize.c.
Referenced by internal_handle_end(), and internal_handle_start().
| uint16_t tok_ctx_t::stack_font[k_priv_max_depth] |
CSS font px to restore on pop.
Definition at line 66 of file reflow_tokenize.c.
Referenced by internal_handle_end(), and internal_handle_start().
| uint8_t tok_ctx_t::stack_link[k_priv_max_depth] |
Link id to restore on pop.
Definition at line 64 of file reflow_tokenize.c.
Referenced by internal_handle_end(), and internal_handle_start().
| uint8_t tok_ctx_t::stack_style[k_priv_max_depth] |
Style to restore on pop.
Definition at line 63 of file reflow_tokenize.c.
Referenced by internal_handle_end(), and internal_handle_start().
| uint8_t tok_ctx_t::style |
Current inline-style bits.
Definition at line 54 of file reflow_tokenize.c.
Referenced by internal_emit_text_run(), internal_handle_cdata(), internal_handle_end(), internal_handle_start(), internal_handle_void(), internal_open_attrs(), internal_open_styled(), and priv_reflow_xml_walk().
| uint32_t tok_ctx_t::suppress_sp |
display:none subtree depth (0=off).
Definition at line 71 of file reflow_tokenize.c.
Referenced by internal_handle_end(), internal_open_styled(), and internal_suppressed().