Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 182) sorted by relevance

12345678

/php-src/ext/dom/lexbor/lexbor/css/syntax/
H A Dtoken.h20 #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 Dstate.h20 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 Dstate.h19 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 Din_column_group.c18 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 Din_head_noscript.c13 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 Din_select.c13 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 Din_cell.c25 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 Din_select_in_table.c16 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 Din_body.c31 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 Din_table.c58 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 Din_caption.c14 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 Din_table_body.c30 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 Dbefore_head.c12 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 Din_row.c32 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 Din_head.c18 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()
341 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_head_template_closed()
[all …]
H A Dforeign_content.c27 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 Dafter_head.c13 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 Din_template.c18 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 …]
H A Din_frameset.c13 lxb_html_token_t *token) in lxb_html_tree_insertion_mode_in_frameset() argument
15 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_in_frameset()
16 if (token->tag_id == LXB_TAG_FRAMESET) in lxb_html_tree_insertion_mode_in_frameset()
22 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_frameset()
45 switch (token->tag_id) { in lxb_html_tree_insertion_mode_in_frameset()
49 comment = lxb_html_tree_insert_comment(tree, token, NULL); in lxb_html_tree_insertion_mode_in_frameset()
58 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_frameset()
63 return lxb_html_tree_insertion_mode_in_body(tree, token); in lxb_html_tree_insertion_mode_in_frameset()
68 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_in_frameset()
101 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_in_frameset()
[all …]
H A Dbefore_html.c14 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() argument
32 if (token->type & LXB_HTML_TOKEN_TYPE_CLOSE) { in lxb_html_tree_insertion_mode_before_html()
36 return lxb_html_tree_insertion_mode_before_html_open(tree, token); in lxb_html_tree_insertion_mode_before_html()
43 switch (token->tag_id) { in lxb_html_tree_insertion_mode_before_html_open()
45 lxb_html_tree_parse_error(tree, token, in lxb_html_tree_insertion_mode_before_html_open()
52 comment = lxb_html_tree_insert_comment(tree, token, in lxb_html_tree_insertion_mode_before_html_open()
95 if (token->text_start == token->text_end) { in lxb_html_tree_insertion_mode_before_html_open()
111 switch (token->tag_id) { in lxb_html_tree_insertion_mode_before_html_closed()
[all …]
/php-src/ext/dom/lexbor/lexbor/html/tree/
H A Dinsertion_mode.h20 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 Dtoken.c46 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 Dpseudo_state.h22 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 …]
/php-src/ext/tokenizer/tests/
H A DPhpToken_methods.phpt25 $token = $tokens[5];
34 var_dump($token->is(T_CLASS));
35 var_dump($token->is('class'));
41 $token->is(3.141);
46 $token->is([3.141]);
51 unset($token->id);
52 unset($token->text);
54 $token->is(T_FUNCTION);
59 $token->is('function');
64 $token->is([T_FUNCTION]);
[all …]
/php-src/ext/dom/lexbor/lexbor/html/tokenizer/
H A Dstate.h56 tkz->token->tag_id = tag->tag_id; \
69 tkz->token->attr_last->name = data; \
99 (tkz->token->end = v_end)
109 (tkz->token->end = tkz->last)
129 (tkz->token->attr_last->name_end = v_end)
132 (tkz->token->attr_last->name_end = tkz->last)
142 (tkz->token->attr_last->value_end = v_end)
145 (tkz->token->attr_last->value_end = tkz->last)
148 tkz->token = tkz->callback_token_done(tkz, tkz->token, \
159 if (tkz->token->begin != tkz->token->end) { \
[all …]

Completed in 127 milliseconds

12345678