/php-src/ext/dom/lexbor/lexbor/html/tree/ |
H A D | insertion_mode.h | 20 lxb_html_token_t *token); 24 lxb_html_token_t *token); 28 lxb_html_token_t *token); 32 lxb_html_token_t *token); 40 lxb_html_token_t *token); 44 lxb_html_token_t *token); 60 lxb_html_token_t *token); 64 lxb_html_token_t *token); 88 lxb_html_token_t *token); 92 lxb_html_token_t *token); [all …]
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | token.h | 51 lxb_html_token_t; typedef 54 LXB_API lxb_html_token_t * 57 LXB_API lxb_html_token_t * 64 lxb_html_token_attr_remove(lxb_html_token_t *token, 68 lxb_html_token_attr_delete(lxb_html_token_t *token, 94 lxb_html_token_doctype_parse(lxb_html_token_t *token, 106 lxb_html_token_clean(lxb_html_token_t *token) in lxb_html_token_clean() 108 memset(token, 0, sizeof(lxb_html_token_t)); in lxb_html_token_clean() 111 lxb_inline lxb_html_token_t * 121 lxb_html_token_clean_noi(lxb_html_token_t *token); [all …]
|
H A D | token.c | 24 lxb_html_token_t * 30 lxb_html_token_t * 83 lxb_html_token_attr_delete(lxb_html_token_t *token, in lxb_html_token_attr_delete() 141 lxb_html_token_make_text_replace_null(lxb_html_token_t *token, in lxb_html_token_make_text_replace_null() 179 lxb_html_token_data_skip_ws_begin(lxb_html_token_t *token) in lxb_html_token_data_skip_ws_begin() 232 lxb_html_token_data_split_ws_begin(lxb_html_token_t *token, in lxb_html_token_data_split_ws_begin() 233 lxb_html_token_t *ws_token) in lxb_html_token_data_split_ws_begin() 247 memset(ws_token, 0, sizeof(lxb_html_token_t)); in lxb_html_token_data_split_ws_begin() 259 lxb_html_token_doctype_parse(lxb_html_token_t *token, in lxb_html_token_doctype_parse() 377 lxb_html_token_clean_noi(lxb_html_token_t *token) in lxb_html_token_clean_noi() [all …]
|
H A D | tree.h | 27 lxb_html_token_t *token); 103 lxb_html_tree_parse_error(lxb_html_tree_t *tree, lxb_html_token_t *token, 108 lxb_html_token_t *token); 162 lxb_html_token_t *token); 169 lxb_html_token_t *token); 173 lxb_html_token_t *token); 213 lxb_html_token_t *token, 309 lxb_html_token_t *token) in lxb_html_tree_insert_html_element() 329 lxb_html_token_t *token) in lxb_html_tree_acknowledge_token_self_closing() 410 lxb_html_token_t *token); [all …]
|
H A D | tree.c | 38 static lxb_html_token_t * 40 lxb_html_token_t *token, void *ctx); 199 static lxb_html_token_t * 201 lxb_html_token_t *token, void *ctx) in lxb_html_tree_token_callback() 245 lxb_html_token_t *token) in lxb_html_tree_construction_dispatcher() 836 lxb_html_token_t *token) in lxb_html_tree_create_document_type_from_token() 871 lxb_html_token_t *token) in lxb_html_tree_generic_rawtext_parsing() 897 lxb_html_token_t *token) in lxb_html_tree_generic_rcdata_parsing() 1376 lxb_html_token_t *token, in lxb_html_tree_adoption_agency_algorithm() 1557 lxb_html_token_t fake_token = {0}; in lxb_html_tree_adoption_agency_algorithm() [all …]
|
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/ |
H A D | in_column_group.c | 13 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_anything_else() 33 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_text() 35 lxb_html_token_t ws_token = {0}; in lxb_html_tree_insertion_mode_in_column_group_text() 59 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_comment() 75 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_html() 82 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_col() 101 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_colgroup_closed() 121 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_col_closed() 130 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_template_open_closed() 137 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_column_group_end_of_file() [all …]
|
H A D | in_head_noscript.c | 13 lxb_html_token_t *token); 17 lxb_html_token_t *token); 22 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_noscript() 33 lxb_html_token_t *token); 38 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_noscript_open() 66 lxb_html_token_t ws_token = {0}; in lxb_html_tree_insertion_mode_in_head_noscript_open() 97 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_noscript_closed() 111 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_noscript_anything_else()
|
H A D | before_head.c | 12 lxb_html_token_t *token); 16 lxb_html_token_t *token); 23 lxb_html_token_t *token); 28 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_before_head() 39 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_before_head_open() 96 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_before_head_closed() 117 lxb_html_token_t fake_token = {0}; in lxb_html_tree_insertion_mode_before_head_anything_else() 134 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_before_head_head()
|
H A D | in_select.c | 13 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_text() 50 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_comment() 66 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_doctype() 75 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_html() 82 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_option() 103 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_optgroup() 159 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_option_closed() 198 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_select() 223 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_ikt() 256 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_end_of_file() [all …]
|
H A D | in_table.c | 29 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_text_open() 54 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_comment() 70 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_doctype() 79 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_caption() 124 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_col() 127 lxb_html_token_t fake_token = {0}; in lxb_html_tree_insertion_mode_in_table_col() 152 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_tbtfth() 178 lxb_html_token_t fake_token = {0}; in lxb_html_tree_insertion_mode_in_table_tdthtr() 200 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_table() 308 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_form() [all …]
|
H A D | in_table_body.c | 30 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_tr() 53 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_thtd() 55 lxb_html_token_t fake_token; in lxb_html_tree_insertion_mode_in_table_body_thtd() 85 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_tbtfth_closed() 112 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_ct_open_closed() 136 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_bcht_closed() 145 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_anything_else() 152 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_anything_else_closed() 160 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body()
|
H A D | in_cell.c | 13 lxb_html_tree_close_cell(lxb_html_tree_t *tree, lxb_html_token_t *token) in lxb_html_tree_close_cell() 40 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell_tdth_closed() 77 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell_ct() 98 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell_bch_closed() 110 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell_t_closed() 129 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell_anything_else() 136 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell_anything_else_closed() 143 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell()
|
H A D | after_head.c | 13 lxb_html_token_t *token); 16 lxb_html_token_t *token); 23 lxb_html_token_t *token); 28 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_head() 39 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_head_open() 138 lxb_html_token_t ws_token = {0}; in lxb_html_tree_insertion_mode_after_head_open() 168 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_head_closed() 192 lxb_html_token_t fake_token = {0}; in lxb_html_tree_insertion_mode_after_head_anything_else() 211 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_head_create_body()
|
H A D | in_row.c | 32 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_thtd() 57 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_tr_closed() 84 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_ct_open_closed() 109 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_tbtfth_closed() 140 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_bcht_closed() 149 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_anything_else() 156 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_anything_else_closed() 163 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row()
|
H A D | in_caption.c | 14 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption_caption_closed() 53 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption_ct_open_closed() 91 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption_bcht_closed() 100 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption_anything_else() 107 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption_anything_else_closed() 114 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption()
|
H A D | in_select_in_table.c | 16 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_in_table_ct() 33 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_in_table_ct_closed() 55 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_in_table_anything_else() 62 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_in_table_anything_else_closed() 70 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_in_table()
|
H A D | in_head.c | 18 lxb_html_token_t *token); 22 lxb_html_token_t *token); 26 lxb_html_token_t *token); 30 lxb_html_token_t *token); 34 lxb_html_token_t *token); 42 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head() 53 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_open() 181 lxb_html_token_t ws_token = {0}; in lxb_html_tree_insertion_mode_in_head_open() 211 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_closed() 242 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_script() [all …]
|
H A D | in_template.c | 18 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_ct() 35 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_col() 52 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_tr() 72 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_tdth() 89 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_end_of_file() 118 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_anything_else() 135 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template()
|
H A D | in_body.c | 77 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_text() 172 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_html() 205 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_blmnst() 212 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_body() 280 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_eof() 453 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_form() 489 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_li() 801 lxb_html_token_t fake_token = {0}; in lxb_html_tree_insertion_mode_in_body_p_closed() 916 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_a() 1269 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_body_hr() [all …]
|
H A D | before_html.c | 14 lxb_html_token_t *token); 18 lxb_html_token_t *token); 30 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_before_html() 41 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_before_html_open() 109 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_before_html_closed()
|
H A D | foreign_content.c | 24 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() 61 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content_script_closed() 77 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content_anything_else() 129 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content_text() 204 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content_comment() 220 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content_doctype() 237 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content_all() 284 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_foreign_content()
|
H A D | after_after_body.c | 12 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_after_body() 40 lxb_html_token_t ws_token = *token; in lxb_html_tree_insertion_mode_after_after_body()
|
H A D | after_after_frameset.c | 12 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_after_frameset() 43 lxb_html_token_t ws_token = *token; in lxb_html_tree_insertion_mode_after_after_frameset()
|
H A D | initial.c | 109 lxb_html_token_t *token); 114 lxb_html_token_t *token, bool is_html); 135 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_initial() 187 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_initial_doctype() 227 lxb_html_token_t *token, bool is_html) in lxb_html_tree_insertion_mode_initial_doctype_ckeck()
|
H A D | after_body.c | 13 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_body() 60 lxb_html_token_t ws_token = *token; in lxb_html_tree_insertion_mode_after_body()
|