php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
anb.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2021 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
7#ifndef LEXBOR_CSS_SYNTAX_ANB_H
8#define LEXBOR_CSS_SYNTAX_ANB_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
15
16
17typedef struct {
18 long a;
19 long b;
20}
22
23
26 const lxb_char_t *data, size_t length);
27
30 const lxb_css_syntax_token_t *token,
32
35 lexbor_serialize_cb_f cb, void *ctx);
36
39 size_t *out_length);
40
41
42#ifdef __cplusplus
43} /* extern "C" */
44#endif
45
46#endif /* LEXBOR_CSS_SYNTAX_ANB_H */
LXB_API lxb_css_syntax_anb_t lxb_css_syntax_anb_parse(lxb_css_parser_t *parser, const lxb_char_t *data, size_t length)
Definition anb.c:49
LXB_API lxb_char_t * lxb_css_syntax_anb_serialize_char(lxb_css_syntax_anb_t *anb, size_t *out_length)
Definition anb.c:446
LXB_API lxb_status_t lxb_css_syntax_anb_handler(lxb_css_parser_t *parser, const lxb_css_syntax_token_t *token, lxb_css_syntax_anb_t *anb)
Definition anb.c:129
LXB_API lxb_status_t lxb_css_syntax_anb_serialize(lxb_css_syntax_anb_t *anb, lexbor_serialize_cb_f cb, void *ctx)
Definition anb.c:379
char * cb
Definition assert.c:26
lxb_status_t(* lexbor_serialize_cb_f)(const lxb_char_t *data, size_t len, void *ctx)
Definition base.h:82
struct lxb_css_syntax_token lxb_css_syntax_token_t
Definition base.h:46
struct lxb_css_parser lxb_css_parser_t
Definition base.h:41
#define LXB_API
Definition def.h:48
zend_constant * data
unsigned int lxb_status_t
Definition types.h:28
unsigned char lxb_char_t
Definition types.h:27