xrb 0.6.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,11 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  # line 1 "lib/xrb/fallback/template.rl"
3
4
  # Released under the MIT License.
4
5
  # Copyright, 2016-2024, by Samuel Williams.
5
6
 
6
7
 
7
- # line 51 "lib/xrb/fallback/template.rl"
8
+ # line 80 "lib/xrb/fallback/template.rl"
8
9
 
9
10
 
10
11
  require_relative '../error'
@@ -18,27 +19,28 @@ module XRB
18
19
  private :_template_trans_keys, :_template_trans_keys=
19
20
  end
20
21
  self._template_trans_keys = [
21
- 0, 0, 10, 60, 123, 123,
22
- 63, 63, 123, 123, 63,
23
- 63, 63, 63, 114, 114,
22
+ 0, 0, 10, 60, 10, 123,
23
+ 10, 63, 10, 114, 9,
24
+ 60, 63, 63, 62, 62,
24
25
  9, 32, 63, 63, 62, 62,
25
- 9, 32, 123, 123, 63,
26
- 63, 0, 127, 0, 127,
27
- 63, 63, 62, 62, 0, 127,
28
- 63, 63, 62, 62, 34,
29
- 125, 34, 35, 35, 125,
30
- 35, 125, 34, 39, 35, 125,
31
- 35, 125, 34, 123, 34,
32
- 123, 39, 39, 34, 125,
33
- 34, 125, 34, 35, 35, 125,
34
- 35, 125, 34, 39, 35,
35
- 125, 35, 125, 34, 123,
36
- 34, 123, 39, 39, 34, 125,
37
- 9, 60, 10, 60, 10,
38
- 60, 9, 60, 0, 0,
39
- 9, 32, 34, 39, 34, 35,
40
- 39, 39, 0, 0, 34,
41
- 39, 34, 35, 39, 39,
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,
42
44
  0, 0, 0
43
45
  ]
44
46
 
@@ -47,14 +49,14 @@ module XRB
47
49
  private :_template_key_spans, :_template_key_spans=
48
50
  end
49
51
  self._template_key_spans = [
50
- 0, 51, 1, 1, 1, 1, 1, 1,
51
- 24, 1, 1, 24, 1, 1, 128, 128,
52
- 1, 1, 128, 1, 1, 92, 2, 91,
53
- 91, 6, 91, 91, 90, 90, 1, 92,
54
- 92, 2, 91, 91, 6, 91, 91, 90,
55
- 90, 1, 92, 52, 51, 51, 52, 0,
56
- 24, 6, 2, 1, 0, 6, 2, 1,
57
- 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
58
60
  ]
59
61
 
60
62
  class << self
@@ -62,14 +64,14 @@ module XRB
62
64
  private :_template_index_offsets, :_template_index_offsets=
63
65
  end
64
66
  self._template_index_offsets = [
65
- 0, 0, 52, 54, 56, 58, 60, 62,
66
- 64, 89, 91, 93, 118, 120, 122, 251,
67
- 380, 382, 384, 513, 515, 517, 610, 613,
68
- 705, 797, 804, 896, 988, 1079, 1170, 1172,
69
- 1265, 1358, 1361, 1453, 1545, 1552, 1644, 1736,
70
- 1827, 1918, 1920, 2013, 2066, 2118, 2170, 2223,
71
- 2224, 2249, 2256, 2259, 2261, 2262, 2269, 2272,
72
- 2274
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
73
75
  ]
74
76
 
75
77
  class << self
@@ -83,125 +85,135 @@ module XRB
83
85
  1, 3, 1, 1, 1, 1, 1, 1,
84
86
  1, 1, 1, 1, 1, 1, 1, 1,
85
87
  1, 1, 1, 1, 1, 1, 1, 1,
