/php-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | token.h | 20 #define lxb_css_syntax_token_base(token) ((lxb_css_syntax_token_base_t *) (token)) argument 21 #define lxb_css_syntax_token_ident(token) ((lxb_css_syntax_token_ident_t *) (token)) argument 22 #define lxb_css_syntax_token_function(token) ((lxb_css_syntax_token_function_t *) (token)) argument 24 #define lxb_css_syntax_token_hash(token) ((lxb_css_syntax_token_hash_t *) (token)) argument 25 #define lxb_css_syntax_token_string(token) ((lxb_css_syntax_token_string_t *) (token)) argument 27 #define lxb_css_syntax_token_url(token) ((lxb_css_syntax_token_url_t *) (token)) argument 29 #define lxb_css_syntax_token_delim(token) ((lxb_css_syntax_token_delim_t *) (token)) argument 36 #define lxb_css_syntax_token_cdo(token) ((lxb_css_syntax_token_cdo_t *) (token)) argument 37 #define lxb_css_syntax_token_cdc(token) ((lxb_css_syntax_token_cdc_t *) (token)) argument 279 return token->type; in lxb_css_syntax_token_type() [all …]
|
H A D | parser.c | 162 if (token != NULL && token->type == LXB_CSS_SYNTAX_TOKEN_WHITESPACE) { in lxb_css_syntax_parser_token_wo_ws() 167 return token; in lxb_css_syntax_parser_token_wo_ws() 646 return token; in lxb_css_syntax_parser_list_rules() 816 return token; in lxb_css_syntax_parser_at_rule() 926 return token; in lxb_css_syntax_parser_qualified_rule() 1302 return token; in lxb_css_syntax_parser_declarations_value() 1435 return token; in lxb_css_syntax_parser_declarations_drop() 1558 return token; in lxb_css_syntax_parser_components() 1633 return token; in lxb_css_syntax_parser_function() 1700 return token; in lxb_css_syntax_parser_block() [all …]
|
H A D | state.c | 215 token->type = LXB_CSS_SYNTAX_TOKEN_DELIM; in lxb_css_syntax_state_delim_set() 401 token->type = LXB_CSS_SYNTAX_TOKEN_DELIM; in lxb_css_syntax_state_comment() 650 token->type = LXB_CSS_SYNTAX_TOKEN_STRING; in lxb_css_syntax_state_string() 717 token->type = LXB_CSS_SYNTAX_TOKEN_HASH; in lxb_css_syntax_state_hash() 732 token->type = LXB_CSS_SYNTAX_TOKEN_DELIM; in lxb_css_syntax_state_hash() 851 token->type = LXB_CSS_SYNTAX_TOKEN_DELIM; in lxb_css_syntax_state_plus_process() 867 token->type = LXB_CSS_SYNTAX_TOKEN_COMMA; in lxb_css_syntax_state_comma() 1064 token->type = LXB_CSS_SYNTAX_TOKEN_DELIM; in lxb_css_syntax_state_minus_process() 1117 token->type = LXB_CSS_SYNTAX_TOKEN_DELIM; in lxb_css_syntax_state_full_stop() 1132 token->type = LXB_CSS_SYNTAX_TOKEN_COLON; in lxb_css_syntax_state_colon() [all …]
|
H A D | state.h | 20 lxb_css_syntax_token_t *token, 24 lxb_css_syntax_state_comment(lxb_css_syntax_tokenizer_t *tkz, lxb_css_syntax_token_t *token, 32 lxb_css_syntax_state_string(lxb_css_syntax_tokenizer_t *tkz, lxb_css_syntax_token_t *token, 36 lxb_css_syntax_state_hash(lxb_css_syntax_tokenizer_t *tkz, lxb_css_syntax_token_t *token, 48 lxb_css_syntax_state_plus(lxb_css_syntax_tokenizer_t *tkz, lxb_css_syntax_token_t *token, 53 lxb_css_syntax_token_t *token, 57 lxb_css_syntax_state_comma(lxb_css_syntax_tokenizer_t *tkz, lxb_css_syntax_token_t *token, 66 lxb_css_syntax_token_t *token, 86 lxb_css_syntax_state_at(lxb_css_syntax_tokenizer_t *tkz, lxb_css_syntax_token_t *token, 115 lxb_css_syntax_token_t *token, [all …]
|
/php-src/ext/dom/lexbor/lexbor/css/property/ |
H A D | state.h | 19 const lxb_css_syntax_token_t *token, void *ctx); 22 const lxb_css_syntax_token_t *token, void *ctx); 25 const lxb_css_syntax_token_t *token, void *ctx); 28 const lxb_css_syntax_token_t *token, void *ctx); 31 const lxb_css_syntax_token_t *token, void *ctx); 34 const lxb_css_syntax_token_t *token, void *ctx); 37 const lxb_css_syntax_token_t *token, void *ctx); 55 const lxb_css_syntax_token_t *token, void *ctx); 115 const lxb_css_syntax_token_t *token, void *ctx); 124 const lxb_css_syntax_token_t *token, void *ctx); [all …]
|
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/ |
H A D | in_column_group.c | 18 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_column_group_anything_else() 49 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_in_column_group_text() 63 comment = lxb_html_tree_insert_comment(tree, token, NULL); in lxb_html_tree_insertion_mode_in_column_group_comment() 77 return lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_column_group_html() 86 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_in_column_group_col() 94 lxb_html_tree_acknowledge_token_self_closing(tree, token); in lxb_html_tree_insertion_mode_in_column_group_col() 106 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_column_group_colgroup_closed() 132 return lxb_html_tree_insertion_mode_in_head(tree, token); in lxb_html_tree_insertion_mode_in_column_group_template_open_closed() 153 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_column_group() 154 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_column_group() [all …]
|
H A D | in_head_noscript.c | 13 lxb_html_token_t *token); 22 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head_noscript() argument 24 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_head_noscript() 40 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_head_noscript_open() 42 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_head_noscript_open() 47 return lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_head_noscript_open() 56 return lxb_html_tree_insertion_mode_in_head(tree, token); in lxb_html_tree_insertion_mode_in_head_noscript_open() 60 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_head_noscript_open() 81 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_in_head_noscript_open() 99 if(token->tag_id == LXB_TAG_BR) { in lxb_html_tree_insertion_mode_in_head_noscript_closed() [all …]
|
H A D | in_select.c | 13 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_text() argument 17 if (token->null_count != 0) { in lxb_html_tree_insertion_mode_in_select_text() 18 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_select_text() 25 tree->status = lxb_html_token_make_text(token, &str, in lxb_html_tree_insertion_mode_in_select_text() 54 comment = lxb_html_tree_insert_comment(tree, token, NULL); in lxb_html_tree_insertion_mode_in_select_comment() 77 return lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_select_html() 147 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_select_optgroup_closed() 164 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_select_option_closed() 283 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_select() 284 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_select() [all …]
|
H A D | in_cell.c | 25 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_close_cell() 57 if (lxb_html_tree_node_is(node, token->tag_id) == false) { in lxb_html_tree_insertion_mode_in_cell_tdth_closed() 58 lxb_html_tree_parse_error(tree, 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() argument 88 lxb_html_tree_close_cell(tree, token); in lxb_html_tree_insertion_mode_in_cell_ct() 122 lxb_html_tree_close_cell(tree, token); in lxb_html_tree_insertion_mode_in_cell_t_closed() 131 return lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_cell_anything_else() 143 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_cell() argument 145 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_cell() 146 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_cell() [all …]
|
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() argument 18 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_UNTO); in lxb_html_tree_insertion_mode_in_select_in_table_ct() 37 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_UNCLTO); in lxb_html_tree_insertion_mode_in_select_in_table_ct_closed() 39 node = lxb_html_tree_element_in_scope(tree, token->tag_id, LXB_NS_HTML, in lxb_html_tree_insertion_mode_in_select_in_table_ct_closed() 57 return lxb_html_tree_insertion_mode_in_select(tree, token); in lxb_html_tree_insertion_mode_in_select_in_table_anything_else() 70 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_select_in_table() argument 72 if (token->tag_id >= LXB_TAG__LAST_ENTRY) { in lxb_html_tree_insertion_mode_in_select_in_table() 73 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_select_in_table() 82 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_select_in_table() 83 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_select_in_table() [all …]
|
H A D | in_body.c | 31 if (token->tag_id != LXB_TAG__TEXT) { in lxb_html_tree_insertion_mode_in_body_skip_new_line() 40 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_in_body_skip_new_line() 58 if (token->tag_id != LXB_TAG__TEXT) { in lxb_html_tree_insertion_mode_in_body_skip_new_line_textarea() 67 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_in_body_skip_new_line_textarea() 81 if (token->null_count != 0) { in lxb_html_tree_insertion_mode_in_body_text() 1200 token->type ^= (token->type & LXB_HTML_TOKEN_TYPE_CLOSE); in lxb_html_tree_insertion_mode_in_body_br_closed() 1201 token->attr_first = NULL; in lxb_html_tree_insertion_mode_in_body_br_closed() 1202 token->attr_last = NULL; in lxb_html_tree_insertion_mode_in_body_br_closed() 1301 token->tag_id = LXB_TAG_IMG; in lxb_html_tree_insertion_mode_in_body_image() 1689 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_body() [all …]
|
H A D | in_table.c | 58 comment = lxb_html_tree_insert_comment(tree, token, NULL); in lxb_html_tree_insertion_mode_in_table_comment() 90 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_in_table_caption() 110 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_in_table_colgroup() 158 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_in_table_tbtfth() 259 return lxb_html_tree_insertion_mode_in_head(tree, token); in lxb_html_tree_insertion_mode_in_table_st_open_closed() 267 lxb_html_token_attr_t *attr = token->attr_first; in lxb_html_tree_insertion_mode_in_table_input() 290 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_in_table_input() 353 lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_table_anything_else() 374 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_table() 375 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_table() [all …]
|
H A D | in_caption.c | 14 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption_caption_closed() argument 21 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_MIELINSC); in lxb_html_tree_insertion_mode_in_caption_caption_closed() 32 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_caption_caption_closed() 71 lxb_html_tree_parse_error(tree, 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() argument 93 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_UNCLTO); in lxb_html_tree_insertion_mode_in_caption_bcht_closed() 102 return lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_caption_anything_else() 114 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_caption() argument 116 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_caption() 117 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_caption() [all …]
|
H A D | in_table_body.c | 30 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body_tr() argument 36 element = lxb_html_tree_insert_html_element(tree, 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() argument 58 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_UNTO); in lxb_html_tree_insertion_mode_in_table_body_thtd() 62 fake_token = *token; in lxb_html_tree_insertion_mode_in_table_body_thtd() 138 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_UNCLTO); in lxb_html_tree_insertion_mode_in_table_body_bcht_closed() 147 return lxb_html_tree_insertion_mode_in_table(tree, token); in lxb_html_tree_insertion_mode_in_table_body_anything_else() 160 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_table_body() argument 162 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_table_body() 163 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_table_body() [all …]
|
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() argument 30 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_before_head() 41 switch (token->tag_id) { in lxb_html_tree_insertion_mode_before_head_open() 56 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_before_head_open() 82 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_before_head_open() 98 switch (token->tag_id) { in lxb_html_tree_insertion_mode_before_head_closed() 106 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_before_head_closed() [all …]
|
H A D | in_row.c | 32 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_thtd() argument 38 element = lxb_html_tree_insert_html_element(tree, 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() argument 91 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_UNTO); in lxb_html_tree_insertion_mode_in_row_ct_open_closed() 140 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row_bcht_closed() argument 142 lxb_html_tree_parse_error(tree, token, LXB_HTML_RULES_ERROR_UNCLTO); in lxb_html_tree_insertion_mode_in_row_bcht_closed() 151 return lxb_html_tree_insertion_mode_in_table(tree, token); in lxb_html_tree_insertion_mode_in_row_anything_else() 163 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_row() argument 165 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_row() 166 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_row() [all …]
|
H A D | in_head.c | 18 lxb_html_token_t *token); 42 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_head() argument 44 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_head() 55 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_head_open() 70 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_head_open() 170 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_head_open() 196 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_in_head_open() 213 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_head_closed() 231 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_head_closed() 332 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_head_template_closed() [all …]
|
H A D | foreign_content.c | 27 return tree->mode(tree, token); in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() 34 if (idx > 0 && list[idx]->local_name != token->tag_id) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() 35 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() 40 if (list[idx]->local_name == token->tag_id) { in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() 53 return tree->mode(tree, token); in lxb_html_tree_insertion_mode_foreign_content_anything_else_closed() 133 if (token->null_count != 0) { in lxb_html_tree_insertion_mode_foreign_content_text() 241 if (token->tag_id == LXB_TAG_FONT) { in lxb_html_tree_insertion_mode_foreign_content_all() 242 lxb_html_token_attr_t *attr = token->attr_first; in lxb_html_tree_insertion_mode_foreign_content_all() 286 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_foreign_content() 287 switch (token->tag_id) { in lxb_html_tree_insertion_mode_foreign_content() [all …]
|
H A D | after_head.c | 13 lxb_html_token_t *token); 16 lxb_html_token_t *token); 28 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_after_head() argument 30 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_after_head() 41 switch (token->tag_id) { in lxb_html_tree_insertion_mode_after_head_open() 56 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_after_head_open() 122 lxb_html_tree_insertion_mode_in_head(tree, token); in lxb_html_tree_insertion_mode_after_head_open() 133 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_after_head_open() 153 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_after_head_open() 170 switch (token->tag_id) { in lxb_html_tree_insertion_mode_after_head_closed() [all …]
|
H A D | in_template.c | 18 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_ct() argument 35 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_col() argument 52 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_tr() argument 72 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template_tdth() argument 135 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_template() argument 137 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_template() 138 if (token->tag_id == LXB_TAG_TEMPLATE) { in lxb_html_tree_insertion_mode_in_template() 139 return lxb_html_tree_insertion_mode_in_head(tree, token); in lxb_html_tree_insertion_mode_in_template() 147 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_template() 151 return lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_template() [all …]
|
/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.c | 46 token->attr_last = attr; in lxb_html_token_attr_append() 54 token->attr_last = attr; in lxb_html_token_attr_append() 94 size_t len = token->text_end - token->text_start; in lxb_html_token_make_text() 150 size_t len = (end - data) + (token->null_count * rep_len) - token->null_count; in lxb_html_token_make_text_replace_null() 199 token->begin += data - token->text_start; in lxb_html_token_data_skip_ws_begin() 208 token->begin += data - token->text_start; in lxb_html_token_data_skip_ws_begin() 209 token->text_start = data; in lxb_html_token_data_skip_ws_begin() 223 token->begin++; in lxb_html_token_data_skip_one_newline_begin() 235 *ws_token = *token; in lxb_html_token_data_split_ws_begin() 242 if (token->text_start == token->text_end) { in lxb_html_token_data_split_ws_begin() [all …]
|
/php-src/ext/dom/lexbor/lexbor/css/selectors/ |
H A D | state.c | 389 switch (token->type) { in lxb_css_selectors_state_relative_handler() 506 switch (token->type) { in lxb_css_selectors_state_complex_end() 659 switch (token->type) { in lxb_css_selectors_state_compound_handler() 770 switch (token->type) { in lxb_css_selectors_state_compound_sub() 1883 token = lxb_css_selectors_state_function_error(parser, token); in lxb_css_selectors_state_list_end() 1905 token = lxb_css_selectors_state_function_error(parser, token); in lxb_css_selectors_state_list_end() 1940 token = lxb_css_selectors_state_function_error(parser, token); in lxb_css_selectors_state_end() 1951 token = lxb_css_selectors_state_function_error(parser, token); in lxb_css_selectors_state_end() 2037 return token; in lxb_css_selectors_state_function_error() 2045 while (token != NULL in lxb_css_selectors_state_function_error() [all …]
|
H A D | pseudo_state.c | 14 const lxb_css_syntax_token_t *token, void *ctx); 18 const lxb_css_syntax_token_t *token, void *ctx); 39 const lxb_css_syntax_token_t *token, void *ctx) in lxb_css_selectors_state_pseudo_anb_begin() argument 235 token = lxb_css_syntax_parser_token(parser); in lxb_css_selectors_state_pseudo_of_begin() 236 if (token == NULL) { in lxb_css_selectors_state_pseudo_of_begin() 240 if (token->type != LXB_CSS_SYNTAX_TOKEN__END) { in lxb_css_selectors_state_pseudo_of_begin() 253 lxb_css_parser_token_wo_ws_m(parser, token); in lxb_css_selectors_state_pseudo_of_begin() 255 if (token->type == LXB_CSS_SYNTAX_TOKEN_IDENT) { in lxb_css_selectors_state_pseudo_of_begin() 256 ident = lxb_css_syntax_token_ident(token); in lxb_css_selectors_state_pseudo_of_begin() 266 token = lxb_css_syntax_parser_token(parser); in lxb_css_selectors_state_pseudo_of_begin() [all …]
|
H A D | pseudo_state.h | 22 const lxb_css_syntax_token_t *token, void *ctx); 26 const lxb_css_syntax_token_t *token, void *ctx); 30 const lxb_css_syntax_token_t *token, void *ctx); 34 const lxb_css_syntax_token_t *token, void *ctx); 38 const lxb_css_syntax_token_t *token, void *ctx); 42 const lxb_css_syntax_token_t *token, void *ctx); 46 const lxb_css_syntax_token_t *token, void *ctx); 50 const lxb_css_syntax_token_t *token, void *ctx); 54 const lxb_css_syntax_token_t *token, void *ctx); 58 const lxb_css_syntax_token_t *token, void *ctx); [all …]
|