nokolexbor 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/nokolexbor/nl_attribute.c +46 -0
- data/ext/nokolexbor/nl_cdata.c +8 -0
- data/ext/nokolexbor/nl_comment.c +6 -0
- data/ext/nokolexbor/nl_document.c +53 -7
- data/ext/nokolexbor/nl_document_fragment.c +9 -0
- data/ext/nokolexbor/nl_error.c +21 -19
- data/ext/nokolexbor/nl_node.c +255 -49
- data/ext/nokolexbor/nl_node_set.c +56 -1
- data/ext/nokolexbor/nl_processing_instruction.c +6 -0
- data/ext/nokolexbor/nl_text.c +6 -0
- data/ext/nokolexbor/nokolexbor.h +1 -0
- data/lib/nokolexbor/document.rb +52 -5
- data/lib/nokolexbor/document_fragment.rb +11 -0
- data/lib/nokolexbor/node.rb +367 -18
- data/lib/nokolexbor/node_set.rb +56 -0
- data/lib/nokolexbor/version.rb +1 -1
- metadata +2 -24
- data/vendor/lexbor/source/lexbor/encoding/base.h +0 -218
- data/vendor/lexbor/source/lexbor/encoding/big5.c +0 -42839
- data/vendor/lexbor/source/lexbor/encoding/config.cmake +0 -12
- data/vendor/lexbor/source/lexbor/encoding/const.h +0 -65
- data/vendor/lexbor/source/lexbor/encoding/decode.c +0 -3193
- data/vendor/lexbor/source/lexbor/encoding/decode.h +0 -370
- data/vendor/lexbor/source/lexbor/encoding/encode.c +0 -1931
- data/vendor/lexbor/source/lexbor/encoding/encode.h +0 -377
- data/vendor/lexbor/source/lexbor/encoding/encoding.c +0 -252
- data/vendor/lexbor/source/lexbor/encoding/encoding.h +0 -475
- data/vendor/lexbor/source/lexbor/encoding/euc_kr.c +0 -53883
- data/vendor/lexbor/source/lexbor/encoding/gb18030.c +0 -47905
- data/vendor/lexbor/source/lexbor/encoding/iso_2022_jp_katakana.c +0 -159
- data/vendor/lexbor/source/lexbor/encoding/jis0208.c +0 -22477
- data/vendor/lexbor/source/lexbor/encoding/jis0212.c +0 -15787
- data/vendor/lexbor/source/lexbor/encoding/multi.h +0 -53
- data/vendor/lexbor/source/lexbor/encoding/range.c +0 -71
- data/vendor/lexbor/source/lexbor/encoding/range.h +0 -34
- data/vendor/lexbor/source/lexbor/encoding/res.c +0 -222
- data/vendor/lexbor/source/lexbor/encoding/res.h +0 -34
- data/vendor/lexbor/source/lexbor/encoding/single.c +0 -13748
- data/vendor/lexbor/source/lexbor/encoding/single.h +0 -116
@@ -1,116 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (C) 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/encoding/single-byte.py"!
|
10
|
-
* Do not change this file!
|
11
|
-
*/
|
12
|
-
|
13
|
-
|
14
|
-
#ifndef LEXBOR_ENCODING_SINGLE_H
|
15
|
-
#define LEXBOR_ENCODING_SINGLE_H
|
16
|
-
|
17
|
-
#ifdef __cplusplus
|
18
|
-
extern "C" {
|
19
|
-
#endif
|
20
|
-
|
21
|
-
#include "lexbor/encoding/base.h"
|
22
|
-
|
23
|
-
#include "lexbor/core/shs.h"
|
24
|
-
|
25
|
-
|
26
|
-
#define LXB_ENCODING_SINGLE_HASH_IBM866_SIZE 344
|
27
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_10_SIZE 343
|
28
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_13_SIZE 345
|
29
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_14_SIZE 407
|
30
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_15_SIZE 344
|
31
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_16_SIZE 413
|
32
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_2_SIZE 368
|
33
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_3_SIZE 343
|
34
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_4_SIZE 343
|
35
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_5_SIZE 343
|
36
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_6_SIZE 343
|
37
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_7_SIZE 344
|
38
|
-
#define LXB_ENCODING_SINGLE_HASH_ISO_8859_8_SIZE 347
|
39
|
-
#define LXB_ENCODING_SINGLE_HASH_KOI8_R_SIZE 486
|
40
|
-
#define LXB_ENCODING_SINGLE_HASH_KOI8_U_SIZE 380
|
41
|
-
#define LXB_ENCODING_SINGLE_HASH_MACINTOSH_SIZE 343
|
42
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1250_SIZE 432
|
43
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1251_SIZE 362
|
44
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1252_SIZE 373
|
45
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1253_SIZE 354
|
46
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1254_SIZE 354
|
47
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1255_SIZE 467
|
48
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1256_SIZE 343
|
49
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1257_SIZE 355
|
50
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_1258_SIZE 405
|
51
|
-
#define LXB_ENCODING_SINGLE_HASH_WINDOWS_874_SIZE 359
|
52
|
-
#define LXB_ENCODING_SINGLE_HASH_X_MAC_CYRILLIC_SIZE 373
|
53
|
-
|
54
|
-
|
55
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_ibm866[128];
|
56
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_10[128];
|
57
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_13[128];
|
58
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_14[128];
|
59
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_15[128];
|
60
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_16[128];
|
61
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_2[128];
|
62
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_3[128];
|
63
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_4[128];
|
64
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_5[128];
|
65
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_6[128];
|
66
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_7[128];
|
67
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_iso_8859_8[128];
|
68
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_koi8_r[128];
|
69
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_koi8_u[128];
|
70
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_macintosh[128];
|
71
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1250[128];
|
72
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1251[128];
|
73
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1252[128];
|
74
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1253[128];
|
75
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1254[128];
|
76
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1255[128];
|
77
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1256[128];
|
78
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1257[128];
|
79
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_1258[128];
|
80
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_windows_874[128];
|
81
|
-
LXB_EXTERN const lxb_encoding_single_index_t lxb_encoding_single_index_x_mac_cyrillic[128];
|
82
|
-
|
83
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_ibm866[345];
|
84
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_10[344];
|
85
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_13[346];
|
86
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_14[408];
|
87
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_15[345];
|
88
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_16[414];
|
89
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_2[369];
|
90
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_3[344];
|
91
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_4[344];
|
92
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_5[344];
|
93
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_6[344];
|
94
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_7[345];
|
95
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_iso_8859_8[348];
|
96
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_koi8_r[487];
|
97
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_koi8_u[381];
|
98
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_macintosh[351];
|
99
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1250[433];
|
100
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1251[363];
|
101
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1252[374];
|
102
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1253[355];
|
103
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1254[355];
|
104
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1255[468];
|
105
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1256[357];
|
106
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1257[356];
|
107
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_1258[406];
|
108
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_windows_874[360];
|
109
|
-
LXB_EXTERN const lexbor_shs_hash_t lxb_encoding_single_hash_x_mac_cyrillic[374];
|
110
|
-
|
111
|
-
|
112
|
-
#ifdef __cplusplus
|
113
|
-
} /* extern "C" */
|
114
|
-
#endif
|
115
|
-
|
116
|
-
#endif /* LEXBOR_ENCODING_SINGLE_H */
|