86
- 1, 1, 4, 1, 0, 1, 0, 1,
87
- 5, 6, 5, 6, 7, 6, 8, 5,
88
- 10, 10, 10, 10, 10, 5, 5, 5,
89
- 5, 5, 5, 5, 5, 5, 5, 5,
90
- 5, 5, 5, 5, 5, 5, 5, 10,
91
- 5, 12, 11, 13, 11, 13, 15, 13,
92
- 13, 13, 14, 14, 14, 14, 14, 14,
93
- 14, 14, 14, 14, 14, 14, 14, 14,
94
- 14, 14, 14, 14, 13, 14, 16, 6,
95
- 17, 6, 19, 19, 19, 19, 19, 19,
96
- 19, 19, 19, 19, 19, 19, 19, 19,
97
- 19, 19, 19, 19, 19, 19, 19, 19,
98
- 19, 19, 19, 19, 19, 19, 19, 19,
99
- 19, 19, 19, 19, 19, 19, 19, 19,
100
- 19, 19, 19, 19, 19, 19, 19, 18,
101
- 18, 19, 18, 18, 18, 18, 18, 18,
102
- 18, 18, 18, 18, 18, 19, 19, 19,
103
- 19, 19, 19, 18, 18, 18, 18, 18,
104
- 18, 18, 18, 18, 18, 18, 18, 18,
105
- 18, 18, 18, 18, 18, 18, 18, 18,
106
- 18, 18, 18, 18, 18, 19, 19, 19,
107
- 19, 18, 19, 18, 18, 18, 18, 18,
108
- 18, 18, 18, 18, 18, 18, 18, 18,
109
- 18, 18, 18, 18, 20, 18, 18, 18,
110
- 18, 18, 18, 18, 18, 19, 19, 19,
111
- 19, 19, 18, 19, 19, 19, 19, 19,
112
- 19, 19, 19, 19, 21, 21, 21, 21,
113
- 21, 19, 19, 19, 19, 19, 19, 19,
114
- 19, 19, 19, 19, 19, 19, 19, 19,
115
- 19, 19, 19, 21, 19, 19, 19, 19,
116
- 19, 19, 19, 19, 19, 19, 19, 19,
117
- 18, 18, 19, 18, 18, 18, 18, 18,
118
- 18, 18, 18, 18, 18, 18, 19, 19,
119
- 19, 19, 19, 19, 18, 18, 18, 18,
120
- 18, 18, 18, 18, 18, 18, 18, 18,
121
- 18, 18, 18, 18, 18, 18, 18, 18,
122
- 18, 18, 18, 18, 18, 18, 19, 19,
123
- 19, 19, 18, 19, 18, 18, 18, 18,
124
- 18, 18, 18, 18, 18, 18, 18, 18,
125
- 18, 18, 18, 18, 18, 18, 18, 18,
126
- 18, 18, 18, 18, 18, 18, 19, 19,
127
- 19, 19, 19, 18, 22, 21, 23, 21,
128
- 19, 19, 19, 19, 19, 19, 19, 19,
129
- 19, 24, 24, 24, 24, 24, 19, 19,
130
- 19, 19, 19, 19, 19, 19, 19, 19,
131
- 19, 19, 19, 19, 19, 19, 19, 19,
132
- 24, 19, 19, 19, 19, 19, 19, 19,
133
- 19, 19, 19, 19, 19, 18, 18, 19,
134
- 18, 18, 18, 18, 18, 18, 18, 18,
135
- 18, 18, 18, 19, 19, 19, 19, 19,
136
- 19, 18, 18, 18, 18, 18, 18, 18,
137
- 18, 18, 18, 18, 18, 18, 18, 18,
138
- 18, 18, 18, 18, 18, 18, 18, 18,
139
- 18, 18, 18, 19, 19, 19, 19, 18,
140
- 19, 18, 18, 18, 18, 18, 18, 18,
141
- 18, 18, 18, 18, 18, 18, 18, 18,
142
- 18, 18, 18, 18, 18, 18, 18, 18,
143
- 18, 18, 18, 19, 19, 19, 19, 19,
144
- 18, 26, 25, 27, 25, 29, 28, 28,
145
- 28, 28, 30, 28, 28, 28, 28, 28,
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,
173
+ 28, 28, 28, 28, 28, 28, 28, 28,
174
+ 28, 28, 28, 28, 28, 28, 28, 28,
146
175
  28, 28, 28, 28, 28, 28, 28, 28,
147
176
  28, 28, 28, 28, 28, 28, 28, 28,
148
177
  28, 28, 28, 28, 28, 28, 28, 28,
149
178
  28, 28, 28, 28, 28, 28, 28, 28,
150
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,
151
182
  28, 28, 28, 28, 28, 28, 28, 28,
152
183
  28, 28, 28, 28, 28, 28, 28, 28,
153
184
  28, 28, 28, 28, 28, 28, 28, 28,
154
185
  28, 28, 28, 28, 28, 28, 28, 28,
