1 /* 2 * Copyright (C) 2021-2022 Alexander Borisov 3 * 4 * Author: Alexander Borisov <borisov@lexbor.com> 5 */ 6 7 #ifndef LXB_CSS_STATE_H 8 #define LXB_CSS_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_state_success(lxb_css_parser_t *parser, 19 const lxb_css_syntax_token_t *token, void *ctx); 20 21 LXB_API bool 22 lxb_css_state_failed(lxb_css_parser_t *parser, 23 const lxb_css_syntax_token_t *token, void *ctx); 24 25 LXB_API bool 26 lxb_css_state_stop(lxb_css_parser_t *parser, 27 const lxb_css_syntax_token_t *token, void *ctx); 28 29 30 #ifdef __cplusplus 31 } /* extern "C" */ 32 #endif 33 34 #endif /* LXB_CSS_STATE_H */ 35