php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
token_attr.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2020 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
7#ifndef LEXBOR_HTML_TOKEN_ATTR_H
8#define LEXBOR_HTML_TOKEN_ATTR_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include "lexbor/core/str.h"
15#include "lexbor/core/dobject.h"
16
18
19#include "lexbor/html/base.h"
20
21
24
30
47
48
51
52LXB_API void
54
57 lexbor_dobject_t *dobj);
58
59LXB_API const lxb_char_t *
61
62
63#ifdef __cplusplus
64} /* extern "C" */
65#endif
66
67#endif /* LEXBOR_HTML_TOKEN_ATTR_H */
#define LXB_API
Definition def.h:48
new_type attr
Definition ffi.c:4364
lxb_char_t * value
Definition token_attr.h:39
const lxb_char_t * value_begin
Definition token_attr.h:35
lxb_html_token_attr_t * next
Definition token_attr.h:42
const lxb_dom_attr_data_t * name
Definition token_attr.h:38
const lxb_char_t * value_end
Definition token_attr.h:36
lxb_html_token_attr_t * prev
Definition token_attr.h:43
lxb_html_token_attr_type_t type
Definition token_attr.h:45
const lxb_char_t * name_begin
Definition token_attr.h:32
const lxb_char_t * name_end
Definition token_attr.h:33
int lxb_html_token_attr_type_t
Definition token_attr.h:23
lxb_html_token_attr_type
Definition token_attr.h:25
@ LXB_HTML_TOKEN_ATTR_TYPE_VALUE_NULL
Definition token_attr.h:28
@ LXB_HTML_TOKEN_ATTR_TYPE_NAME_NULL
Definition token_attr.h:27
@ LXB_HTML_TOKEN_ATTR_TYPE_UNDEF
Definition token_attr.h:26
struct lxb_html_token_attr lxb_html_token_attr_t
Definition token_attr.h:22
LXB_API void lxb_html_token_attr_clean(lxb_html_token_attr_t *attr)
Definition token_attr.c:17
LXB_API const lxb_char_t * lxb_html_token_attr_name(lxb_html_token_attr_t *attr, size_t *length)
Definition token_attr.c:29
LXB_API lxb_html_token_attr_t * lxb_html_token_attr_destroy(lxb_html_token_attr_t *attr, lexbor_dobject_t *dobj)
Definition token_attr.c:23
LXB_API lxb_html_token_attr_t * lxb_html_token_attr_create(lexbor_dobject_t *dobj)
Definition token_attr.c:11
unsigned char lxb_char_t
Definition types.h:27