155
- 28, 28, 28, 28, 28, 28, 31, 28,
156
- 32, 28, 33, 34, 29, 35, 33, 33,
157
- 33, 36, 33, 33, 33, 33, 33, 33,
158
- 33, 33, 33, 33, 33, 33, 33, 33,
159
- 33, 33, 33, 33, 33, 33, 33, 33,
160
- 33, 33, 33, 33, 33, 33, 33, 33,
161
- 33, 33, 33, 33, 33, 33, 33, 33,
162
- 33, 33, 33, 33, 33, 33, 33, 33,
163
- 33, 33, 33, 33, 33, 33, 33, 33,
164
- 33, 33, 33, 33, 33, 33, 33, 33,
165
- 33, 33, 33, 33, 33, 33, 33, 33,
166
- 33, 33, 33, 33, 33, 33, 33, 33,
167
- 33, 33, 33, 33, 33, 37, 33, 38,
168
- 33, 35, 33, 33, 33, 36, 33, 33,
169
- 33, 33, 33, 33, 33, 33, 33, 33,
170
- 33, 33, 33, 33, 33, 33, 33, 33,
171
- 33, 33, 33, 33, 33, 33, 33, 33,
172
- 33, 33, 33, 33, 33, 33, 33, 33,
173
- 33, 33, 33, 33, 33, 33, 33, 33,
174
- 33, 33, 33, 33, 33, 33, 33, 33,
175
- 33, 33, 33, 33, 33, 33, 33, 33,
176
- 33, 33, 33, 33, 33, 33, 33, 33,
177
- 33, 33, 33, 33, 33, 33, 33, 33,
178
- 33, 33, 33, 33, 33, 33, 33, 33,
179
- 33, 39, 33, 38, 33, 40, 41, 36,
180
- 36, 36, 40, 36, 42, 40, 40, 40,
181
- 40, 40, 40, 40, 40, 40, 40, 40,
182
- 40, 40, 40, 40, 40, 40, 40, 40,
183
- 40, 40, 40, 40, 40, 40, 40, 40,
184
- 40, 40, 40, 40, 40, 40, 40, 40,
185
- 40, 40, 40, 40, 40, 40, 40, 40,
186
- 40, 40, 40, 40, 40, 40, 40, 40,
187
- 40, 40, 40, 40, 40, 40, 40, 40,
188
- 40, 40, 40, 40, 40, 40, 40, 40,
189
- 40, 40, 40, 40, 40, 40, 40, 40,
190
- 40, 40, 40, 40, 40, 40, 40, 40,
191
- 40, 40, 40, 40, 43, 40, 44, 40,
192
- 42, 40, 40, 40, 40, 40, 40, 40,
193
- 40, 40, 40, 40, 40, 40, 40, 40,
194
- 40, 40, 40, 40, 40, 40, 40, 40,
195
- 40, 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
- 45, 40, 44, 40, 40, 41, 36, 36,
204
- 36, 40, 36, 36, 36, 36, 36, 36,
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,
216
+ 36, 36, 36, 36, 36, 36, 36, 36,
205
217
  36, 36, 36, 36, 36, 36, 36, 36,
206
218
  36, 36, 36, 36, 36, 36, 36, 36,
207
219
  36, 36, 36, 36, 36, 36, 36, 36,
@@ -211,43 +223,55 @@ module XRB
211
223
  36, 36, 36, 36, 36, 36, 36, 36,
212
224
  36, 36, 36, 36, 36, 36, 36, 36,
213
225
  36, 36, 36, 36, 36, 36, 36, 36,
214
- 36, 36, 36, 36, 36, 46, 36, 33,
215
- 34, 29, 29, 29, 29, 29, 29, 29,
216
- 29, 29, 29, 29, 29, 29, 29, 29,
217
- 29, 29, 29, 29, 29, 29, 29, 29,
218
- 29, 29, 29, 29, 29, 29, 29, 29,
219
- 29, 29, 29, 29, 29, 29, 29, 29,
220
- 29, 29, 29, 29, 29, 29, 29, 29,
221
- 29, 29, 29, 29, 29, 29, 29, 29,
222
- 29, 29, 29, 29, 29, 29, 29, 29,
223
- 29, 29, 29, 29, 29, 29, 29, 29,
224
- 29, 29, 29, 29, 29, 29, 29, 29,
225
- 29, 29, 29, 29, 29, 29, 29, 29,
226
- 47, 29, 48, 30, 36, 48, 48, 48,
227
- 48, 48, 48, 48, 48, 48, 48, 48,
228
- 48, 48, 48, 48, 48, 48, 48, 48,
229
- 48, 48, 48, 48, 48, 48, 48, 48,
230
- 48, 48, 48, 48, 48, 48, 48, 48,
231
- 48, 48, 48, 48, 48, 48, 48, 48,
232
- 48, 48, 48, 48, 48, 48, 48, 48,
233
- 48, 48, 48, 48, 48, 48, 48, 48,
234
- 48, 48, 48, 48, 48, 48, 48, 48,
235
- 48, 48, 48, 48, 48, 48, 48, 48,
236
- 48, 48, 48, 48, 48, 48, 48, 48,
237
- 48, 48, 48, 48, 48, 49, 48, 50,
238
- 48, 52, 51, 51, 51, 51, 53, 51,
239
- 51, 51, 51, 51, 51, 51, 51, 51,
240
- 51, 51, 51, 51, 51, 51, 51, 51,
241
- 51, 51, 51, 51, 51, 51, 51, 51,
242
- 51, 51, 51, 51, 51, 51, 51, 51,
243
- 51, 51, 51, 51, 51, 51, 51, 51,
244
- 51, 51, 51, 51, 51, 51, 51, 51,
245
- 51, 51, 51, 51, 51, 51, 51, 51,
246
- 51, 51, 51, 51, 51, 51, 51, 51,
247
- 51, 51, 51, 51, 51, 51, 51, 51,
248
- 51, 51, 51, 51, 51, 51, 51, 51,
249
- 51, 51, 54, 51, 55, 51, 56, 57,
250
- 52, 58, 56, 56, 56, 59, 56, 56,
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,
251
275
  56, 56, 56, 56, 56, 56, 56, 56,
