xref: /php-src/ext/dom/lexbor/lexbor/css/property/state.h (revision f0934090)
1 /*
2  * Copyright (C) 2021-2023 Alexander Borisov
3  *
4  * Author: Alexander Borisov <borisov@lexbor.com>
5  */
6 
7 #ifndef LXB_CSS_PROPERTY_STATE_H
8 #define LXB_CSS_PROPERTY_STATE_H
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #include "lexbor/css/base.h"
15 
16 
17 LXB_API bool
18 lxb_css_property_state__undef(lxb_css_parser_t *parser,
19                               const lxb_css_syntax_token_t *token, void *ctx);
20 LXB_API bool
21 lxb_css_property_state__custom(lxb_css_parser_t *parser,
22                                const lxb_css_syntax_token_t *token, void *ctx);
23 LXB_API bool
24 lxb_css_property_state_display(lxb_css_parser_t *parser,
25                                const lxb_css_syntax_token_t *token, void *ctx);
26 LXB_API bool
27 lxb_css_property_state_order(lxb_css_parser_t *parser,
28                              const lxb_css_syntax_token_t *token, void *ctx);
29 LXB_API bool
30 lxb_css_property_state_visibility(lxb_css_parser_t *parser,
31                                   const lxb_css_syntax_token_t *token, void *ctx);
32 LXB_API bool
33 lxb_css_property_state_width(lxb_css_parser_t *parser,
34                              const lxb_css_syntax_token_t *token, void *ctx);
35 LXB_API bool
36 lxb_css_property_state_height(lxb_css_parser_t *parser,
37                               const lxb_css_syntax_token_t *token, void *ctx);
38 LXB_API bool
39 lxb_css_property_state_box_sizing(lxb_css_parser_t *parser,
40                                   const lxb_css_syntax_token_t *token, void *ctx);
41 LXB_API bool
42 lxb_css_property_state_min_width(lxb_css_parser_t *parser,
43                                  const lxb_css_syntax_token_t *token, void *ctx);
44 LXB_API bool
45 lxb_css_property_state_min_height(lxb_css_parser_t *parser,
46                                   const lxb_css_syntax_token_t *token, void *ctx);
47 LXB_API bool
48 lxb_css_property_state_max_width(lxb_css_parser_t *parser,
49                                  const lxb_css_syntax_token_t *token, void *ctx);
50 LXB_API bool
51 lxb_css_property_state_max_height(lxb_css_parser_t *parser,
52                                   const lxb_css_syntax_token_t *token, void *ctx);
53 LXB_API bool
54 lxb_css_property_state_margin(lxb_css_parser_t *parser,
55                               const lxb_css_syntax_token_t *token, void *ctx);
56 LXB_API bool
57 lxb_css_property_state_margin_top(lxb_css_parser_t *parser,
58                                   const lxb_css_syntax_token_t *token, void *ctx);
59 LXB_API bool
60 lxb_css_property_state_margin_right(lxb_css_parser_t *parser,
61                                     const lxb_css_syntax_token_t *token, void *ctx);
62 LXB_API bool
63 lxb_css_property_state_margin_bottom(lxb_css_parser_t *parser,
64                                      const lxb_css_syntax_token_t *token, void *ctx);
65 LXB_API bool
66 lxb_css_property_state_margin_left(lxb_css_parser_t *parser,
67                                    const lxb_css_syntax_token_t *token, void *ctx);
68 LXB_API bool
69 lxb_css_property_state_padding(lxb_css_parser_t *parser,
70                                const lxb_css_syntax_token_t *token, void *ctx);
71 LXB_API bool
72 lxb_css_property_state_padding_top(lxb_css_parser_t *parser,
73                                    const lxb_css_syntax_token_t *token, void *ctx);
74 LXB_API bool
75 lxb_css_property_state_padding_right(lxb_css_parser_t *parser,
76                                      const lxb_css_syntax_token_t *token, void *ctx);
77 LXB_API bool
78 lxb_css_property_state_padding_bottom(lxb_css_parser_t *parser,
79                                       const lxb_css_syntax_token_t *token, void *ctx);
80 LXB_API bool
81 lxb_css_property_state_padding_left(lxb_css_parser_t *parser,
82                                     const lxb_css_syntax_token_t *token, void *ctx);
83 LXB_API bool
84 lxb_css_property_state_border(lxb_css_parser_t *parser,
85                               const lxb_css_syntax_token_t *token, void *ctx);
86 LXB_API bool
87 lxb_css_property_state_border_top(lxb_css_parser_t *parser,
88                                   const lxb_css_syntax_token_t *token, void *ctx);
89 LXB_API bool
90 lxb_css_property_state_border_right(lxb_css_parser_t *parser,
91                                     const lxb_css_syntax_token_t *token, void *ctx);
92 LXB_API bool
93 lxb_css_property_state_border_bottom(lxb_css_parser_t *parser,
94                                      const lxb_css_syntax_token_t *token, void *ctx);
95 LXB_API bool
96 lxb_css_property_state_border_left(lxb_css_parser_t *parser,
97                                    const lxb_css_syntax_token_t *token, void *ctx);
98 LXB_API bool
99 lxb_css_property_state_border_top_color(lxb_css_parser_t *parser,
100                                         const lxb_css_syntax_token_t *token, void *ctx);
101 LXB_API bool
102 lxb_css_property_state_border_right_color(lxb_css_parser_t *parser,
103                                           const lxb_css_syntax_token_t *token, void *ctx);
104 LXB_API bool
105 lxb_css_property_state_border_bottom_color(lxb_css_parser_t *parser,
106                                            const lxb_css_syntax_token_t *token, void *ctx);
107 LXB_API bool
108 lxb_css_property_state_border_left_color(lxb_css_parser_t *parser,
109                                          const lxb_css_syntax_token_t *token, void *ctx);
110 LXB_API bool
111 lxb_css_property_state_background_color(lxb_css_parser_t *parser,
112                                         const lxb_css_syntax_token_t *token, void *ctx);
113 LXB_API bool
114 lxb_css_property_state_color(lxb_css_parser_t *parser,
115                              const lxb_css_syntax_token_t *token, void *ctx);
116 LXB_API bool
117 lxb_css_property_state_opacity(lxb_css_parser_t *parser,
118                                const lxb_css_syntax_token_t *token, void *ctx);
119 LXB_API bool
120 lxb_css_property_state_position(lxb_css_parser_t *parser,
121                                 const lxb_css_syntax_token_t *token, void *ctx);
122 LXB_API bool
123 lxb_css_property_state_top(lxb_css_parser_t *parser,
124                            const lxb_css_syntax_token_t *token, void *ctx);
125 LXB_API bool
126 lxb_css_property_state_right(lxb_css_parser_t *parser,
127                              const lxb_css_syntax_token_t *token, void *ctx);
128 LXB_API bool
129 lxb_css_property_state_bottom(lxb_css_parser_t *parser,
130                               const lxb_css_syntax_token_t *token, void *ctx);
131 LXB_API bool
132 lxb_css_property_state_left(lxb_css_parser_t *parser,
133                             const lxb_css_syntax_token_t *token, void *ctx);
134 LXB_API bool
135 lxb_css_property_state_inset_block_start(lxb_css_parser_t *parser,
136                                          const lxb_css_syntax_token_t *token, void *ctx);
137 LXB_API bool
138 lxb_css_property_state_inset_inline_start(lxb_css_parser_t *parser,
139                                           const lxb_css_syntax_token_t *token, void *ctx);
140 LXB_API bool
141 lxb_css_property_state_inset_block_end(lxb_css_parser_t *parser,
142                                        const lxb_css_syntax_token_t *token, void *ctx);
143 LXB_API bool
144 lxb_css_property_state_inset_inline_end(lxb_css_parser_t *parser,
145                                         const lxb_css_syntax_token_t *token, void *ctx);
146 LXB_API bool
147 lxb_css_property_state_text_transform(lxb_css_parser_t *parser,
148                                       const lxb_css_syntax_token_t *token, void *ctx);
149 LXB_API bool
150 lxb_css_property_state_text_align(lxb_css_parser_t *parser,
151                                   const lxb_css_syntax_token_t *token, void *ctx);
152 LXB_API bool
153 lxb_css_property_state_text_align_all(lxb_css_parser_t *parser,
154                                       const lxb_css_syntax_token_t *token, void *ctx);
155 LXB_API bool
156 lxb_css_property_state_text_align_last(lxb_css_parser_t *parser,
157                                        const lxb_css_syntax_token_t *token, void *ctx);
158 LXB_API bool
159 lxb_css_property_state_text_justify(lxb_css_parser_t *parser,
160                                     const lxb_css_syntax_token_t *token, void *ctx);
161 LXB_API bool
162 lxb_css_property_state_text_indent(lxb_css_parser_t *parser,
163                                    const lxb_css_syntax_token_t *token, void *ctx);
164 LXB_API bool
165 lxb_css_property_state_white_space(lxb_css_parser_t *parser,
166                                    const lxb_css_syntax_token_t *token, void *ctx);
167 LXB_API bool
168 lxb_css_property_state_tab_size(lxb_css_parser_t *parser,
169                                 const lxb_css_syntax_token_t *token, void *ctx);
170 LXB_API bool
171 lxb_css_property_state_word_break(lxb_css_parser_t *parser,
172                                   const lxb_css_syntax_token_t *token, void *ctx);
173 LXB_API bool
174 lxb_css_property_state_line_break(lxb_css_parser_t *parser,
175                                   const lxb_css_syntax_token_t *token, void *ctx);
176 LXB_API bool
177 lxb_css_property_state_hyphens(lxb_css_parser_t *parser,
178                                const lxb_css_syntax_token_t *token, void *ctx);
179 LXB_API bool
180 lxb_css_property_state_overflow_wrap(lxb_css_parser_t *parser,
181                                      const lxb_css_syntax_token_t *token, void *ctx);
182 LXB_API bool
183 lxb_css_property_state_word_wrap(lxb_css_parser_t *parser,
184                                  const lxb_css_syntax_token_t *token, void *ctx);
185 LXB_API bool
186 lxb_css_property_state_word_spacing(lxb_css_parser_t *parser,
187                                     const lxb_css_syntax_token_t *token, void *ctx);
188 LXB_API bool
189 lxb_css_property_state_letter_spacing(lxb_css_parser_t *parser,
190                                       const lxb_css_syntax_token_t *token, void *ctx);
191 LXB_API bool
192 lxb_css_property_state_hanging_punctuation(lxb_css_parser_t *parser,
193                                            const lxb_css_syntax_token_t *token, void *ctx);
194 LXB_API bool
195 lxb_css_property_state_font_family(lxb_css_parser_t *parser,
196                                    const lxb_css_syntax_token_t *token, void *ctx);
197 LXB_API bool
198 lxb_css_property_state_font_weight(lxb_css_parser_t *parser,
199                                    const lxb_css_syntax_token_t *token, void *ctx);
200 LXB_API bool
201 lxb_css_property_state_font_stretch(lxb_css_parser_t *parser,
202                                     const lxb_css_syntax_token_t *token, void *ctx);
203 LXB_API bool
204 lxb_css_property_state_font_style(lxb_css_parser_t *parser,
205                                   const lxb_css_syntax_token_t *token, void *ctx);
206 LXB_API bool
207 lxb_css_property_state_font_size(lxb_css_parser_t *parser,
208                                  const lxb_css_syntax_token_t *token, void *ctx);
209 LXB_API bool
210 lxb_css_property_state_float_reference(lxb_css_parser_t *parser,
211                                        const lxb_css_syntax_token_t *token, void *ctx);
212 LXB_API bool
213 lxb_css_property_state_float(lxb_css_parser_t *parser,
214                              const lxb_css_syntax_token_t *token, void *ctx);
215 LXB_API bool
216 lxb_css_property_state_clear(lxb_css_parser_t *parser,
217                              const lxb_css_syntax_token_t *token, void *ctx);
218 LXB_API bool
219 lxb_css_property_state_float_defer(lxb_css_parser_t *parser,
220                                    const lxb_css_syntax_token_t *token, void *ctx);
221 LXB_API bool
222 lxb_css_property_state_float_offset(lxb_css_parser_t *parser,
223                                     const lxb_css_syntax_token_t *token, void *ctx);
224 LXB_API bool
225 lxb_css_property_state_wrap_flow(lxb_css_parser_t *parser,
226                                  const lxb_css_syntax_token_t *token, void *ctx);
227 LXB_API bool
228 lxb_css_property_state_wrap_through(lxb_css_parser_t *parser,
229                                     const lxb_css_syntax_token_t *token, void *ctx);
230 LXB_API bool
231 lxb_css_property_state_flex_direction(lxb_css_parser_t *parser,
232                                       const lxb_css_syntax_token_t *token, void *ctx);
233 LXB_API bool
234 lxb_css_property_state_flex_wrap(lxb_css_parser_t *parser,
235                                  const lxb_css_syntax_token_t *token, void *ctx);
236 LXB_API bool
237 lxb_css_property_state_flex_flow(lxb_css_parser_t *parser,
238                                  const lxb_css_syntax_token_t *token, void *ctx);
239 LXB_API bool
240 lxb_css_property_state_flex(lxb_css_parser_t *parser,
241                             const lxb_css_syntax_token_t *token, void *ctx);
242 LXB_API bool
243 lxb_css_property_state_flex_grow(lxb_css_parser_t *parser,
244                                  const lxb_css_syntax_token_t *token, void *ctx);
245 LXB_API bool
246 lxb_css_property_state_flex_shrink(lxb_css_parser_t *parser,
247                                    const lxb_css_syntax_token_t *token, void *ctx);
248 LXB_API bool
249 lxb_css_property_state_flex_basis(lxb_css_parser_t *parser,
250                                   const lxb_css_syntax_token_t *token, void *ctx);
251 LXB_API bool
252 lxb_css_property_state_justify_content(lxb_css_parser_t *parser,
253                                        const lxb_css_syntax_token_t *token, void *ctx);
254 LXB_API bool
255 lxb_css_property_state_align_items(lxb_css_parser_t *parser,
256                                    const lxb_css_syntax_token_t *token, void *ctx);
257 LXB_API bool
258 lxb_css_property_state_align_self(lxb_css_parser_t *parser,
259                                   const lxb_css_syntax_token_t *token, void *ctx);
260 LXB_API bool
261 lxb_css_property_state_align_content(lxb_css_parser_t *parser,
262                                      const lxb_css_syntax_token_t *token, void *ctx);
263 LXB_API bool
264 lxb_css_property_state_z_index(lxb_css_parser_t *parser,
265                                const lxb_css_syntax_token_t *token, void *ctx);
266 LXB_API bool
267 lxb_css_property_state_direction(lxb_css_parser_t *parser,
268                                  const lxb_css_syntax_token_t *token, void *ctx);
269 LXB_API bool
270 lxb_css_property_state_unicode_bidi(lxb_css_parser_t *parser,
271                                     const lxb_css_syntax_token_t *token, void *ctx);
272 LXB_API bool
273 lxb_css_property_state_writing_mode(lxb_css_parser_t *parser,
274                                     const lxb_css_syntax_token_t *token, void *ctx);
275 LXB_API bool
276 lxb_css_property_state_text_orientation(lxb_css_parser_t *parser,
277                                         const lxb_css_syntax_token_t *token, void *ctx);
278 LXB_API bool
279 lxb_css_property_state_text_combine_upright(lxb_css_parser_t *parser,
280                                             const lxb_css_syntax_token_t *token, void *ctx);
281 LXB_API bool
282 lxb_css_property_state_overflow_x(lxb_css_parser_t *parser,
283                                   const lxb_css_syntax_token_t *token, void *ctx);
284 LXB_API bool
285 lxb_css_property_state_overflow_y(lxb_css_parser_t *parser,
286                                   const lxb_css_syntax_token_t *token, void *ctx);
287 LXB_API bool
288 lxb_css_property_state_overflow_block(lxb_css_parser_t *parser,
289                                       const lxb_css_syntax_token_t *token, void *ctx);
290 LXB_API bool
291 lxb_css_property_state_overflow_inline(lxb_css_parser_t *parser,
292                                        const lxb_css_syntax_token_t *token, void *ctx);
293 LXB_API bool
294 lxb_css_property_state_text_overflow(lxb_css_parser_t *parser,
295                                      const lxb_css_syntax_token_t *token, void *ctx);
296 LXB_API bool
297 lxb_css_property_state_text_decoration_line(lxb_css_parser_t *parser,
298                                             const lxb_css_syntax_token_t *token, void *ctx);
299 LXB_API bool
300 lxb_css_property_state_text_decoration_style(lxb_css_parser_t *parser,
301                                              const lxb_css_syntax_token_t *token, void *ctx);
302 LXB_API bool
303 lxb_css_property_state_text_decoration_color(lxb_css_parser_t *parser,
304                                              const lxb_css_syntax_token_t *token, void *ctx);
305 LXB_API bool
306 lxb_css_property_state_text_decoration(lxb_css_parser_t *parser,
307                                        const lxb_css_syntax_token_t *token, void *ctx);
308 LXB_API bool
309 lxb_css_property_state_dominant_baseline(lxb_css_parser_t *parser,
310                                          const lxb_css_syntax_token_t *token, void *ctx);
311 LXB_API bool
312 lxb_css_property_state_vertical_align(lxb_css_parser_t *parser,
313                                       const lxb_css_syntax_token_t *token, void *ctx);
314 LXB_API bool
315 lxb_css_property_state_baseline_source(lxb_css_parser_t *parser,
316                                        const lxb_css_syntax_token_t *token, void *ctx);
317 LXB_API bool
318 lxb_css_property_state_alignment_baseline(lxb_css_parser_t *parser,
319                                           const lxb_css_syntax_token_t *token, void *ctx);
320 LXB_API bool
321 lxb_css_property_state_baseline_shift(lxb_css_parser_t *parser,
322                                       const lxb_css_syntax_token_t *token, void *ctx);
323 LXB_API bool
324 lxb_css_property_state_line_height(lxb_css_parser_t *parser,
325                                    const lxb_css_syntax_token_t *token, void *ctx);
326 #ifdef __cplusplus
327 } /* extern "C" */
328 #endif
329 
330 #endif /* LXB_CSS_PROPERTY_STATE_H */
331