php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
res.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2019 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
7/*
8 * Caution!
9 * This file generated by the script "utils/lexbor/tag_ns/tags.py"!
10 * Do not change this file!
11 */
12
13
14#ifndef LXB_NS_RES_H
15#define LXB_NS_RES_H
16
17#endif /* LXB_NS_RES_H */
18
19
20#ifdef LXB_NS_CONST_VERSION
21#ifndef LXB_NS_CONST_VERSION_253D4AFDA959234B48A478B956C3C777
22#error Mismatched namespaces version! See "lexbor/ns/const.h".
23#endif /* LXB_NS_CONST_VERSION_253D4AFDA959234B48A478B956C3C777 */
24#else
25#error You need to include "lexbor/ns/const.h".
26#endif /* LXB_NS_CONST_VERSION */
27
28
29static const lxb_ns_data_t lxb_ns_res_data[LXB_NS__LAST_ENTRY] =
30{
31 {{.u.short_str = "", .length = 0, .next = NULL}, LXB_NS__UNDEF, 1, true},
32 {{.u.short_str = "", .length = 0, .next = NULL}, LXB_NS__ANY, 1, true},
33 {{.u.long_str = (lxb_char_t *) "http://www.w3.org/1999/xhtml", .length = 28, .next = NULL}, LXB_NS_HTML, 1, true},
34 {{.u.long_str = (lxb_char_t *) "http://www.w3.org/1998/Math/MathML", .length = 34, .next = NULL}, LXB_NS_MATH, 1, true},
35 {{.u.long_str = (lxb_char_t *) "http://www.w3.org/2000/svg", .length = 26, .next = NULL}, LXB_NS_SVG, 1, true},
36 {{.u.long_str = (lxb_char_t *) "http://www.w3.org/1999/xlink", .length = 28, .next = NULL}, LXB_NS_XLINK, 1, true},
37 {{.u.long_str = (lxb_char_t *) "http://www.w3.org/XML/1998/namespace", .length = 36, .next = NULL}, LXB_NS_XML, 1, true},
38 {{.u.long_str = (lxb_char_t *) "http://www.w3.org/2000/xmlns/", .length = 29, .next = NULL}, LXB_NS_XMLNS, 1, true}
39};
40
41static const lxb_ns_prefix_data_t lxb_ns_prefix_res_data[LXB_NS__LAST_ENTRY] =
42{
43 {{.u.short_str = "#undef", .length = 6, .next = NULL}, LXB_NS__UNDEF, 1, true},
44 {{.u.short_str = "#any", .length = 4, .next = NULL}, LXB_NS__ANY, 1, true},
45 {{.u.short_str = "html", .length = 4, .next = NULL}, LXB_NS_HTML, 1, true},
46 {{.u.short_str = "math", .length = 4, .next = NULL}, LXB_NS_MATH, 1, true},
47 {{.u.short_str = "svg", .length = 3, .next = NULL}, LXB_NS_SVG, 1, true},
48 {{.u.short_str = "xlink", .length = 5, .next = NULL}, LXB_NS_XLINK, 1, true},
49 {{.u.short_str = "xml", .length = 3, .next = NULL}, LXB_NS_XML, 1, true},
50 {{.u.short_str = "xmlns", .length = 5, .next = NULL}, LXB_NS_XMLNS, 1, true}
51};
52
53static const lexbor_shs_entry_t lxb_ns_res_shs_data[] =
54{
55 {NULL, NULL, 28, 0}, {"html", (void *) &lxb_ns_prefix_res_data[2], 4, 0},
56 {"xmlns", (void *) &lxb_ns_prefix_res_data[7], 5, 0}, {NULL, NULL, 0, 0},
57 {NULL, NULL, 0, 0}, {NULL, NULL, 0, 0},
58 {NULL, NULL, 0, 0}, {"svg", (void *) &lxb_ns_prefix_res_data[4], 3, 0},
59 {NULL, NULL, 0, 0}, {NULL, NULL, 0, 0},
60 {NULL, NULL, 0, 0}, {NULL, NULL, 0, 0},
61 {NULL, NULL, 0, 0}, {NULL, NULL, 0, 0},
62 {NULL, NULL, 0, 0}, {NULL, NULL, 0, 0},
63 {NULL, NULL, 0, 0}, {"math", (void *) &lxb_ns_prefix_res_data[3], 4, 0},
64 {NULL, NULL, 0, 0}, {NULL, NULL, 0, 0},
65 {NULL, NULL, 0, 0}, {"#undef", (void *) &lxb_ns_prefix_res_data[0], 6, 0},
66 {"xlink", (void *) &lxb_ns_prefix_res_data[5], 5, 0}, {NULL, NULL, 0, 0},
67 {NULL, NULL, 0, 0}, {NULL, NULL, 0, 0},
68 {"#any", (void *) &lxb_ns_prefix_res_data[1], 4, 0}, {NULL, NULL, 0, 0},
69 {"xml", (void *) &lxb_ns_prefix_res_data[6], 3, 0}
70};
71
72static const lexbor_shs_entry_t lxb_ns_res_shs_link_data[] =
73{
74 {NULL, NULL, 22, 0},
75 {"http://www.w3.org/1999/xhtml", (void *) &lxb_ns_res_data[2], 28, 0},
76 {NULL, NULL, 0, 0},
77 {NULL, NULL, 0, 0},
78 {NULL, NULL, 0, 0},
79 {NULL, NULL, 0, 0},
80 {"http://www.w3.org/2000/xmlns/", (void *) &lxb_ns_res_data[7], 29, 0},
81 {"http://www.w3.org/1998/math/mathml", (void *) &lxb_ns_res_data[3], 34, 0},
82 {NULL, NULL, 0, 0},
83 {"http://www.w3.org/1999/xlink", (void *) &lxb_ns_res_data[5], 28, 0},
84 {NULL, NULL, 0, 0},
85 {NULL, NULL, 0, 0},
86 {NULL, NULL, 0, 0},
87 {NULL, NULL, 0, 0},
88 {NULL, NULL, 0, 0},
89 {NULL, NULL, 0, 0},
90 {"#any", (void *) &lxb_ns_res_data[1], 4, 0},
91 {"http://www.w3.org/2000/svg", (void *) &lxb_ns_res_data[4], 26, 0},
92 {NULL, NULL, 0, 0},
93 {"#undef", (void *) &lxb_ns_res_data[0], 6, 0},
94 {NULL, NULL, 0, 0},
95 {"http://www.w3.org/xml/1998/namespace", (void *) &lxb_ns_res_data[6], 36, 0},
96 {NULL, NULL, 0, 0}
97};
#define NULL
Definition gdcache.h:45
#define next(ls)
Definition minilua.c:2661
@ LXB_NS_MATH
Definition const.h:27
@ LXB_NS__UNDEF
Definition const.h:24
@ LXB_NS_XMLNS
Definition const.h:31
@ LXB_NS_SVG
Definition const.h:28
@ LXB_NS_XLINK
Definition const.h:29
@ LXB_NS_HTML
Definition const.h:26
@ LXB_NS__LAST_ENTRY
Definition const.h:32
@ LXB_NS_XML
Definition const.h:30
@ LXB_NS__ANY
Definition const.h:25
Definition shs.h:19
unsigned char lxb_char_t
Definition types.h:27