252
276
  56, 56, 56, 56, 56, 56, 56, 56,
253
277
  56, 56, 56, 56, 56, 56, 56, 56,
@@ -258,8 +282,8 @@ module XRB
258
282
  56, 56, 56, 56, 56, 56, 56, 56,
259
283
  56, 56, 56, 56, 56, 56, 56, 56,
260
284
  56, 56, 56, 56, 56, 56, 56, 56,
261
- 56, 60, 56, 61, 56, 58, 56, 56,
262
- 56, 59, 56, 56, 56, 56, 56, 56,
285
+ 56, 56, 56, 56, 56, 56, 59, 56,
286
+ 60, 56, 58, 56, 56, 56, 56, 56,
263
287
  56, 56, 56, 56, 56, 56, 56, 56,
264
288
  56, 56, 56, 56, 56, 56, 56, 56,
265
289
  56, 56, 56, 56, 56, 56, 56, 56,
@@ -269,44 +293,9 @@ module XRB
269
293
  56, 56, 56, 56, 56, 56, 56, 56,
270
294
  56, 56, 56, 56, 56, 56, 56, 56,
271
295
  56, 56, 56, 56, 56, 56, 56, 56,
272
- 56, 56, 56, 56, 56, 62, 56, 61,
273
- 56, 63, 64, 59, 59, 59, 63, 59,
274
- 65, 63, 63, 63, 63, 63, 63, 63,
275
- 63, 63, 63, 63, 63, 63, 63, 63,
276
- 63, 63, 63, 63, 63, 63, 63, 63,
277
- 63, 63, 63, 63, 63, 63, 63, 63,
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
- 66, 63, 67, 63, 65, 63, 63, 63,
286
- 63, 63, 63, 63, 63, 63, 63, 63,
287
- 63, 63, 63, 63, 63, 63, 63, 63,
288
- 63, 63, 63, 63, 63, 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, 68, 63, 67, 63,
297
- 63, 64, 59, 59, 59, 63, 59, 59,
298
- 59, 59, 59, 59, 59, 59, 59, 59,
299
- 59, 59, 59, 59, 59, 59, 59, 59,
300
- 59, 59, 59, 59, 59, 59, 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, 69, 59, 56, 57, 52, 52, 52,
309
- 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,
310
299
  52, 52, 52, 52, 52, 52, 52, 52,
311
300
  52, 52, 52, 52, 52, 52, 52, 52,
312
301
  52, 52, 52, 52, 52, 52, 52, 52,
@@ -316,52 +305,173 @@ module XRB
316
305
  52, 52, 52, 52, 52, 52, 52, 52,
317
306
  52, 52, 52, 52, 52, 52, 52, 52,
318
307
  52, 52, 52, 52, 52, 52, 52, 52,
319
- 52, 52, 52, 52, 70, 52, 71, 53,
320
- 59, 71, 71, 71, 71, 71, 71, 71,
321
- 71, 71, 71, 71, 71, 71, 71, 71,
322
- 71, 71, 71, 71, 71, 71, 71, 71,
323
- 71, 71, 71, 71, 71, 71, 71, 71,
324
- 71, 71, 71, 71, 71, 71, 71, 71,
325
- 71, 71, 71, 71, 71, 71, 71, 71,
326
- 71, 71, 71, 71, 71, 71, 71, 71,
327
- 71, 71, 71, 71, 71, 71, 71, 71,
328
- 71, 71, 71, 71, 71, 71, 71, 71,
329
- 71, 71, 71, 71, 71, 71, 71, 71,
330
- 71, 71, 71, 71, 71, 71, 71, 71,
331
- 71, 72, 71, 73, 71, 74, 2, 74,
332
- 74, 74, 6, 6, 6, 6, 6, 6,
333
- 6, 6, 6, 6, 6, 6, 6, 6,
334
- 6, 6, 6, 6, 74, 6, 6, 75,
335
- 6, 6, 6, 6, 6, 6, 6, 6,
336
- 6, 6, 6, 6, 6, 6, 6, 6,
337
- 6, 6, 6, 6, 6, 6, 6, 6,
338
- 76, 6, 2, 6, 6, 6, 6, 6,
339
- 6, 6, 6, 6, 6, 6, 6, 6,
340
- 6, 6, 6, 6, 6, 6, 6, 6,
341
- 6, 6, 6, 78, 6, 6, 6, 6,
342
- 6, 6, 6, 6, 6, 6, 6, 6,
343
- 6, 6, 6, 6, 6, 6, 6, 6,
344
- 6, 6, 6, 6, 79, 6, 2, 1,
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,
345
346
  1, 1, 1, 1, 1, 1, 1, 1,
