xrb 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ext/xrb/template.c +944 -667
- data/ext/xrb/template.rl +44 -5
- data/lib/xrb/fallback/markup.rb +24 -25
- data/lib/xrb/fallback/markup.rl +3 -2
- data/lib/xrb/fallback/query.rb +0 -2
- data/lib/xrb/fallback/template.rb +715 -393
- data/lib/xrb/fallback/template.rl +35 -1
- data/lib/xrb/template.rb +1 -3
- data/lib/xrb/version.rb +1 -1
- data/notes.md +0 -0
- data.tar.gz.sig +0 -0
- metadata +3 -12
- metadata.gz.sig +0 -0
- data/ext/Makefile +0 -270
- data/ext/XRB_Extension.bundle +0 -0
- data/ext/escape.o +0 -0
- data/ext/extconf.h +0 -5
- data/ext/markup.o +0 -0
- data/ext/mkmf.log +0 -69
- data/ext/query.o +0 -0
- data/ext/tag.o +0 -0
- data/ext/template.o +0 -0
- data/ext/xrb.o +0 -0
@@ -1,13 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
# Released under the MIT License.
|
3
|
-
# Copyright, 2016-2024, by Samuel Williams.
|
4
2
|
|
5
3
|
# line 1 "lib/xrb/fallback/template.rl"
|
6
4
|
# Released under the MIT License.
|
7
5
|
# Copyright, 2016-2024, by Samuel Williams.
|
8
6
|
|
9
7
|
|
10
|
-
# line
|
8
|
+
# line 80 "lib/xrb/fallback/template.rl"
|
11
9
|
|
12
10
|
|
13
11
|
require_relative '../error'
|
@@ -21,27 +19,28 @@ module XRB
|
|
21
19
|
private :_template_trans_keys, :_template_trans_keys=
|
22
20
|
end
|
23
21
|
self._template_trans_keys = [
|
24
|
-
0, 0, 10, 60,
|
25
|
-
|
26
|
-
|
22
|
+
0, 0, 10, 60, 10, 123,
|
23
|
+
10, 63, 10, 114, 9,
|
24
|
+
60, 63, 63, 62, 62,
|
27
25
|
9, 32, 63, 63, 62, 62,
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
125, 34,
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
26
|
+
34, 125, 34, 35, 35,
|
27
|
+
125, 35, 125, 34, 39,
|
28
|
+
35, 125, 35, 125, 34, 123,
|
29
|
+
34, 123, 39, 39, 34,
|
30
|
+
125, 34, 125, 34, 125,
|
31
|
+
34, 35, 35, 125, 35, 125,
|
32
|
+
34, 39, 35, 125, 35,
|
33
|
+
125, 34, 123, 34, 123,
|
34
|
+
39, 39, 34, 125, 9, 60,
|
35
|
+
10, 60, 10, 60, 10,
|
36
|
+
123, 10, 63, 10, 114,
|
37
|
+
9, 60, 9, 60, 10, 63,
|
38
|
+
10, 114, 9, 60, 63,
|
39
|
+
63, 10, 123, 10, 63,
|
40
|
+
10, 114, 9, 60, 63, 63,
|
41
|
+
9, 32, 34, 39, 34,
|
42
|
+
35, 39, 39, 0, 0,
|
43
|
+
34, 39, 34, 35, 39, 39,
|
45
44
|
0, 0, 0
|
46
45
|
]
|
47
46
|
|
@@ -50,14 +49,14 @@ module XRB
|
|
50
49
|
private :_template_key_spans, :_template_key_spans=
|
51
50
|
end
|
52
51
|
self._template_key_spans = [
|
53
|
-
0, 51,
|
54
|
-
24, 1, 1,
|
55
|
-
|
56
|
-
91, 6, 91, 91, 90, 90,
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
0
|
52
|
+
0, 51, 114, 54, 105, 52, 1, 1,
|
53
|
+
24, 1, 1, 92, 2, 91, 91, 6,
|
54
|
+
91, 91, 90, 90, 1, 92, 92, 92,
|
55
|
+
2, 91, 91, 6, 91, 91, 90, 90,
|
56
|
+
1, 92, 52, 51, 51, 114, 54, 105,
|
57
|
+
52, 52, 54, 105, 52, 1, 114, 54,
|
58
|
+
105, 52, 1, 24, 6, 2, 1, 0,
|
59
|
+
6, 2, 1, 0
|
61
60
|
]
|
62
61
|
|
63
62
|
class << self
|
@@ -65,14 +64,14 @@ module XRB
|
|
65
64
|
private :_template_index_offsets, :_template_index_offsets=
|
66
65
|
end
|
67
66
|
self._template_index_offsets = [
|
68
|
-
0, 0, 52,
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
67
|
+
0, 0, 52, 167, 222, 328, 381, 383,
|
68
|
+
385, 410, 412, 414, 507, 510, 602, 694,
|
69
|
+
701, 793, 885, 976, 1067, 1069, 1162, 1255,
|
70
|
+
1348, 1351, 1443, 1535, 1542, 1634, 1726, 1817,
|
71
|
+
1908, 1910, 2003, 2056, 2108, 2160, 2275, 2330,
|
72
|
+
2436, 2489, 2542, 2597, 2703, 2756, 2758, 2873,
|
73
|
+
2928, 3034, 3087, 3089, 3114, 3121, 3124, 3126,
|
74
|
+
3127, 3134, 3137, 3139
|
76
75
|
]
|
77
76
|
|
78
77
|
class << self
|
@@ -86,66 +85,91 @@ module XRB
|
|
86
85
|
1, 3, 1, 1, 1, 1, 1, 1,
|
87
86
|
1, 1, 1, 1, 1, 1, 1, 1,
|
88
87
|
1, 1, 1, 1, 1, 1, 1, 1,
|
89
|
-
1, 1, 4, 1,
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
88
|
+
1, 1, 4, 1, 2, 1, 1, 1,
|
89
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
90
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
91
|
+
1, 1, 1, 1, 1, 3, 1, 1,
|
92
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
93
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
94
|
+
1, 1, 1, 1, 1, 1, 4, 1,
|
95
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
96
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
97
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
98
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
99
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
100
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
101
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
102
|
+
1, 1, 1, 1, 1, 0, 1, 2,
|
103
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
104
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
105
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
106
|
+
3, 1, 1, 1, 1, 1, 1, 1,
|
107
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
108
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
109
|
+
1, 4, 1, 1, 5, 1, 2, 1,
|
110
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
111
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
112
|
+
1, 1, 1, 1, 1, 1, 1, 3,
|
113
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
114
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
115
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
116
|
+
4, 1, 1, 1, 1, 1, 1, 1,
|
117
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
118
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
119
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
120
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
121
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
122
|
+
1, 1, 1, 1, 1, 1, 6, 1,
|
123
|
+
0, 0, 0, 0, 0, 1, 1, 1,
|
124
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
125
|
+
1, 1, 1, 1, 1, 1, 1, 0,
|
126
|
+
1, 1, 3, 1, 1, 1, 1, 1,
|
127
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
128
|
+
1, 1, 1, 1, 1, 1, 1, 1,
|
129
|
+
1, 1, 1, 4, 1, 9, 8, 10,
|
130
|
+
8, 10, 12, 10, 10, 10, 11, 11,
|
131
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
132
|
+
11, 11, 11, 11, 11, 11, 11, 11,
|
133
|
+
10, 11, 14, 13, 15, 13, 17, 16,
|
134
|
+
16, 16, 16, 18, 16, 16, 16, 16,
|
135
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
136
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
137
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
138
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
139
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
140
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
141
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
142
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
143
|
+
16, 16, 16, 16, 16, 16, 16, 16,
|
144
|
+
16, 16, 16, 16, 16, 16, 16, 19,
|
145
|
+
16, 20, 16, 21, 22, 17, 23, 21,
|
146
|
+
21, 21, 24, 21, 21, 21, 21, 21,
|
147
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
148
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
149
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
150
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
151
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
152
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
153
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
154
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
155
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
156
|
+
21, 21, 21, 21, 21, 21, 25, 21,
|
157
|
+
26, 21, 23, 21, 21, 21, 24, 21,
|
158
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
159
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
160
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
161
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
162
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
163
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
164
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
165
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
166
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
167
|
+
21, 21, 21, 21, 21, 21, 21, 21,
|
168
|
+
21, 21, 27, 21, 26, 21, 28, 29,
|
169
|
+
24, 24, 24, 28, 24, 30, 28, 28,
|
170
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
171
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
172
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
149
173
|
28, 28, 28, 28, 28, 28, 28, 28,
|
150
174
|
28, 28, 28, 28, 28, 28, 28, 28,
|
151
175
|
28, 28, 28, 28, 28, 28, 28, 28,
|
@@ -153,58 +177,42 @@ module XRB
|
|
153
177
|
28, 28, 28, 28, 28, 28, 28, 28,
|
154
178
|
28, 28, 28, 28, 28, 28, 28, 28,
|
155
179
|
28, 28, 28, 28, 28, 28, 28, 28,
|
180
|
+
28, 28, 28, 28, 28, 31, 28, 32,
|
181
|
+
28, 30, 28, 28, 28, 28, 28, 28,
|
156
182
|
28, 28, 28, 28, 28, 28, 28, 28,
|
157
183
|
28, 28, 28, 28, 28, 28, 28, 28,
|
158
|
-
28, 28, 28, 28, 28, 28,
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
191
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
192
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
193
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
194
|
-
40, 40, 40, 40, 43, 40, 44, 40,
|
195
|
-
42, 40, 40, 40, 40, 40, 40, 40,
|
196
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
197
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
198
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
199
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
200
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
201
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
202
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
203
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
204
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
205
|
-
40, 40, 40, 40, 40, 40, 40, 40,
|
206
|
-
45, 40, 44, 40, 40, 41, 36, 36,
|
207
|
-
36, 40, 36, 36, 36, 36, 36, 36,
|
184
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
185
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
186
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
187
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
188
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
189
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
190
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
191
|
+
28, 28, 28, 28, 28, 28, 28, 28,
|
192
|
+
28, 33, 28, 32, 28, 28, 29, 24,
|
193
|
+
24, 24, 28, 24, 24, 24, 24, 24,
|
194
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
195
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
196
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
197
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
198
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
199
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
200
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
201
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
202
|
+
24, 24, 24, 24, 24, 24, 24, 24,
|
203
|
+
24, 24, 24, 24, 24, 24, 34, 24,
|
204
|
+
21, 22, 17, 17, 17, 17, 17, 17,
|
205
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
206
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
207
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
208
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
209
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
210
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
211
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
212
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
213
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
214
|
+
17, 17, 17, 17, 17, 17, 17, 17,
|
215
|
+
17, 35, 17, 36, 18, 24, 36, 36,
|
208
216
|
36, 36, 36, 36, 36, 36, 36, 36,
|
209
217
|
36, 36, 36, 36, 36, 36, 36, 36,
|
210
218
|
36, 36, 36, 36, 36, 36, 36, 36,
|
@@ -214,43 +222,56 @@ module XRB
|
|
214
222
|
36, 36, 36, 36, 36, 36, 36, 36,
|
215
223
|
36, 36, 36, 36, 36, 36, 36, 36,
|
216
224
|
36, 36, 36, 36, 36, 36, 36, 36,
|
217
|
-
36, 36, 36, 36, 36,
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
225
|
+
36, 36, 36, 36, 36, 36, 36, 36,
|
226
|
+
36, 36, 36, 36, 36, 36, 37, 36,
|
227
|
+
38, 36, 40, 39, 39, 39, 39, 41,
|
228
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
229
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
230
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
231
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
232
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
233
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
234
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
235
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
236
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
237
|
+
39, 39, 39, 39, 39, 39, 39, 39,
|
238
|
+
39, 39, 39, 42, 39, 43, 39, 45,
|
239
|
+
44, 44, 44, 44, 46, 44, 44, 44,
|
240
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
241
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
242
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
243
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
244
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
245
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
246
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
247
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
248
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
249
|
+
44, 44, 44, 44, 44, 44, 44, 44,
|
250
|
+
47, 44, 48, 44, 49, 50, 45, 51,
|
251
|
+
49, 49, 49, 52, 49, 49, 49, 49,
|
252
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
253
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
254
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
255
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
256
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
257
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
258
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
259
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
260
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
261
|
+
49, 49, 49, 49, 49, 49, 49, 53,
|
262
|
+
49, 54, 49, 51, 49, 49, 49, 52,
|
263
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
264
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
265
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
266
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
267
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
268
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
269
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
270
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
271
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
272
|
+
49, 49, 49, 49, 49, 49, 49, 49,
|
273
|
+
49, 49, 49, 55, 49, 54, 49, 56,
|
274
|
+
57, 52, 52, 52, 56, 52, 58, 56,
|
254
275
|
56, 56, 56, 56, 56, 56, 56, 56,
|
255
276
|
56, 56, 56, 56, 56, 56, 56, 56,
|
256
277
|
56, 56, 56, 56, 56, 56, 56, 56,
|
@@ -261,8 +282,8 @@ module XRB
|
|
261
282
|
56, 56, 56, 56, 56, 56, 56, 56,
|
262
283
|
56, 56, 56, 56, 56, 56, 56, 56,
|
263
284
|
56, 56, 56, 56, 56, 56, 56, 56,
|
264
|
-
56,
|
265
|
-
|
285
|
+
56, 56, 56, 56, 56, 56, 59, 56,
|
286
|
+
60, 56, 58, 56, 56, 56, 56, 56,
|
266
287
|
56, 56, 56, 56, 56, 56, 56, 56,
|
267
288
|
56, 56, 56, 56, 56, 56, 56, 56,
|
268
289
|
56, 56, 56, 56, 56, 56, 56, 56,
|
@@ -272,44 +293,9 @@ module XRB
|
|
272
293
|
56, 56, 56, 56, 56, 56, 56, 56,
|
273
294
|
56, 56, 56, 56, 56, 56, 56, 56,
|
274
295
|
56, 56, 56, 56, 56, 56, 56, 56,
|
275
|
-
56, 56, 56, 56, 56,
|
276
|
-
56,
|
277
|
-
|
278
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
279
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
280
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
281
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
282
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
283
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
284
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
285
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
286
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
287
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
288
|
-
66, 63, 67, 63, 65, 63, 63, 63,
|
289
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
290
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
291
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
292
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
293
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
294
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
295
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
296
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
297
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
298
|
-
63, 63, 63, 63, 63, 63, 63, 63,
|
299
|
-
63, 63, 63, 63, 68, 63, 67, 63,
|
300
|
-
63, 64, 59, 59, 59, 63, 59, 59,
|
301
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
302
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
303
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
304
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
305
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
306
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
307
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
308
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
309
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
310
|
-
59, 59, 59, 59, 59, 59, 59, 59,
|
311
|
-
59, 69, 59, 56, 57, 52, 52, 52,
|
312
|
-
52, 52, 52, 52, 52, 52, 52, 52,
|
296
|
+
56, 56, 56, 56, 56, 56, 56, 56,
|
297
|
+
56, 56, 61, 56, 60, 56, 56, 57,
|
298
|
+
52, 52, 52, 56, 52, 52, 52, 52,
|
313
299
|
52, 52, 52, 52, 52, 52, 52, 52,
|
314
300
|
52, 52, 52, 52, 52, 52, 52, 52,
|
315
301
|
52, 52, 52, 52, 52, 52, 52, 52,
|
@@ -319,52 +305,173 @@ module XRB
|
|
319
305
|
52, 52, 52, 52, 52, 52, 52, 52,
|
320
306
|
52, 52, 52, 52, 52, 52, 52, 52,
|
321
307
|
52, 52, 52, 52, 52, 52, 52, 52,
|
322
|
-
52, 52, 52, 52,
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
308
|
+
52, 52, 52, 52, 52, 52, 52, 62,
|
309
|
+
52, 49, 50, 45, 45, 45, 45, 45,
|
310
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
311
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
312
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
313
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
314
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
315
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
316
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
317
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
318
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
319
|
+
45, 45, 45, 45, 45, 45, 45, 45,
|
320
|
+
45, 45, 63, 45, 64, 46, 52, 64,
|
321
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
322
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
323
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
324
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
325
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
326
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
327
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
328
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
329
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
330
|
+
64, 64, 64, 64, 64, 64, 64, 64,
|
331
|
+
64, 64, 64, 64, 64, 64, 64, 65,
|
332
|
+
64, 66, 64, 68, 69, 68, 68, 68,
|
333
|
+
67, 67, 67, 67, 67, 67, 67, 67,
|
334
|
+
67, 67, 67, 67, 67, 67, 67, 67,
|
335
|
+
67, 67, 68, 67, 67, 70, 67, 67,
|
336
|
+
67, 67, 67, 67, 67, 67, 67, 67,
|
337
|
+
67, 67, 67, 67, 67, 67, 67, 67,
|
338
|
+
67, 67, 67, 67, 67, 67, 71, 67,
|
339
|
+
74, 73, 73, 73, 73, 73, 73, 73,
|
340
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
341
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
342
|
+
73, 75, 73, 73, 73, 73, 73, 73,
|
343
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
344
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
345
|
+
73, 73, 76, 73, 2, 1, 1, 1,
|
348
346
|
1, 1, 1, 1, 1, 1, 1, 1,
|
349
347
|
1, 1, 1, 1, 1, 1, 1, 1,
|
350
|
-
1, 1, 1, 1, 1,
|
351
|
-
1, 1, 1, 1, 1, 1, 1, 1,
|
348
|
+
1, 1, 1, 1, 1, 3, 1, 1,
|
352
349
|
1, 1, 1, 1, 1, 1, 1, 1,
|
353
350
|
1, 1, 1, 1, 1, 1, 1, 1,
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
351
|
+
1, 1, 1, 1, 1, 1, 4, 1,
|
352
|
+
74, 73, 73, 73, 73, 73, 73, 73,
|
353
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
354
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
355
|
+
73, 75, 73, 73, 73, 73, 73, 73,
|
356
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
357
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
358
|
+
73, 73, 76, 73, 73, 73, 73, 73,
|
359
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
360
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
361
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
362
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
363
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
364
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
365
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
366
|
+
73, 78, 73, 74, 73, 73, 73, 73,
|
367
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
368
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
369
|
+
73, 73, 73, 73, 75, 73, 73, 73,
|
370
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
371
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
372
|
+
73, 73, 73, 73, 73, 76, 73, 73,
|
373
|
+
79, 73, 74, 73, 73, 73, 73, 73,
|
374
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
375
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
376
|
+
73, 73, 73, 75, 73, 73, 73, 73,
|
377
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
378
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
379
|
+
73, 73, 73, 73, 76, 73, 73, 73,
|
380
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
381
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
382
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
383
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
384
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
385
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
386
|
+
73, 73, 80, 73, 78, 78, 78, 78,
|
387
|
+
78, 73, 73, 73, 73, 73, 73, 73,
|
388
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
389
|
+
73, 73, 73, 78, 73, 73, 75, 73,
|
390
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
391
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
392
|
+
73, 73, 73, 73, 73, 73, 73, 76,
|
393
|
+
73, 81, 74, 81, 81, 81, 73, 73,
|
394
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
395
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
396
|
+
81, 73, 73, 75, 73, 73, 73, 73,
|
397
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
398
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
399
|
+
73, 73, 73, 73, 82, 73, 74, 73,
|
400
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
401
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
402
|
+
73, 73, 73, 73, 73, 73, 73, 75,
|
403
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
404
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
405
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
406
|
+
76, 73, 73, 83, 73, 74, 73, 73,
|
407
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
408
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
409
|
+
73, 73, 73, 73, 73, 73, 75, 73,
|
410
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
411
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
412
|
+
73, 73, 73, 73, 73, 73, 73, 76,
|
413
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
414
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
415
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
416
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
417
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
418
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
419
|
+
73, 73, 73, 73, 73, 84, 73, 85,
|
420
|
+
85, 85, 85, 85, 73, 73, 73, 73,
|
421
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
422
|
+
73, 73, 73, 73, 73, 73, 85, 73,
|
423
|
+
73, 75, 73, 73, 73, 73, 73, 73,
|
424
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
425
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
426
|
+
73, 73, 76, 73, 9, 8, 74, 73,
|
427
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
428
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
429
|
+
73, 73, 73, 73, 73, 73, 73, 75,
|
430
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
431
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
432
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
433
|
+
76, 73, 73, 73, 73, 73, 73, 73,
|
434
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
435
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
436
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
437
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
438
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
439
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
440
|
+
73, 73, 73, 73, 73, 73, 73, 87,
|
441
|
+
73, 74, 73, 73, 73, 73, 73, 73,
|
442
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
443
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
444
|
+
73, 73, 75, 73, 73, 73, 73, 73,
|
445
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
446
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
447
|
+
73, 73, 73, 76, 73, 73, 88, 73,
|
448
|
+
74, 73, 73, 73, 73, 73, 73, 73,
|
449
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
450
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
451
|
+
73, 75, 73, 73, 73, 73, 73, 73,
|
452
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
453
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
454
|
+
73, 73, 76, 73, 73, 73, 73, 73,
|
455
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
456
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
457
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
458
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
459
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
460
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
461
|
+
89, 73, 90, 90, 90, 90, 90, 73,
|
462
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
463
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
464
|
+
73, 90, 73, 73, 75, 73, 73, 73,
|
465
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
466
|
+
73, 73, 73, 73, 73, 73, 73, 73,
|
467
|
+
73, 73, 73, 73, 73, 76, 73, 14,
|
468
|
+
13, 10, 12, 10, 10, 10, 91, 91,
|
469
|
+
91, 91, 91, 91, 91, 91, 91, 91,
|
470
|
+
91, 91, 91, 91, 91, 91, 91, 91,
|
471
|
+
10, 91, 28, 29, 24, 24, 24, 28,
|
472
|
+
24, 21, 22, 17, 36, 18, 92, 56,
|
473
|
+
57, 52, 52, 52, 56, 52, 49, 50,
|
474
|
+
45, 64, 46, 92, 0
|
368
475
|
]
|
369
476
|
|
370
477
|
class << self
|
@@ -372,17 +479,18 @@ module XRB
|
|
372
479
|
private :_template_trans_targs, :_template_trans_targs=
|
373
480
|
end
|
374
481
|
self._template_trans_targs = [
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
52,
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
482
|
+
34, 1, 36, 2, 3, 4, 5, 34,
|
483
|
+
6, 7, 8, 34, 34, 9, 10, 51,
|
484
|
+
11, 12, 20, 11, 55, 13, 19, 14,
|
485
|
+
15, 13, 53, 13, 16, 18, 17, 16,
|
486
|
+
52, 16, 15, 12, 21, 21, 54, 23,
|
487
|
+
24, 32, 23, 59, 23, 24, 32, 23,
|
488
|
+
59, 25, 31, 26, 27, 25, 57, 25,
|
489
|
+
28, 30, 29, 28, 56, 28, 27, 24,
|
490
|
+
33, 33, 58, 35, 41, 36, 46, 47,
|
491
|
+
34, 35, 36, 37, 38, 34, 34, 39,
|
492
|
+
40, 41, 42, 43, 44, 45, 34, 34,
|
493
|
+
48, 49, 50, 34, 0
|
386
494
|
]
|
387
495
|
|
388
496
|
class << self
|
@@ -390,17 +498,18 @@ module XRB
|
|
390
498
|
private :_template_trans_actions, :_template_trans_actions=
|
391
499
|
end
|
392
500
|
self._template_trans_actions = [
|
393
|
-
1, 0, 2, 0, 0,
|
394
|
-
0, 4,
|
395
|
-
0, 0, 0, 9,
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
0, 0, 0,
|
401
|
-
0,
|
402
|
-
|
403
|
-
|
501
|
+
1, 0, 2, 0, 0, 0, 0, 3,
|
502
|
+
0, 4, 0, 5, 6, 0, 4, 7,
|
503
|
+
0, 0, 0, 9, 10, 0, 0, 0,
|
504
|
+
0, 9, 10, 11, 0, 0, 0, 9,
|
505
|
+
10, 11, 12, 12, 0, 9, 10, 14,
|
506
|
+
14, 14, 15, 16, 0, 0, 0, 9,
|
507
|
+
17, 0, 0, 0, 0, 9, 17, 11,
|
508
|
+
0, 0, 0, 9, 17, 11, 12, 12,
|
509
|
+
0, 9, 17, 20, 20, 21, 19, 19,
|
510
|
+
22, 0, 23, 24, 24, 25, 26, 0,
|
511
|
+
0, 0, 24, 0, 0, 27, 28, 29,
|
512
|
+
0, 0, 30, 31, 0
|
404
513
|
]
|
405
514
|
|
406
515
|
class << self
|
@@ -409,13 +518,13 @@ module XRB
|
|
409
518
|
end
|
410
519
|
self._template_to_state_actions = [
|
411
520
|
0, 0, 0, 0, 0, 0, 0, 0,
|
521
|
+
0, 0, 0, 8, 8, 8, 0, 8,
|
522
|
+
8, 0, 0, 0, 0, 8, 8, 8,
|
523
|
+
8, 8, 0, 8, 8, 0, 0, 0,
|
524
|
+
0, 8, 8, 0, 0, 0, 0, 0,
|
412
525
|
0, 0, 0, 0, 0, 0, 0, 0,
|
413
|
-
0, 0, 0, 0, 0, 12, 12, 12,
|
414
|
-
0, 12, 12, 0, 0, 0, 0, 12,
|
415
|
-
12, 12, 12, 0, 12, 12, 0, 0,
|
416
|
-
0, 0, 12, 12, 0, 0, 0, 0,
|
417
526
|
0, 0, 0, 0, 0, 0, 0, 0,
|
418
|
-
0
|
527
|
+
0, 0, 0, 0
|
419
528
|
]
|
420
529
|
|
421
530
|
class << self
|
@@ -427,10 +536,10 @@ module XRB
|
|
427
536
|
0, 0, 0, 0, 0, 0, 0, 0,
|
428
537
|
0, 0, 0, 0, 0, 0, 0, 0,
|
429
538
|
0, 0, 0, 0, 0, 0, 0, 0,
|
539
|
+
0, 0, 18, 0, 0, 0, 0, 0,
|
430
540
|
0, 0, 0, 0, 0, 0, 0, 0,
|
431
|
-
0, 0, 0, 19, 0, 0, 0, 0,
|
432
541
|
0, 0, 0, 0, 0, 0, 0, 0,
|
433
|
-
0
|
542
|
+
0, 0, 0, 0
|
434
543
|
]
|
435
544
|
|
436
545
|
class << self
|
@@ -439,13 +548,13 @@ module XRB
|
|
439
548
|
end
|
440
549
|
self._template_eof_actions = [
|
441
550
|
0, 0, 0, 0, 0, 0, 0, 0,
|
442
|
-
0, 0, 0, 0, 0, 0, 9, 9,
|
443
|
-
9, 9, 9, 9, 9, 0, 0, 0,
|
444
551
|
0, 0, 0, 0, 0, 0, 0, 0,
|
445
|
-
|
446
|
-
|
552
|
+
0, 0, 0, 0, 0, 0, 13, 13,
|
553
|
+
13, 13, 13, 13, 13, 13, 13, 13,
|
554
|
+
13, 13, 19, 0, 0, 0, 0, 0,
|
555
|
+
0, 0, 0, 0, 0, 0, 0, 0,
|
447
556
|
0, 0, 0, 0, 0, 0, 0, 0,
|
448
|
-
0
|
557
|
+
0, 0, 0, 0
|
449
558
|
]
|
450
559
|
|
451
560
|
class << self
|
@@ -453,24 +562,24 @@ module XRB
|
|
453
562
|
private :_template_eof_trans, :_template_eof_trans=
|
454
563
|
end
|
455
564
|
self._template_eof_trans = [
|
456
|
-
0, 1, 1, 1,
|
457
|
-
|
565
|
+
0, 1, 1, 1, 1, 1, 8, 8,
|
566
|
+
12, 8, 8, 0, 0, 0, 0, 0,
|
458
567
|
0, 0, 0, 0, 0, 0, 0, 0,
|
459
568
|
0, 0, 0, 0, 0, 0, 0, 0,
|
460
|
-
0, 0, 0,
|
461
|
-
|
462
|
-
|
463
|
-
0
|
569
|
+
0, 0, 0, 73, 78, 73, 73, 73,
|
570
|
+
73, 73, 73, 73, 73, 87, 73, 73,
|
571
|
+
73, 73, 87, 92, 0, 0, 0, 0,
|
572
|
+
0, 0, 0, 0
|
464
573
|
]
|
465
574
|
|
466
575
|
class << self
|
467
576
|
attr_accessor :template_start
|
468
577
|
end
|
469
|
-
self.template_start =
|
578
|
+
self.template_start = 34;
|
470
579
|
class << self
|
471
580
|
attr_accessor :template_first_final
|
472
581
|
end
|
473
|
-
self.template_first_final =
|
582
|
+
self.template_first_final = 34;
|
474
583
|
class << self
|
475
584
|
attr_accessor :template_error
|
476
585
|
end
|
@@ -479,18 +588,18 @@ module XRB
|
|
479
588
|
class << self
|
480
589
|
attr_accessor :template_en_parse_nested_expression
|
481
590
|
end
|
482
|
-
self.template_en_parse_nested_expression =
|
591
|
+
self.template_en_parse_nested_expression = 11;
|
483
592
|
class << self
|
484
593
|
attr_accessor :template_en_parse_expression
|
485
594
|
end
|
486
|
-
self.template_en_parse_expression =
|
595
|
+
self.template_en_parse_expression = 22;
|
487
596
|
class << self
|
488
597
|
attr_accessor :template_en_main
|
489
598
|
end
|
490
|
-
self.template_en_main =
|
599
|
+
self.template_en_main = 34;
|
491
600
|
|
492
601
|
|
493
|
-
# line
|
602
|
+
# line 87 "lib/xrb/fallback/template.rl"
|
494
603
|
|
495
604
|
def self.parse_template(buffer, delegate)
|
496
605
|
data = buffer.read
|
@@ -500,11 +609,16 @@ module XRB
|
|
500
609
|
pe = eof = data.bytesize
|
501
610
|
stack = []
|
502
611
|
|
612
|
+
ts = te = nil
|
613
|
+
act = nil
|
614
|
+
|
503
615
|
expression_begin = expression_end = nil
|
504
616
|
instruction_begin = instruction_end = nil
|
617
|
+
text_begin = text_end = nil
|
618
|
+
delimiter_begin = delimiter_end = nil
|
505
619
|
|
506
620
|
|
507
|
-
# line
|
621
|
+
# line 621 "lib/xrb/fallback/template.rb"
|
508
622
|
begin
|
509
623
|
p ||= 0
|
510
624
|
pe ||= data.length
|
@@ -515,9 +629,9 @@ module XRB
|
|
515
629
|
act = 0
|
516
630
|
end
|
517
631
|
|
518
|
-
# line
|
632
|
+
# line 105 "lib/xrb/fallback/template.rl"
|
519
633
|
|
520
|
-
# line
|
634
|
+
# line 634 "lib/xrb/fallback/template.rb"
|
521
635
|
begin
|
522
636
|
testEof = false
|
523
637
|
_slen, _trans, _keys, _inds, _acts, _nacts = nil
|
@@ -540,12 +654,12 @@ module XRB
|
|
540
654
|
end
|
541
655
|
if _goto_level <= _resume
|
542
656
|
case _template_from_state_actions[cs]
|
543
|
-
when
|
657
|
+
when 18 then
|
544
658
|
# line 1 "NONE"
|
545
659
|
begin
|
546
660
|
ts = p
|
547
661
|
end
|
548
|
-
# line
|
662
|
+
# line 662 "lib/xrb/fallback/template.rb"
|
549
663
|
end
|
550
664
|
_keys = cs << 1
|
551
665
|
_inds = _template_index_offsets[cs]
|
@@ -564,47 +678,50 @@ module XRB
|
|
564
678
|
cs = _template_trans_targs[_trans]
|
565
679
|
if _template_trans_actions[_trans] != 0
|
566
680
|
case _template_trans_actions[_trans]
|
567
|
-
when
|
568
|
-
# line
|
681
|
+
when 4 then
|
682
|
+
# line 11 "lib/xrb/fallback/template.rl"
|
569
683
|
begin
|
570
684
|
|
571
|
-
|
685
|
+
instruction_end = p
|
572
686
|
end
|
573
|
-
when
|
574
|
-
# line
|
687
|
+
when 14 then
|
688
|
+
# line 27 "lib/xrb/fallback/template.rl"
|
575
689
|
begin
|
576
690
|
|
577
|
-
|
691
|
+
expression_begin = p
|
578
692
|
end
|
579
|
-
when
|
580
|
-
# line
|
693
|
+
when 20 then
|
694
|
+
# line 43 "lib/xrb/fallback/template.rl"
|
581
695
|
begin
|
582
696
|
|
583
|
-
|
697
|
+
text_begin = p
|
698
|
+
|
699
|
+
delimiter_begin = nil
|
700
|
+
delimiter_end = nil
|
584
701
|
end
|
585
|
-
when
|
586
|
-
# line
|
702
|
+
when 12 then
|
703
|
+
# line 14 "parsers/xrb/template.rl"
|
587
704
|
begin
|
588
705
|
begin
|
589
706
|
stack[top] = cs
|
590
707
|
top+= 1
|
591
|
-
cs =
|
708
|
+
cs = 11
|
592
709
|
_goto_level = _again
|
593
710
|
next
|
594
711
|
end
|
595
712
|
end
|
596
|
-
when
|
597
|
-
# line
|
713
|
+
when 9 then
|
714
|
+
# line 18 "parsers/xrb/template.rl"
|
598
715
|
begin
|
599
716
|
begin
|
600
717
|
stack[top] = cs
|
601
718
|
top+= 1
|
602
|
-
cs =
|
719
|
+
cs = 11
|
603
720
|
_goto_level = _again
|
604
721
|
next
|
605
722
|
end
|
606
723
|
end
|
607
|
-
when
|
724
|
+
when 10 then
|
608
725
|
# line 20 "parsers/xrb/template.rl"
|
609
726
|
begin
|
610
727
|
begin
|
@@ -619,7 +736,7 @@ module XRB
|
|
619
736
|
begin
|
620
737
|
te = p+1
|
621
738
|
end
|
622
|
-
when
|
739
|
+
when 6 then
|
623
740
|
# line 19 "lib/xrb/fallback/template.rl"
|
624
741
|
begin
|
625
742
|
te = p+1
|
@@ -627,23 +744,15 @@ module XRB
|
|
627
744
|
delegate.instruction(data.byteslice(instruction_begin...instruction_end), "\n")
|
628
745
|
end
|
629
746
|
end
|
630
|
-
when
|
631
|
-
# line
|
632
|
-
begin
|
633
|
-
te = p+1
|
634
|
-
begin
|
635
|
-
delegate.text(data.byteslice(ts...te))
|
636
|
-
end
|
637
|
-
end
|
638
|
-
when 22 then
|
639
|
-
# line 43 "lib/xrb/fallback/template.rl"
|
747
|
+
when 25 then
|
748
|
+
# line 72 "lib/xrb/fallback/template.rl"
|
640
749
|
begin
|
641
750
|
te = p
|
642
751
|
p = p - 1; begin
|
643
752
|
delegate.text(data.byteslice(ts...te))
|
644
753
|
end
|
645
754
|
end
|
646
|
-
when
|
755
|
+
when 31 then
|
647
756
|
# line 15 "lib/xrb/fallback/template.rl"
|
648
757
|
begin
|
649
758
|
te = p
|
@@ -651,108 +760,261 @@ module XRB
|
|
651
760
|
delegate.instruction(data.byteslice(instruction_begin...instruction_end))
|
652
761
|
end
|
653
762
|
end
|
654
|
-
when
|
655
|
-
# line
|
763
|
+
when 28 then
|
764
|
+
# line 62 "lib/xrb/fallback/template.rl"
|
656
765
|
begin
|
657
766
|
te = p
|
658
767
|
p = p - 1; begin
|
659
|
-
|
768
|
+
if delimiter_begin
|
769
|
+
text_end = delimiter_begin
|
770
|
+
|
771
|
+
p = delimiter_begin - 1;
|
772
|
+
end
|
773
|
+
|
774
|
+
delegate.text(data.byteslice(text_begin...text_end))
|
660
775
|
end
|
661
776
|
end
|
662
777
|
when 1 then
|
663
|
-
# line
|
778
|
+
# line 72 "lib/xrb/fallback/template.rl"
|
664
779
|
begin
|
665
780
|
begin p = ((te))-1; end
|
666
781
|
begin
|
667
782
|
delegate.text(data.byteslice(ts...te))
|
668
783
|
end
|
669
784
|
end
|
670
|
-
when
|
671
|
-
# line 43 "lib/xrb/fallback/template.rl"
|
672
|
-
begin
|
673
|
-
begin p = ((te))-1; end
|
674
|
-
begin
|
675
|
-
delegate.text(data.byteslice(ts...te))
|
676
|
-
end
|
677
|
-
end
|
678
|
-
when 7 then
|
785
|
+
when 5 then
|
679
786
|
# line 1 "NONE"
|
680
787
|
begin
|
681
788
|
case act
|
682
|
-
when
|
789
|
+
when 4 then
|
683
790
|
begin begin p = ((te))-1; end
|
684
791
|
|
685
792
|
delegate.instruction(data.byteslice(instruction_begin...instruction_end))
|
686
793
|
end
|
687
|
-
when
|
794
|
+
when 5 then
|
688
795
|
begin begin p = ((te))-1; end
|
689
796
|
|
690
|
-
|
797
|
+
if delimiter_begin
|
798
|
+
text_end = delimiter_begin
|
799
|
+
|
800
|
+
p = delimiter_begin - 1;
|
801
|
+
end
|
802
|
+
|
803
|
+
delegate.text(data.byteslice(text_begin...text_end))
|
691
804
|
end
|
692
805
|
end
|
693
806
|
end
|
694
|
-
when
|
807
|
+
when 3 then
|
695
808
|
# line 23 "lib/xrb/fallback/template.rl"
|
696
809
|
begin
|
697
810
|
|
698
811
|
raise ParseError.new("failed to parse instruction", buffer, p)
|
699
812
|
end
|
700
|
-
# line
|
813
|
+
# line 62 "lib/xrb/fallback/template.rl"
|
701
814
|
begin
|
702
815
|
begin p = ((te))-1; end
|
703
816
|
begin
|
704
|
-
|
817
|
+
if delimiter_begin
|
818
|
+
text_end = delimiter_begin
|
819
|
+
|
820
|
+
p = delimiter_begin - 1;
|
821
|
+
end
|
822
|
+
|
823
|
+
delegate.text(data.byteslice(text_begin...text_end))
|
705
824
|
end
|
706
825
|
end
|
707
|
-
when
|
826
|
+
when 15 then
|
708
827
|
# line 27 "lib/xrb/fallback/template.rl"
|
709
828
|
begin
|
710
829
|
|
711
830
|
expression_begin = p
|
712
831
|
end
|
713
|
-
# line
|
832
|
+
# line 18 "parsers/xrb/template.rl"
|
714
833
|
begin
|
715
|
-
|
716
|
-
|
834
|
+
begin
|
835
|
+
stack[top] = cs
|
836
|
+
top+= 1
|
837
|
+
cs = 11
|
838
|
+
_goto_level = _again
|
839
|
+
next
|
840
|
+
end
|
717
841
|
end
|
718
|
-
when
|
719
|
-
# line
|
842
|
+
when 24 then
|
843
|
+
# line 50 "lib/xrb/fallback/template.rl"
|
844
|
+
begin
|
845
|
+
|
846
|
+
text_end = p
|
847
|
+
end
|
848
|
+
# line 54 "lib/xrb/fallback/template.rl"
|
849
|
+
begin
|
850
|
+
|
851
|
+
delimiter_begin = p
|
852
|
+
end
|
853
|
+
when 26 then
|
854
|
+
# line 58 "lib/xrb/fallback/template.rl"
|
855
|
+
begin
|
856
|
+
|
857
|
+
delimiter_end = p
|
858
|
+
end
|
859
|
+
# line 62 "lib/xrb/fallback/template.rl"
|
860
|
+
begin
|
861
|
+
te = p+1
|
862
|
+
begin
|
863
|
+
if delimiter_begin
|
864
|
+
text_end = delimiter_begin
|
865
|
+
|
866
|
+
p = delimiter_begin - 1;
|
867
|
+
end
|
868
|
+
|
869
|
+
delegate.text(data.byteslice(text_begin...text_end))
|
870
|
+
end
|
871
|
+
end
|
872
|
+
when 11 then
|
873
|
+
# line 14 "parsers/xrb/template.rl"
|
720
874
|
begin
|
721
875
|
begin
|
722
876
|
stack[top] = cs
|
723
877
|
top+= 1
|
724
|
-
cs =
|
878
|
+
cs = 11
|
725
879
|
_goto_level = _again
|
726
880
|
next
|
727
881
|
end
|
728
882
|
end
|
729
|
-
# line
|
883
|
+
# line 18 "parsers/xrb/template.rl"
|
730
884
|
begin
|
731
885
|
begin
|
732
886
|
stack[top] = cs
|
733
887
|
top+= 1
|
734
|
-
cs =
|
888
|
+
cs = 11
|
735
889
|
_goto_level = _again
|
736
890
|
next
|
737
891
|
end
|
738
892
|
end
|
739
|
-
when
|
893
|
+
when 7 then
|
740
894
|
# line 1 "NONE"
|
741
895
|
begin
|
742
896
|
te = p+1
|
743
897
|
end
|
744
898
|
# line 15 "lib/xrb/fallback/template.rl"
|
745
899
|
begin
|
746
|
-
act =
|
747
|
-
when
|
748
|
-
# line
|
900
|
+
act = 4; end
|
901
|
+
when 29 then
|
902
|
+
# line 58 "parsers/xrb/template.rl"
|
749
903
|
begin
|
750
904
|
te = p+1
|
905
|
+
begin begin
|
906
|
+
stack[top] = cs
|
907
|
+
top+= 1
|
908
|
+
cs = 22
|
909
|
+
_goto_level = _again
|
910
|
+
next
|
911
|
+
end
|
912
|
+
end
|
751
913
|
end
|
914
|
+
# line 58 "lib/xrb/fallback/template.rl"
|
915
|
+
begin
|
916
|
+
|
917
|
+
delimiter_end = p
|
918
|
+
end
|
919
|
+
when 17 then
|
920
|
+
# line 31 "lib/xrb/fallback/template.rl"
|
921
|
+
begin
|
922
|
+
|
923
|
+
expression_end = p
|
924
|
+
end
|
925
|
+
# line 35 "lib/xrb/fallback/template.rl"
|
926
|
+
begin
|
927
|
+
|
928
|
+
delegate.expression(data.byteslice(expression_begin...expression_end))
|
929
|
+
end
|
930
|
+
# line 21 "parsers/xrb/template.rl"
|
931
|
+
begin
|
932
|
+
begin
|
933
|
+
top -= 1
|
934
|
+
cs = stack[top]
|
935
|
+
_goto_level = _again
|
936
|
+
next
|
937
|
+
end
|
938
|
+
end
|
939
|
+
when 19 then
|
752
940
|
# line 43 "lib/xrb/fallback/template.rl"
|
753
941
|
begin
|
754
|
-
|
755
|
-
|
942
|
+
|
943
|
+
text_begin = p
|
944
|
+
|
945
|
+
delimiter_begin = nil
|
946
|
+
delimiter_end = nil
|
947
|
+
end
|
948
|
+
# line 50 "lib/xrb/fallback/template.rl"
|
949
|
+
begin
|
950
|
+
|
951
|
+
text_end = p
|
952
|
+
end
|
953
|
+
# line 54 "lib/xrb/fallback/template.rl"
|
954
|
+
begin
|
955
|
+
|
956
|
+
delimiter_begin = p
|
957
|
+
end
|
958
|
+
when 22 then
|
959
|
+
# line 50 "lib/xrb/fallback/template.rl"
|
960
|
+
begin
|
961
|
+
|
962
|
+
text_end = p
|
963
|
+
end
|
964
|
+
# line 54 "lib/xrb/fallback/template.rl"
|
965
|
+
begin
|
966
|
+
|
967
|
+
delimiter_begin = p
|
968
|
+
end
|
969
|
+
# line 62 "lib/xrb/fallback/template.rl"
|
970
|
+
begin
|
971
|
+
te = p
|
972
|
+
p = p - 1; begin
|
973
|
+
if delimiter_begin
|
974
|
+
text_end = delimiter_begin
|
975
|
+
|
976
|
+
p = delimiter_begin - 1;
|
977
|
+
end
|
978
|
+
|
979
|
+
delegate.text(data.byteslice(text_begin...text_end))
|
980
|
+
end
|
981
|
+
end
|
982
|
+
when 30 then
|
983
|
+
# line 1 "NONE"
|
984
|
+
begin
|
985
|
+
te = p+1
|
986
|
+
end
|
987
|
+
# line 7 "lib/xrb/fallback/template.rl"
|
988
|
+
begin
|
989
|
+
|
990
|
+
instruction_begin = p
|
991
|
+
end
|
992
|
+
# line 58 "lib/xrb/fallback/template.rl"
|
993
|
+
begin
|
994
|
+
|
995
|
+
delimiter_end = p
|
996
|
+
end
|
997
|
+
when 23 then
|
998
|
+
# line 1 "NONE"
|
999
|
+
begin
|
1000
|
+
te = p+1
|
1001
|
+
end
|
1002
|
+
# line 50 "lib/xrb/fallback/template.rl"
|
1003
|
+
begin
|
1004
|
+
|
1005
|
+
text_end = p
|
1006
|
+
end
|
1007
|
+
# line 54 "lib/xrb/fallback/template.rl"
|
1008
|
+
begin
|
1009
|
+
|
1010
|
+
delimiter_begin = p
|
1011
|
+
end
|
1012
|
+
when 16 then
|
1013
|
+
# line 27 "lib/xrb/fallback/template.rl"
|
1014
|
+
begin
|
1015
|
+
|
1016
|
+
expression_begin = p
|
1017
|
+
end
|
756
1018
|
# line 31 "lib/xrb/fallback/template.rl"
|
757
1019
|
begin
|
758
1020
|
|
@@ -765,18 +1027,65 @@ module XRB
|
|
765
1027
|
end
|
766
1028
|
# line 21 "parsers/xrb/template.rl"
|
767
1029
|
begin
|
768
|
-
|
769
|
-
|
1030
|
+
begin
|
1031
|
+
top -= 1
|
1032
|
+
cs = stack[top]
|
1033
|
+
_goto_level = _again
|
1034
|
+
next
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
when 27 then
|
1038
|
+
# line 1 "NONE"
|
1039
|
+
begin
|
1040
|
+
te = p+1
|
1041
|
+
end
|
1042
|
+
# line 7 "lib/xrb/fallback/template.rl"
|
1043
|
+
begin
|
1044
|
+
|
1045
|
+
instruction_begin = p
|
1046
|
+
end
|
1047
|
+
# line 58 "lib/xrb/fallback/template.rl"
|
1048
|
+
begin
|
1049
|
+
|
1050
|
+
delimiter_end = p
|
1051
|
+
end
|
1052
|
+
# line 62 "lib/xrb/fallback/template.rl"
|
1053
|
+
begin
|
1054
|
+
act = 5; end
|
1055
|
+
when 21 then
|
1056
|
+
# line 1 "NONE"
|
1057
|
+
begin
|
1058
|
+
te = p+1
|
1059
|
+
end
|
1060
|
+
# line 43 "lib/xrb/fallback/template.rl"
|
1061
|
+
begin
|
1062
|
+
|
1063
|
+
text_begin = p
|
1064
|
+
|
1065
|
+
delimiter_begin = nil
|
1066
|
+
delimiter_end = nil
|
1067
|
+
end
|
1068
|
+
# line 50 "lib/xrb/fallback/template.rl"
|
1069
|
+
begin
|
1070
|
+
|
1071
|
+
text_end = p
|
1072
|
+
end
|
1073
|
+
# line 54 "lib/xrb/fallback/template.rl"
|
1074
|
+
begin
|
1075
|
+
|
1076
|
+
delimiter_begin = p
|
1077
|
+
end
|
1078
|
+
# line 1078 "lib/xrb/fallback/template.rb"
|
770
1079
|
end
|
771
1080
|
end
|
772
1081
|
end
|
773
1082
|
if _goto_level <= _again
|
774
1083
|
case _template_to_state_actions[cs]
|
775
|
-
when
|
1084
|
+
when 8 then
|
776
1085
|
# line 1 "NONE"
|
777
1086
|
begin
|
778
1087
|
ts = nil; end
|
779
|
-
# line
|
1088
|
+
# line 1088 "lib/xrb/fallback/template.rb"
|
780
1089
|
end
|
781
1090
|
|
782
1091
|
if cs == 0
|
@@ -797,19 +1106,32 @@ module XRB
|
|
797
1106
|
next;
|
798
1107
|
end
|
799
1108
|
case _template_eof_actions[cs]
|
800
|
-
when
|
801
|
-
# line
|
1109
|
+
when 13 then
|
1110
|
+
# line 39 "lib/xrb/fallback/template.rl"
|
802
1111
|
begin
|
803
1112
|
|
804
|
-
raise ParseError.new("failed to parse
|
1113
|
+
raise ParseError.new("failed to parse expression", buffer, p)
|
805
1114
|
end
|
806
|
-
when
|
807
|
-
# line
|
1115
|
+
when 19 then
|
1116
|
+
# line 43 "lib/xrb/fallback/template.rl"
|
808
1117
|
begin
|
809
1118
|
|
810
|
-
|
1119
|
+
text_begin = p
|
1120
|
+
|
1121
|
+
delimiter_begin = nil
|
1122
|
+
delimiter_end = nil
|
1123
|
+
end
|
1124
|
+
# line 50 "lib/xrb/fallback/template.rl"
|
1125
|
+
begin
|
1126
|
+
|
1127
|
+
text_end = p
|
1128
|
+
end
|
1129
|
+
# line 54 "lib/xrb/fallback/template.rl"
|
1130
|
+
begin
|
1131
|
+
|
1132
|
+
delimiter_begin = p
|
811
1133
|
end
|
812
|
-
# line
|
1134
|
+
# line 1134 "lib/xrb/fallback/template.rb"
|
813
1135
|
end
|
814
1136
|
end
|
815
1137
|
|
@@ -820,7 +1142,7 @@ module XRB
|
|
820
1142
|
end
|
821
1143
|
end
|
822
1144
|
|
823
|
-
# line
|
1145
|
+
# line 106 "lib/xrb/fallback/template.rl"
|
824
1146
|
|
825
1147
|
if p != eof
|
826
1148
|
raise ParseError.new("could not consume all input", buffer, p)
|