1 /*
2  * Copyright (C) 2020-2021 Alexander Borisov
3  *
4  * Author: Alexander Borisov <borisov@lexbor.com>
5  */
6 
7 #ifndef LEXBOR_CSS_SELECTORS_PSEUDO_STATE_H
8 #define LEXBOR_CSS_SELECTORS_PSEUDO_STATE_H
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #include "lexbor/css/base.h"
15 #include "lexbor/css/parser.h"
16 #include "lexbor/css/syntax/parser.h"
17 #include "lexbor/css/selectors/base.h"
18 
19 
20 LXB_API bool
21 lxb_css_selectors_state_pseudo_class_function__undef(lxb_css_parser_t *parser,
22     const lxb_css_syntax_token_t *token, void *ctx);
23 
24 LXB_API bool
25 lxb_css_selectors_state_pseudo_class_function_current(lxb_css_parser_t *parser,
26     const lxb_css_syntax_token_t *token, void *ctx);
27 
28 LXB_API bool
29 lxb_css_selectors_state_pseudo_class_function_dir(lxb_css_parser_t *parser,
30     const lxb_css_syntax_token_t *token, void *ctx);
31 
32 LXB_API bool
33 lxb_css_selectors_state_pseudo_class_function_has(lxb_css_parser_t *parser,
34     const lxb_css_syntax_token_t *token, void *ctx);
35 
36 LXB_API bool
37 lxb_css_selectors_state_pseudo_class_function_is(lxb_css_parser_t *parser,
38     const lxb_css_syntax_token_t *token, void *ctx);
39 
40 LXB_API bool
41 lxb_css_selectors_state_pseudo_class_function_lang(lxb_css_parser_t *parser,
42     const lxb_css_syntax_token_t *token, void *ctx);
43 
44 LXB_API bool
45 lxb_css_selectors_state_pseudo_class_function_not(lxb_css_parser_t *parser,
46     const lxb_css_syntax_token_t *token, void *ctx);
47 
48 LXB_API bool
49 lxb_css_selectors_state_pseudo_class_function_nth_child(lxb_css_parser_t *parser,
50     const lxb_css_syntax_token_t *token, void *ctx);
51 
52 LXB_API bool
53 lxb_css_selectors_state_pseudo_class_function_nth_col(lxb_css_parser_t *parser,
54     const lxb_css_syntax_token_t *token, void *ctx);
55 
56 LXB_API bool
57 lxb_css_selectors_state_pseudo_class_function_nth_last_child(lxb_css_parser_t *parser,
58     const lxb_css_syntax_token_t *token, void *ctx);
59 
60 LXB_API bool
61 lxb_css_selectors_state_pseudo_class_function_nth_last_col(lxb_css_parser_t *parser,
62     const lxb_css_syntax_token_t *token, void *ctx);
63 
64 LXB_API bool
65 lxb_css_selectors_state_pseudo_class_function_nth_last_of_type(lxb_css_parser_t *parser,
66     const lxb_css_syntax_token_t *token, void *ctx);
67 
68 LXB_API bool
69 lxb_css_selectors_state_pseudo_class_function_nth_of_type(lxb_css_parser_t *parser,
70     const lxb_css_syntax_token_t *token, void *ctx);
71 
72 LXB_API bool
73 lxb_css_selectors_state_pseudo_class_function_where(lxb_css_parser_t *parser,
74     const lxb_css_syntax_token_t *token, void *ctx);
75 
76 LXB_API bool
77 lxb_css_selectors_state_pseudo_element_function__undef(lxb_css_parser_t *parser,
78     const lxb_css_syntax_token_t *token, void *ctx);
79 
80 
81 #ifdef __cplusplus
82 } /* extern "C" */
83 #endif
84 
85 #endif /* LEXBOR_CSS_SELECTORS_PSEUDO_STATE_H */
86