346
347
  1, 1, 1, 1, 1, 1, 1, 1,
347
- 1, 1, 1, 1, 1, 1, 1, 3,
348
+ 1, 1, 1, 1, 1, 3, 1, 1,
348
349
  1, 1, 1, 1, 1, 1, 1, 1,
349
350
  1, 1, 1, 1, 1, 1, 1, 1,
350
- 1, 1, 1, 1, 1, 1, 1, 1,
351
- 4, 1, 74, 2, 74, 74, 74, 6,
352
- 6, 6, 6, 6, 6, 6, 6, 6,
353
- 6, 6, 6, 6, 6, 6, 6, 6,
354
- 6, 74, 6, 6, 78, 6, 6, 6,
355
- 6, 6, 6, 6, 6, 6, 6, 6,
356
- 6, 6, 6, 6, 6, 6, 6, 6,
357
- 6, 6, 6, 6, 6, 81, 6, 82,
358
- 13, 15, 13, 13, 13, 83, 83, 83,
359
- 83, 83, 83, 83, 83, 83, 83, 83,
360
- 83, 83, 83, 83, 83, 83, 83, 13,
361
- 83, 40, 41, 36, 36, 36, 40, 36,
362
- 33, 34, 29, 48, 30, 84, 63, 64,
363
- 59, 59, 59, 63, 59, 56, 57, 52,
364
- 71, 53, 84, 0
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
365
475
  ]
366
476
 
367
477
  class << self
@@ -369,17 +479,18 @@ module XRB
369
479
  private :_template_trans_targs, :_template_trans_targs=
370
480
  end
371
481
  self._template_trans_targs = [
372
- 43, 1, 45, 2, 3, 43, 44, 7,
373
- 8, 43, 9, 9, 10, 11, 43, 43,
374
- 47, 14, 15, 0, 18, 16, 17, 43,
375
- 19, 19, 20, 48, 21, 22, 30, 21,
376
- 52, 23, 29, 24, 25, 23, 50, 23,
377
- 26, 28, 27, 26, 49, 26, 25, 22,
378
- 31, 31, 51, 32, 33, 41, 32, 56,
379
- 34, 40, 35, 36, 34, 54, 34, 37,
380
- 39, 38, 37, 53, 37, 36, 33, 42,
381
- 42, 55, 46, 12, 13, 43, 4, 5,
382
- 43, 6, 43, 43, 0
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
383
494
  ]
384
495
 
385
496
  class << self
@@ -387,17 +498,18 @@ module XRB
387
498
  private :_template_trans_actions, :_template_trans_actions=
388
499
  end
389
500
  self._template_trans_actions = [
390
- 1, 0, 2, 0, 0, 3, 2, 0,
391
- 0, 4, 5, 0, 6, 0, 7, 8,
392
- 0, 0, 0, 9, 0, 0, 0, 10,
393
- 5, 0, 6, 11, 0, 0, 0, 13,
394
- 14, 0, 0, 0, 0, 13, 14, 15,
395
- 0, 0, 0, 13, 14, 15, 16, 16,
396
- 0, 13, 14, 0, 0, 0, 13, 18,
397
- 0, 0, 0, 0, 13, 18, 15, 0,
398
- 0, 0, 13, 18, 15, 16, 16, 0,
399
- 13, 18, 20, 0, 0, 21, 0, 0,
400
- 22, 0, 23, 24, 0
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
401
513
  ]
402
514
 
403
515
  class << self
@@ -406,13 +518,13 @@ module XRB
406
518
  end
407
519
  self._template_to_state_actions = [
408
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,
409
525
  0, 0, 0, 0, 0, 0, 0, 0,
410
- 0, 0, 0, 0, 0, 12, 12, 12,
411
- 0, 12, 12, 0, 0, 0, 0, 12,
412
- 12, 12, 12, 0, 12, 12, 0, 0,
413
- 0, 0, 12, 12, 0, 0, 0, 0,
414
526
  0, 0, 0, 0, 0, 0, 0, 0,
415
- 0
527
+ 0, 0, 0, 0
416
528
  ]
417
529
 
418
530
  class << self
@@ -424,10 +536,10 @@ module XRB
424
536
  0, 0, 0, 0, 0, 0, 0, 0,
425
537
  0, 0, 0, 0, 0, 0, 0, 0,
426
538
  0, 0, 0, 0, 0, 0, 0, 0,
539
+ 0, 0, 18, 0, 0, 0, 0, 0,
427
540
  0, 0, 0, 0, 0, 0, 0, 0,
428
- 0, 0, 0, 19, 0, 0, 0, 0,
429
541
  0, 0, 0, 0, 0, 0, 0, 0,
430
- 0
542
+ 0, 0, 0, 0
431
543
  ]
