7#ifndef LEXBOR_CSS_BASE_H
8#define LEXBOR_CSS_BASE_H
20#define LXB_CSS_VERSION_MAJOR 1
21#define LXB_CSS_VERSION_MINOR 2
22#define LXB_CSS_VERSION_PATCH 0
24#define LXB_CSS_VERSION_STRING \
25 LEXBOR_STRINGIZE(LXB_CSS_VERSION_MAJOR) "." \
26 LEXBOR_STRINGIZE(LXB_CSS_VERSION_MINOR) "." \
27 LEXBOR_STRINGIZE(LXB_CSS_VERSION_PATCH)
61 void *style,
bool self_destroy);
lxb_status_t(* lexbor_serialize_cb_f)(const lxb_char_t *data, size_t len, void *ctx)
struct lxb_css_rule_at lxb_css_rule_at_t
struct lxb_css_parser_state lxb_css_parser_state_t
struct lxb_css_stylesheet lxb_css_stylesheet_t
struct lxb_css_parser_error lxb_css_parser_error_t
void *(* lxb_css_style_create_f)(lxb_css_memory_t *memory)
struct lxb_css_syntax_token lxb_css_syntax_token_t
LXB_API lxb_css_memory_t * lxb_css_memory_ref_dec_destroy(lxb_css_memory_t *memory)
struct lxb_css_rule_style lxb_css_rule_style_t
void *(* lxb_css_style_destroy_f)(lxb_css_memory_t *memory, void *style, bool self_destroy)
bool(* lxb_css_parser_state_f)(lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, void *ctx)
LXB_API lxb_status_t lxb_css_memory_init(lxb_css_memory_t *memory, size_t prepare_count)
struct lxb_css_memory lxb_css_memory_t
struct lxb_css_rule_declaration lxb_css_rule_declaration_t
struct lxb_css_syntax_tokenizer lxb_css_syntax_tokenizer_t
LXB_API lxb_css_memory_t * lxb_css_memory_destroy(lxb_css_memory_t *memory, bool self_destroy)
LXB_API void lxb_css_memory_clean(lxb_css_memory_t *memory)
lxb_status_t(* lxb_css_style_serialize_f)(const void *style, lexbor_serialize_cb_f cb, void *ctx)
struct lxb_css_rule_list lxb_css_rule_list_t
struct lxb_css_rule_declaration_list lxb_css_rule_declaration_list_t
LXB_API lxb_css_memory_t * lxb_css_memory_ref_inc(lxb_css_memory_t *memory)
LXB_API lxb_css_memory_t * lxb_css_memory_create(void)
LXB_API void lxb_css_memory_ref_dec(lxb_css_memory_t *memory)
struct lxb_css_rule_bad_style lxb_css_rule_bad_style_t
struct lxb_css_parser lxb_css_parser_t
#define lxb_css_rule_declaration_list(rule)
#define lxb_css_rule_at(rule)
#define lxb_css_rule_declaration(rule)
#define lxb_css_rule_bad_style(rule)
#define lxb_css_rule_list(rule)
#define lxb_css_rule_style(rule)
lxb_css_style_create_f create
lxb_css_parser_state_f state
lxb_css_style_destroy_f destroy
lxb_css_style_serialize_f serialize
unsigned int lxb_status_t