|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One parsed token in the engine's token stream. More...
#include <reflow_types.h>
Data Fields | |
| uint8_t | kind |
| reflow_token_kind_t. | |
| uint8_t | tag |
| reflow_html_tag_t (0 if N/A). | |
| uint8_t | style |
| Font-style bitmask. | |
| uint8_t | reserved |
| Block align / <a> link id. | |
| uint32_t | text_off |
| Byte offset into the text pool. | |
| uint32_t | text_len |
| Byte length within the text pool. | |
| uint32_t | color |
| 0xRRGGBB CSS colour, or k_reflow_color_inherit. | |
| uint16_t | css_font_px |
| Block-start CSS font px (0 = none -> UA default). | |
| uint16_t | reserved16 |
| Padding to 4-byte stride. | |
One parsed token in the engine's token stream.
Internal-but-exposed so the engine handle can statically allocate an array of these. Treat fields as read-only outside of reflow_*.
Definition at line 220 of file reflow_types.h.
| uint32_t reflow_token_t::color |
0xRRGGBB CSS colour, or k_reflow_color_inherit.
Definition at line 227 of file reflow_types.h.
Referenced by internal_emit_text_run(), internal_layout_text(), and priv_reflow_tok_emit().
| uint16_t reflow_token_t::css_font_px |
Block-start CSS font px (0 = none -> UA default).
Definition at line 228 of file reflow_types.h.
Referenced by internal_open_attrs(), internal_open_block(), and priv_reflow_tok_emit().
| uint8_t reflow_token_t::kind |
Definition at line 221 of file reflow_types.h.
Referenced by internal_is_cell_start(), internal_is_row_start(), internal_layout_cell(), internal_layout_tokens(), internal_match_block_end(), priv_reflow_layout_apply_token(), and priv_reflow_tok_emit().
| uint8_t reflow_token_t::reserved |
Block align / <a> link id.
Definition at line 224 of file reflow_types.h.
Referenced by internal_emit_text_run(), internal_layout_text(), internal_open_attrs(), internal_open_block(), and priv_reflow_tok_emit().
| uint16_t reflow_token_t::reserved16 |
Padding to 4-byte stride.
Definition at line 229 of file reflow_types.h.
Referenced by internal_emit_text_run(), internal_handle_cdata(), priv_reflow_layout_apply_token(), and priv_reflow_tok_emit().
| uint8_t reflow_token_t::style |
Font-style bitmask.
Definition at line 223 of file reflow_types.h.
Referenced by priv_reflow_layout_apply_token(), and priv_reflow_tok_emit().
| uint8_t reflow_token_t::tag |
reflow_html_tag_t (0 if N/A).
Definition at line 222 of file reflow_types.h.
Referenced by internal_close_block(), internal_is_cell_start(), internal_is_row_start(), internal_layout_tokens(), internal_match_block_end(), internal_open_block(), and priv_reflow_tok_emit().
| uint32_t reflow_token_t::text_len |
Byte length within the text pool.
Definition at line 226 of file reflow_types.h.
Referenced by internal_cell_text(), internal_image_record(), internal_image_resolve_size(), internal_layout_text(), internal_open_block(), priv_reflow_layout_apply_image(), and priv_reflow_tok_emit().
| uint32_t reflow_token_t::text_off |
Byte offset into the text pool.
Definition at line 225 of file reflow_types.h.
Referenced by internal_cell_text(), internal_image_record(), internal_image_resolve_size(), internal_layout_text(), internal_open_block(), and priv_reflow_tok_emit().