432
544
 
433
545
  class << self
@@ -436,13 +548,13 @@ module XRB
436
548
  end
437
549
  self._template_eof_actions = [
438
550
  0, 0, 0, 0, 0, 0, 0, 0,
439
- 0, 0, 0, 0, 0, 0, 9, 9,
440
- 9, 9, 9, 9, 9, 0, 0, 0,
441
551
  0, 0, 0, 0, 0, 0, 0, 0,
442
- 17, 17, 17, 17, 17, 17, 17, 17,
443
- 17, 17, 17, 0, 0, 0, 0, 0,
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,
444
555
  0, 0, 0, 0, 0, 0, 0, 0,
445
- 0
556
+ 0, 0, 0, 0, 0, 0, 0, 0,
557
+ 0, 0, 0, 0
446
558
  ]
447
559
 
448
560
  class << self
@@ -450,24 +562,24 @@ module XRB
450
562
  private :_template_eof_trans, :_template_eof_trans=
451
563
  end
452
564
  self._template_eof_trans = [
453
- 0, 1, 1, 1, 6, 6, 6, 6,
454
- 10, 10, 10, 15, 0, 0, 0, 0,
455
- 0, 0, 0, 0, 0, 0, 0, 0,
565
+ 0, 1, 1, 1, 1, 1, 8, 8,
566
+ 12, 8, 8, 0, 0, 0, 0, 0,
456
567
  0, 0, 0, 0, 0, 0, 0, 0,
457
568
  0, 0, 0, 0, 0, 0, 0, 0,
458
- 0, 0, 0, 0, 78, 81, 78, 83,
459
- 84, 0, 0, 0, 0, 0, 0, 0,
460
- 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
461
573
  ]
462
574
 
463
575
  class << self
464
576
  attr_accessor :template_start
465
577
  end
466
- self.template_start = 43;
578
+ self.template_start = 34;
467
579
  class << self
468
580
  attr_accessor :template_first_final
469
581
  end
470
- self.template_first_final = 43;
582
+ self.template_first_final = 34;
471
583
  class << self
472
584
  attr_accessor :template_error
473
585
  end
@@ -476,18 +588,18 @@ module XRB
476
588
  class << self
477
589
  attr_accessor :template_en_parse_nested_expression
478
590
  end
479
- self.template_en_parse_nested_expression = 21;
591
+ self.template_en_parse_nested_expression = 11;
480
592
  class << self
481
593
  attr_accessor :template_en_parse_expression
482
594
  end
483
- self.template_en_parse_expression = 32;
595
+ self.template_en_parse_expression = 22;
484
596
  class << self
485
597
  attr_accessor :template_en_main
486
598
  end
487
- self.template_en_main = 43;
599
+ self.template_en_main = 34;
488
600
 
489
601
 
490
- # line 58 "lib/xrb/fallback/template.rl"
602
+ # line 87 "lib/xrb/fallback/template.rl"
491
603
 
492
604
  def self.parse_template(buffer, delegate)
493
605
  data = buffer.read
@@ -497,11 +609,16 @@ module XRB
497
609
  pe = eof = data.bytesize
498
610
  stack = []
499
611
 
612
+ ts = te = nil
613
+ act = nil
614
+
500
615
  expression_begin = expression_end = nil
501
616
  instruction_begin = instruction_end = nil
617
+ text_begin = text_end = nil
618
+ delimiter_begin = delimiter_end = nil
502
619
 
503
620
 
504
- # line 505 "lib/xrb/fallback/template.rb"
621
+ # line 621 "lib/xrb/fallback/template.rb"
505
622
  begin
506
623
  p ||= 0
507
624
  pe ||= data.length
@@ -512,9 +629,9 @@ module XRB
512
629
  act = 0
513
630
  end
514
631
 
515
- # line 71 "lib/xrb/fallback/template.rl"
632
+ # line 105 "lib/xrb/fallback/template.rl"
516
633
 
517
- # line 518 "lib/xrb/fallback/template.rb"
634
+ # line 634 "lib/xrb/fallback/template.rb"
518
635
  begin
519
636
  testEof = false
520
637
  _slen, _trans, _keys, _inds, _acts, _nacts = nil
@@ -537,12 +654,12 @@ module XRB
537
654
  end
538
655
  if _goto_level <= _resume
539
656
  case _template_from_state_actions[cs]
540
- when 19 then
657
+ when 18 then
541
658
  # line 1 "NONE"
542
659
  begin
543
660
  ts = p
544
661
  end
545
- # line 546 "lib/xrb/fallback/template.rb"
662
+ # line 662 "lib/xrb/fallback/template.rb"
546
663
  end
547
664
  _keys = cs << 1
548
665
  _inds = _template_index_offsets[cs]
@@ -561,47 +678,50 @@ module XRB
561
678
  cs = _template_trans_targs[_trans]
562
679
  if _template_trans_actions[_trans] != 0
563
680
  case _template_trans_actions[_trans]
564
- when 5 then
565
- # line 7 "lib/xrb/fallback/template.rl"
681
+ when 4 then
682
+ # line 11 "lib/xrb/fallback/template.rl"
566
683
  begin
567
684
 
568
- instruction_begin = p
685
+ instruction_end = p
569
686
  end
570
- when 6 then
571
- # line 11 "lib/xrb/fallback/template.rl"
687
+ when 14 then
688
+ # line 27 "lib/xrb/fallback/template.rl"
572
689
  begin
573
690
 
574
- instruction_end = p
691
+ expression_begin = p
575
692
  end
576
- when 9 then
577
- # line 23 "lib/xrb/fallback/template.rl"
693
+ when 20 then
694
+ # line 43 "lib/xrb/fallback/template.rl"
578
695
  begin
579
696
 
580
- raise ParseError.new("failed to parse instruction", buffer, p)
697
+ text_begin = p
698
+
699
+ delimiter_begin = nil
700
+ delimiter_end = nil
581
701
  end
582
- when 16 then
583
- # line 13 "parsers/xrb/template.rl"
702
+ when 12 then
703
+ # line 14 "parsers/xrb/template.rl"
584
704
  begin
585
705
  begin
586
706
  stack[top] = cs
587
707
  top+= 1
588
- cs = 21
708
+ cs = 11
589
709
  _goto_level = _again
590
710
  next
591
711
  end
592
712
  end
593
- when 13 then
594
- # line 17 "parsers/xrb/template.rl"
713
+ when 9 then
714
+ # line 18 "parsers/xrb/template.rl"
595
715
  begin
596
716
  begin
597
717
  stack[top] = cs
598
718
  top+= 1
599
- cs = 21
719
+ cs = 11
600
720
  _goto_level = _again
601
721
  next
602
722
  end
603
723
  end
604
- when 14 then
724
+ when 10 then
605
725
  # line 20 "parsers/xrb/template.rl"
606
726
  begin
607
727
  begin
@@ -616,7 +736,7 @@ module XRB
616
736
  begin
617
737
  te = p+1
618
738
  end
619
- when 8 then
739
+ when 6 then
620
740
  # line 19 "lib/xrb/fallback/template.rl"
621
741
  begin
622
742
  te = p+1
@@ -624,23 +744,15 @@ module XRB
624
744
  delegate.instruction(data.byteslice(instruction_begin...instruction_end), "\n")
625
745
  end
626
746
  end
627
- when 10 then
628
- # line 43 "lib/xrb/fallback/template.rl"
629
- begin
630
- te = p+1
631
- begin
632
- delegate.text(data.byteslice(ts...te))
633
- end
634
- end
635
- when 22 then
636
- # line 43 "lib/xrb/fallback/template.rl"
747
+ when 25 then
748
+ # line 72 "lib/xrb/fallback/template.rl"
637
749
  begin
638
750
  te = p
639
751
  p = p - 1; begin
640
752
  delegate.text(data.byteslice(ts...te))
641
753
  end
642
754
  end
643
- when 24 then
755
+ when 31 then
644
756
  # line 15 "lib/xrb/fallback/template.rl"
645
757
  begin
646
758
  te = p
@@ -648,108 +760,261 @@ module XRB
648
760
  delegate.instruction(data.byteslice(instruction_begin...instruction_end))
649
761
  end
650
762
  end
651
- when 21 then
652
- # line 43 "lib/xrb/fallback/template.rl"
763
+ when 28 then
764
+ # line 62 "lib/xrb/fallback/template.rl"
653
765
  begin
654
766
  te = p
655
767
  p = p - 1; begin
656
- delegate.text(data.byteslice(ts...te))
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))
657
775
  end
658
776
  end
659
777
  when 1 then
660
- # line 43 "lib/xrb/fallback/template.rl"
778
+ # line 72 "lib/xrb/fallback/template.rl"
661
779
  begin
662
780
  begin p = ((te))-1; end
663
781
  begin
664
782
  delegate.text(data.byteslice(ts...te))
665
783
  end
666
784
  end
667
- when 3 then
668
- # line 43 "lib/xrb/fallback/template.rl"
669
- begin
670
- begin p = ((te))-1; end
671
- begin
672
- delegate.text(data.byteslice(ts...te))
673
- end
674
- end
675
- when 7 then
785
+ when 5 then
676
786
  # line 1 "NONE"
677
787
  begin
678
788
  case act
679
- when 3 then
789
+ when 4 then
680
790
  begin begin p = ((te))-1; end
681
791
 
682
792
  delegate.instruction(data.byteslice(instruction_begin...instruction_end))
683
793
  end
684
- when 6 then
794
+ when 5 then
685
795
  begin begin p = ((te))-1; end
686
796
 
687
- delegate.text(data.byteslice(ts...te))
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))
688
804
  end
689
805
  end
690
806
  end
691
- when 4 then
807
+ when 3 then
692
808
  # line 23 "lib/xrb/fallback/template.rl"
693
809
  begin
694
810
 
695
811
  raise ParseError.new("failed to parse instruction", buffer, p)
696
812
  end
697
- # line 43 "lib/xrb/fallback/template.rl"
813
+ # line 62 "lib/xrb/fallback/template.rl"
698
814
  begin
699
815
  begin p = ((te))-1; end
700
816
  begin
701
- delegate.text(data.byteslice(ts...te))
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))
702
824
  end
703
825
  end
704
- when 23 then
826
+ when 15 then
705
827
  # line 27 "lib/xrb/fallback/template.rl"
706
828
  begin
707
829
 
708
830
  expression_begin = p
709
831
  end
710
- # line 53 "parsers/xrb/template.rl"
832
+ # line 18 "parsers/xrb/template.rl"
711
833
  begin
712
- te = p
713
- p = p - 1; begin cs = 32; end
834
+ begin
835
+ stack[top] = cs
836
+ top+= 1
837
+ cs = 11
838
+ _goto_level = _again
839
+ next
840
+ end
714
841
  end
715
- when 15 then
716
- # line 13 "parsers/xrb/template.rl"
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"
717
874
  begin
718
875
  begin
719
876
  stack[top] = cs
720
877
  top+= 1
721
- cs = 21
878
+ cs = 11
722
879
  _goto_level = _again
723
880
  next
724
881
  end
725
882
  end
726
- # line 17 "parsers/xrb/template.rl"
883
+ # line 18 "parsers/xrb/template.rl"
727
884
  begin
728
885
  begin
729
886
  stack[top] = cs
730
887
  top+= 1
731
- cs = 21
888
+ cs = 11
732
889
  _goto_level = _again
733
890
  next
734
891
  end
735
892
  end
736
- when 11 then
893
+ when 7 then
737
894
  # line 1 "NONE"
738
895
  begin
739
896
  te = p+1
740
897
  end
741
898
  # line 15 "lib/xrb/fallback/template.rl"
742
899
  begin
743
- act = 3; end
744
- when 20 then
745
- # line 1 "NONE"
900
+ act = 4; end
901
+ when 29 then
902
+ # line 58 "parsers/xrb/template.rl"
746
903
  begin
747
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
748
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
749
940
  # line 43 "lib/xrb/fallback/template.rl"
750
941
  begin
751
- act = 6; end
752
- when 18 then
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
753
1018
  # line 31 "lib/xrb/fallback/template.rl"
754
1019
  begin
755
1020
 
@@ -762,18 +1027,65 @@ module XRB
762
1027
  end
763
1028
  # line 21 "parsers/xrb/template.rl"
764
1029
  begin
765
- cs = 43; end
766
- # line 767 "lib/xrb/fallback/template.rb"
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"
767
1079
  end
768
1080
  end
769
1081
  end
770
1082
  if _goto_level <= _again
771
1083
  case _template_to_state_actions[cs]
772
- when 12 then
1084
+ when 8 then
773
1085
  # line 1 "NONE"
774
1086
  begin
775
1087
  ts = nil; end
776
- # line 777 "lib/xrb/fallback/template.rb"
1088
+ # line 1088 "lib/xrb/fallback/template.rb"
777
1089
  end
778
1090
 
779
1091
  if cs == 0
@@ -794,19 +1106,32 @@ module XRB
794
1106
  next;
795
1107
  end
796
1108
  case _template_eof_actions[cs]
797
- when 9 then
798
- # line 23 "lib/xrb/fallback/template.rl"
1109
+ when 13 then
1110
+ # line 39 "lib/xrb/fallback/template.rl"
799
1111
  begin
800
1112
 
801
- raise ParseError.new("failed to parse instruction", buffer, p)
1113
+ raise ParseError.new("failed to parse expression", buffer, p)
802
1114
  end
803
- when 17 then
804
- # line 39 "lib/xrb/fallback/template.rl"
1115
+ when 19 then
1116
+ # line 43 "lib/xrb/fallback/template.rl"
805
1117
  begin
806
1118
 
807
- raise ParseError.new("failed to parse expression", buffer, p)
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
808
1133
  end
809
- # line 810 "lib/xrb/fallback/template.rb"
1134
+ # line 1134 "lib/xrb/fallback/template.rb"
810
1135
  end
811
1136
  end
812
1137
 
@@ -817,7 +1142,7 @@ module XRB
817
1142
  end
818
1143
  end
819
1144
 
820
- # line 72 "lib/xrb/fallback/template.rl"
1145
+ # line 106 "lib/xrb/fallback/template.rl"
821
1146
 
822
1147
  if p != eof
823
1148
  raise ParseError.new("could not consume all input", buffer, p)