rubyang 0.1.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.
@@ -0,0 +1,2273 @@
1
+ #
2
+ # DO NOT MODIFY!!!!
3
+ # This file is automatically generated by Racc 1.4.14
4
+ # from Racc grammer file "".
5
+ #
6
+
7
+ require 'racc/parser.rb'
8
+ module Rubyang
9
+ module Xpath
10
+ class Parser < Racc::Parser
11
+ ##### State transition tables begin ###
12
+
13
+ racc_action_table = [
14
+ 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
15
+ 23, 24, 25, 123, 128, -38, 148, 139, 140, 141,
16
+ 27, 28, 29, 126, 119, 149, 139, 140, 141, 31,
17
+ 31, 64, 31, 31, 5, 129, 13, 14, 15, 16,
18
+ 17, 18, 19, 20, 21, 22, 23, 24, 25, 70,
19
+ 32, 32, 71, 32, 32, 26, 67, 28, 29, 139,
20
+ 140, 141, 80, 133, 134, 135, 136, 133, 134, 135,
21
+ 136, -38, 87, -38, -38, -38, 62, 88, 89, 90,
22
+ 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
23
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
24
+ 111, 112, 113, 114, 115, 116, 117, 5, 61, 13,
25
+ 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
26
+ 24, 25, 70, 31, 60, 71, 131, 132, 26, 67,
27
+ 28, 29, 137, 138, 59, 80, 133, 134, 135, 136,
28
+ 131, 132, 137, 138, 32, 87, 137, 138, 137, 138,
29
+ 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
30
+ 98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
31
+ 108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
32
+ 5, 57, 13, 14, 15, 16, 17, 18, 19, 20,
33
+ 21, 22, 23, 24, 25, 70, 137, 138, 71, 56,
34
+ 55, 26, 67, 28, 29, 54, 50, 165, 80, -123,
35
+ 130, 126, 48, 30, 142, 130, 145, 143, 87, 147,
36
+ 127, 121, 120, 88, 89, 90, 91, 92, 93, 94,
37
+ 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
38
+ 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
39
+ 115, 116, 117, 5, 118, 13, 14, 15, 16, 17,
40
+ 18, 19, 20, 21, 22, 23, 24, 25, 70, nil,
41
+ nil, 71, nil, nil, 26, 67, 28, 29, nil, nil,
42
+ nil, 80, nil, nil, nil, nil, nil, nil, nil, nil,
43
+ nil, 87, nil, nil, nil, nil, 88, 89, 90, 91,
44
+ 92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
45
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
46
+ 112, 113, 114, 115, 116, 117, 5, nil, 13, 14,
47
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
48
+ 25, 70, nil, nil, 71, nil, nil, 26, 67, 28,
49
+ 29, nil, nil, nil, 80, nil, nil, nil, nil, nil,
50
+ nil, nil, nil, nil, 87, nil, nil, nil, nil, 88,
51
+ 89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
52
+ 99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
53
+ 109, 110, 111, 112, 113, 114, 115, 116, 117, 5,
54
+ nil, 13, 14, 15, 16, 17, 18, 19, 20, 21,
55
+ 22, 23, 24, 25, 70, nil, nil, 71, nil, nil,
56
+ 26, 67, 28, 29, nil, nil, nil, 80, nil, nil,
57
+ nil, nil, nil, nil, nil, nil, nil, 87, nil, nil,
58
+ nil, nil, 88, 89, 90, 91, 92, 93, 94, 95,
59
+ 96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
60
+ 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
61
+ 116, 117, 5, nil, 13, 14, 15, 16, 17, 18,
62
+ 19, 20, 21, 22, 23, 24, 25, 70, nil, nil,
63
+ 71, nil, nil, 26, 67, 28, 29, nil, nil, nil,
64
+ 80, nil, nil, nil, nil, nil, nil, nil, nil, nil,
65
+ 87, nil, nil, nil, nil, 88, 89, 90, 91, 92,
66
+ 93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
67
+ 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
68
+ 113, 114, 115, 116, 117, 5, nil, 13, 14, 15,
69
+ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
70
+ 70, nil, nil, 71, nil, nil, 26, 67, 28, 29,
71
+ nil, nil, nil, 80, nil, nil, nil, nil, nil, nil,
72
+ nil, nil, nil, 87, nil, nil, nil, nil, 88, 89,
73
+ 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
74
+ 100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
75
+ 110, 111, 112, 113, 114, 115, 116, 117, 5, nil,
76
+ 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
77
+ 23, 24, 25, 70, nil, nil, 71, nil, nil, 26,
78
+ 67, 28, 29, nil, nil, nil, 80, nil, nil, nil,
79
+ nil, nil, nil, nil, nil, nil, 87, nil, nil, nil,
80
+ nil, 88, 89, 90, 91, 92, 93, 94, 95, 96,
81
+ 97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
82
+ 107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
83
+ 117, 5, nil, 13, 14, 15, 16, 17, 18, 19,
84
+ 20, 21, 22, 23, 24, 25, 70, nil, nil, 71,
85
+ nil, nil, 26, 67, 28, 29, nil, nil, nil, 80,
86
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
87
+ nil, nil, nil, nil, 88, 89, 90, 91, 92, 93,
88
+ 94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
89
+ 104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
90
+ 114, 115, 116, 117, 5, nil, 13, 14, 15, 16,
91
+ 17, 18, 19, 20, 21, 22, 23, 24, 25, 70,
92
+ nil, nil, 71, nil, nil, 26, 67, 28, 29, nil,
93
+ nil, nil, 80, nil, nil, nil, nil, nil, nil, nil,
94
+ nil, nil, 87, nil, nil, nil, nil, 88, 89, 90,
95
+ 91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
96
+ 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
97
+ 111, 112, 113, 114, 115, 116, 117, 5, nil, 13,
98
+ 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
99
+ 24, 25, 70, nil, nil, 71, nil, nil, 26, 67,
100
+ 28, 29, nil, nil, nil, 80, nil, nil, nil, nil,
101
+ nil, nil, nil, nil, nil, 87, nil, nil, nil, nil,
102
+ 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
103
+ 98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
104
+ 108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
105
+ 5, nil, 13, 14, 15, 16, 17, 18, 19, 20,
106
+ 21, 22, 23, 24, 25, 70, nil, nil, 71, nil,
107
+ nil, 26, 67, 28, 29, nil, nil, nil, 80, nil,
108
+ nil, nil, nil, nil, nil, nil, nil, nil, 87, nil,
109
+ nil, nil, nil, 88, 89, 90, 91, 92, 93, 94,
110
+ 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
111
+ 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
112
+ 115, 116, 117, 5, nil, 13, 14, 15, 16, 17,
113
+ 18, 19, 20, 21, 22, 23, 24, 25, 70, nil,
114
+ nil, 71, nil, nil, 26, 67, 28, 29, nil, nil,
115
+ nil, 80, nil, nil, nil, nil, nil, nil, nil, nil,
116
+ nil, 87, nil, nil, nil, nil, 88, 89, 90, 91,
117
+ 92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
118
+ 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
119
+ 112, 113, 114, 115, 116, 117, 5, nil, 13, 14,
120
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
121
+ 25, 70, nil, nil, 71, nil, nil, 26, 67, 28,
122
+ 29, nil, nil, nil, 80, nil, nil, nil, nil, nil,
123
+ nil, nil, nil, nil, 87, nil, nil, nil, nil, 88,
124
+ 89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
125
+ 99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
126
+ 109, 110, 111, 112, 113, 114, 115, 116, 117, 5,
127
+ nil, 13, 14, 15, 16, 17, 18, 19, 20, 21,
128
+ 22, 23, 24, 25, 70, nil, 37, 71, nil, nil,
129
+ 26, 67, 28, 29, nil, nil, nil, 80, nil, nil,
130
+ nil, nil, nil, nil, nil, nil, nil, 87, 38, nil,
131
+ nil, nil, 88, 89, 90, 91, 92, 93, 94, 95,
132
+ 96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
133
+ 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
134
+ 116, 117, 39, nil, 41, 42, 43, 5, nil, 13,
135
+ 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
136
+ 24, 25, nil, nil, nil, nil, nil, nil, 26, 27,
137
+ 28, 29, 13, 14, 15, 16, 17, 18, 19, 20,
138
+ 21, 22, 23, 24, 25, nil, nil, nil, nil, nil,
139
+ nil, nil, 27, 28, 29, 13, 14, 15, 16, 17,
140
+ 18, 19, 20, 21, 22, 23, 24, 25, nil, nil,
141
+ nil, nil, nil, nil, nil, 27, 28, 29, 13, 14,
142
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
143
+ 25, nil, nil, nil, nil, nil, nil, nil, 27, 28,
144
+ 29, 13, 14, 15, 16, 17, 18, 19, 20, 21,
145
+ 22, 23, 24, 25, nil, nil, nil, nil, nil, nil,
146
+ nil, 27, 28, 29, 13, 14, 15, 16, 17, 18,
147
+ 19, 20, 21, 22, 23, 24, 25, nil, nil, nil,
148
+ nil, nil, nil, nil, 27, 28, 29 ]
149
+
150
+ racc_action_check = [
151
+ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
152
+ 5, 5, 5, 74, 78, 5, 124, 85, 85, 85,
153
+ 5, 5, 5, 74, 65, 124, 161, 161, 161, 152,
154
+ 3, 57, 151, 33, 70, 78, 70, 70, 70, 70,
155
+ 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
156
+ 152, 3, 70, 151, 33, 70, 70, 70, 70, 160,
157
+ 160, 160, 70, 83, 83, 83, 83, 155, 155, 155,
158
+ 155, 5, 70, 5, 5, 5, 56, 70, 70, 70,
159
+ 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
160
+ 70, 70, 70, 70, 70, 70, 70, 70, 70, 70,
161
+ 70, 70, 70, 70, 70, 70, 70, 130, 55, 130,
162
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
163
+ 130, 130, 130, 49, 54, 130, 82, 82, 130, 130,
164
+ 130, 130, 84, 84, 53, 130, 154, 154, 154, 154,
165
+ 153, 153, 156, 156, 49, 130, 157, 157, 158, 158,
166
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
167
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
168
+ 130, 130, 130, 130, 130, 130, 130, 130, 130, 130,
169
+ 136, 46, 136, 136, 136, 136, 136, 136, 136, 136,
170
+ 136, 136, 136, 136, 136, 136, 159, 159, 136, 39,
171
+ 37, 136, 136, 136, 136, 36, 30, 143, 136, 145,
172
+ 146, 149, 11, 1, 87, 81, 117, 88, 136, 122,
173
+ 76, 68, 67, 136, 136, 136, 136, 136, 136, 136,
174
+ 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
175
+ 136, 136, 136, 136, 136, 136, 136, 136, 136, 136,
176
+ 136, 136, 136, 135, 61, 135, 135, 135, 135, 135,
177
+ 135, 135, 135, 135, 135, 135, 135, 135, 135, nil,
178
+ nil, 135, nil, nil, 135, 135, 135, 135, nil, nil,
179
+ nil, 135, nil, nil, nil, nil, nil, nil, nil, nil,
180
+ nil, 135, nil, nil, nil, nil, 135, 135, 135, 135,
181
+ 135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
182
+ 135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
183
+ 135, 135, 135, 135, 135, 135, 134, nil, 134, 134,
184
+ 134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
185
+ 134, 134, nil, nil, 134, nil, nil, 134, 134, 134,
186
+ 134, nil, nil, nil, 134, nil, nil, nil, nil, nil,
187
+ nil, nil, nil, nil, 134, nil, nil, nil, nil, 134,
188
+ 134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
189
+ 134, 134, 134, 134, 134, 134, 134, 134, 134, 134,
190
+ 134, 134, 134, 134, 134, 134, 134, 134, 134, 133,
191
+ nil, 133, 133, 133, 133, 133, 133, 133, 133, 133,
192
+ 133, 133, 133, 133, 133, nil, nil, 133, nil, nil,
193
+ 133, 133, 133, 133, nil, nil, nil, 133, nil, nil,
194
+ nil, nil, nil, nil, nil, nil, nil, 133, nil, nil,
195
+ nil, nil, 133, 133, 133, 133, 133, 133, 133, 133,
196
+ 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
197
+ 133, 133, 133, 133, 133, 133, 133, 133, 133, 133,
198
+ 133, 133, 132, nil, 132, 132, 132, 132, 132, 132,
199
+ 132, 132, 132, 132, 132, 132, 132, 132, nil, nil,
200
+ 132, nil, nil, 132, 132, 132, 132, nil, nil, nil,
201
+ 132, nil, nil, nil, nil, nil, nil, nil, nil, nil,
202
+ 132, nil, nil, nil, nil, 132, 132, 132, 132, 132,
203
+ 132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
204
+ 132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
205
+ 132, 132, 132, 132, 132, 59, nil, 59, 59, 59,
206
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
207
+ 59, nil, nil, 59, nil, nil, 59, 59, 59, 59,
208
+ nil, nil, nil, 59, nil, nil, nil, nil, nil, nil,
209
+ nil, nil, nil, 59, nil, nil, nil, nil, 59, 59,
210
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
211
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
212
+ 59, 59, 59, 59, 59, 59, 59, 59, 131, nil,
213
+ 131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
214
+ 131, 131, 131, 131, nil, nil, 131, nil, nil, 131,
215
+ 131, 131, 131, nil, nil, nil, 131, nil, nil, nil,
216
+ nil, nil, nil, nil, nil, nil, 131, nil, nil, nil,
217
+ nil, 131, 131, 131, 131, 131, 131, 131, 131, 131,
218
+ 131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
219
+ 131, 131, 131, 131, 131, 131, 131, 131, 131, 131,
220
+ 131, 127, nil, 127, 127, 127, 127, 127, 127, 127,
221
+ 127, 127, 127, 127, 127, 127, 127, nil, nil, 127,
222
+ nil, nil, 127, 127, 127, 127, nil, nil, nil, 127,
223
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
224
+ nil, nil, nil, nil, 127, 127, 127, 127, 127, 127,
225
+ 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
226
+ 127, 127, 127, 127, 127, 127, 127, 127, 127, 127,
227
+ 127, 127, 127, 127, 121, nil, 121, 121, 121, 121,
228
+ 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
229
+ nil, nil, 121, nil, nil, 121, 121, 121, 121, nil,
230
+ nil, nil, 121, nil, nil, nil, nil, nil, nil, nil,
231
+ nil, nil, 121, nil, nil, nil, nil, 121, 121, 121,
232
+ 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
233
+ 121, 121, 121, 121, 121, 121, 121, 121, 121, 121,
234
+ 121, 121, 121, 121, 121, 121, 121, 141, nil, 141,
235
+ 141, 141, 141, 141, 141, 141, 141, 141, 141, 141,
236
+ 141, 141, 141, nil, nil, 141, nil, nil, 141, 141,
237
+ 141, 141, nil, nil, nil, 141, nil, nil, nil, nil,
238
+ nil, nil, nil, nil, nil, 141, nil, nil, nil, nil,
239
+ 141, 141, 141, 141, 141, 141, 141, 141, 141, 141,
240
+ 141, 141, 141, 141, 141, 141, 141, 141, 141, 141,
241
+ 141, 141, 141, 141, 141, 141, 141, 141, 141, 141,
242
+ 140, nil, 140, 140, 140, 140, 140, 140, 140, 140,
243
+ 140, 140, 140, 140, 140, 140, nil, nil, 140, nil,
244
+ nil, 140, 140, 140, 140, nil, nil, nil, 140, nil,
245
+ nil, nil, nil, nil, nil, nil, nil, nil, 140, nil,
246
+ nil, nil, nil, 140, 140, 140, 140, 140, 140, 140,
247
+ 140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
248
+ 140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
249
+ 140, 140, 140, 139, nil, 139, 139, 139, 139, 139,
250
+ 139, 139, 139, 139, 139, 139, 139, 139, 139, nil,
251
+ nil, 139, nil, nil, 139, 139, 139, 139, nil, nil,
252
+ nil, 139, nil, nil, nil, nil, nil, nil, nil, nil,
253
+ nil, 139, nil, nil, nil, nil, 139, 139, 139, 139,
254
+ 139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
255
+ 139, 139, 139, 139, 139, 139, 139, 139, 139, 139,
256
+ 139, 139, 139, 139, 139, 139, 138, nil, 138, 138,
257
+ 138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
258
+ 138, 138, nil, nil, 138, nil, nil, 138, 138, 138,
259
+ 138, nil, nil, nil, 138, nil, nil, nil, nil, nil,
260
+ nil, nil, nil, nil, 138, nil, nil, nil, nil, 138,
261
+ 138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
262
+ 138, 138, 138, 138, 138, 138, 138, 138, 138, 138,
263
+ 138, 138, 138, 138, 138, 138, 138, 138, 138, 137,
264
+ nil, 137, 137, 137, 137, 137, 137, 137, 137, 137,
265
+ 137, 137, 137, 137, 137, nil, 9, 137, nil, nil,
266
+ 137, 137, 137, 137, nil, nil, nil, 137, nil, nil,
267
+ nil, nil, nil, nil, nil, nil, nil, 137, 9, nil,
268
+ nil, nil, 137, 137, 137, 137, 137, 137, 137, 137,
269
+ 137, 137, 137, 137, 137, 137, 137, 137, 137, 137,
270
+ 137, 137, 137, 137, 137, 137, 137, 137, 137, 137,
271
+ 137, 137, 9, nil, 9, 9, 9, 0, nil, 0,
272
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
273
+ 0, 0, nil, nil, nil, nil, nil, nil, 0, 0,
274
+ 0, 0, 129, 129, 129, 129, 129, 129, 129, 129,
275
+ 129, 129, 129, 129, 129, nil, nil, nil, nil, nil,
276
+ nil, nil, 129, 129, 129, 31, 31, 31, 31, 31,
277
+ 31, 31, 31, 31, 31, 31, 31, 31, nil, nil,
278
+ nil, nil, nil, nil, nil, 31, 31, 31, 32, 32,
279
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
280
+ 32, nil, nil, nil, nil, nil, nil, nil, 32, 32,
281
+ 32, 26, 26, 26, 26, 26, 26, 26, 26, 26,
282
+ 26, 26, 26, 26, nil, nil, nil, nil, nil, nil,
283
+ nil, 26, 26, 26, 128, 128, 128, 128, 128, 128,
284
+ 128, 128, 128, 128, 128, 128, 128, nil, nil, nil,
285
+ nil, nil, nil, nil, 128, 128, 128 ]
286
+
287
+ racc_action_pointer = [
288
+ 1205, 213, nil, 28, nil, -4, nil, nil, nil, 1127,
289
+ nil, 209, nil, nil, nil, nil, nil, nil, nil, nil,
290
+ nil, nil, nil, nil, nil, nil, 1297, nil, nil, nil,
291
+ 206, 1251, 1274, 31, nil, nil, 188, 183, nil, 123,
292
+ nil, nil, nil, nil, nil, nil, 105, nil, nil, 121,
293
+ nil, nil, nil, 113, 106, 88, 35, -44, nil, 543,
294
+ nil, 236, nil, nil, nil, 2, nil, 177, 190, nil,
295
+ 32, nil, nil, nil, -5, nil, 191, nil, 12, nil,
296
+ nil, 183, 93, 28, 93, -24, nil, 170, 193, nil,
297
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
298
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
299
+ nil, nil, nil, nil, nil, nil, nil, 141, nil, nil,
300
+ nil, 762, 201, nil, -2, nil, nil, 689, 1320, 1228,
301
+ 105, 616, 470, 397, 324, 251, 178, 1127, 1054, 981,
302
+ 908, 835, nil, 162, nil, 133, 178, nil, nil, 183,
303
+ nil, 30, 27, 107, 101, 32, 103, 107, 109, 157,
304
+ 18, -15, nil, nil, nil, nil, nil ]
305
+
306
+ racc_action_default = [
307
+ -38, -125, -1, -2, -3, -4, -6, -7, -9, -125,
308
+ -11, -125, -13, -16, -17, -18, -19, -20, -21, -22,
309
+ -23, -24, -25, -26, -27, -28, -38, -36, -37, -39,
310
+ -125, -38, -38, -5, -14, -29, -125, -125, -113, -124,
311
+ -115, -116, -117, -118, -119, -120, -125, -122, -12, -34,
312
+ 167, -8, -35, -10, -125, -125, -125, -125, -15, -38,
313
+ -30, -125, -114, -121, -124, -125, -33, -36, -40, -41,
314
+ -38, -43, -44, -45, -125, -51, -78, -53, -54, -57,
315
+ -58, -59, -61, -63, -66, -71, -74, -125, -80, -84,
316
+ -85, -86, -87, -88, -89, -90, -91, -92, -93, -94,
317
+ -95, -96, -97, -98, -99, -100, -101, -102, -103, -104,
318
+ -105, -106, -107, -108, -109, -110, -111, -125, -31, -32,
319
+ -83, -38, -125, -46, -125, -48, -50, -38, -38, -38,
320
+ -38, -38, -38, -38, -38, -38, -38, -38, -38, -38,
321
+ -38, -38, -79, -81, -112, -124, -60, -42, -47, -125,
322
+ -52, -55, -56, -62, -64, -65, -67, -68, -69, -70,
323
+ -72, -73, -75, -76, -77, -82, -49 ]
324
+
325
+ racc_goto_table = [
326
+ 33, 40, 125, 66, 156, 157, 158, 159, 162, 163,
327
+ 164, 160, 161, 150, 122, 51, 52, 154, 155, 146,
328
+ 153, 49, 1, 63, 2, 34, 53, 58, 35, 36,
329
+ 65, 124, nil, nil, nil, nil, nil, nil, nil, nil,
330
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
331
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
332
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
333
+ nil, nil, nil, nil, nil, nil, nil, 166, nil, nil,
334
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
335
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
336
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 144,
337
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
338
+ nil, nil, nil, 151, 152 ]
339
+
340
+ racc_goto_check = [
341
+ 3, 36, 26, 18, 33, 33, 33, 33, 35, 35,
342
+ 35, 34, 34, 28, 18, 6, 6, 32, 32, 30,
343
+ 31, 3, 1, 40, 2, 9, 10, 14, 15, 16,
344
+ 17, 25, nil, nil, nil, nil, nil, nil, nil, nil,
345
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
346
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
347
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
348
+ nil, nil, nil, nil, nil, nil, nil, 26, nil, nil,
349
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
350
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
351
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 36,
352
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
353
+ nil, nil, nil, 3, 3 ]
354
+
355
+ racc_goto_pointer = [
356
+ nil, 22, 24, -5, nil, nil, -16, nil, nil, 16,
357
+ -8, nil, nil, nil, -26, 19, 20, -29, -56, nil,
358
+ nil, nil, nil, nil, nil, -43, -72, nil, -114, nil,
359
+ -102, -110, -114, -129, -126, -131, -8, nil, nil, nil,
360
+ -34 ]
361
+
362
+ racc_goto_default = [
363
+ nil, nil, 77, 3, 4, 6, 7, 8, 9, nil,
364
+ nil, 10, 11, 12, nil, nil, nil, nil, nil, 68,
365
+ 79, 69, 72, 73, 74, nil, nil, 76, 75, 78,
366
+ 81, 82, 83, 84, 85, 86, nil, 44, 45, 46,
367
+ 47 ]
368
+
369
+ racc_reduce_table = [
370
+ 0, 0, :racc_error,
371
+ 1, 81, :_reduce_1,
372
+ 1, 82, :_reduce_2,
373
+ 1, 82, :_reduce_3,
374
+ 1, 84, :_reduce_4,
375
+ 2, 84, :_reduce_5,
376
+ 1, 84, :_reduce_6,
377
+ 1, 83, :_reduce_7,
378
+ 3, 83, :_reduce_8,
379
+ 1, 83, :_reduce_9,
380
+ 3, 86, :_reduce_10,
381
+ 1, 86, :_reduce_11,
382
+ 2, 88, :_reduce_12,
383
+ 1, 88, :_reduce_13,
384
+ 0, 90, :_reduce_14,
385
+ 2, 90, :_reduce_15,
386
+ 1, 92, :_reduce_16,
387
+ 1, 92, :_reduce_17,
388
+ 1, 92, :_reduce_18,
389
+ 1, 92, :_reduce_19,
390
+ 1, 92, :_reduce_20,
391
+ 1, 92, :_reduce_21,
392
+ 1, 92, :_reduce_22,
393
+ 1, 92, :_reduce_23,
394
+ 1, 92, :_reduce_24,
395
+ 1, 92, :_reduce_25,
396
+ 1, 92, :_reduce_26,
397
+ 1, 92, :_reduce_27,
398
+ 1, 92, :_reduce_28,
399
+ 1, 89, :_reduce_29,
400
+ 3, 89, :_reduce_30,
401
+ 4, 89, :_reduce_31,
402
+ 3, 94, :_reduce_32,
403
+ 1, 97, :_reduce_33,
404
+ 2, 85, :_reduce_34,
405
+ 3, 87, :_reduce_35,
406
+ 1, 91, :_reduce_36,
407
+ 1, 91, :_reduce_37,
408
+ 0, 93, :_reduce_38,
409
+ 1, 93, :_reduce_39,
410
+ 1, 98, :_reduce_40,
411
+ 1, 100, :_reduce_41,
412
+ 3, 100, :_reduce_42,
413
+ 1, 100, :_reduce_43,
414
+ 1, 100, :_reduce_44,
415
+ 1, 100, :_reduce_45,
416
+ 2, 103, :_reduce_46,
417
+ 3, 103, :_reduce_47,
418
+ 1, 105, :_reduce_48,
419
+ 3, 105, :_reduce_49,
420
+ 1, 106, :_reduce_50,
421
+ 1, 107, :_reduce_51,
422
+ 3, 107, :_reduce_52,
423
+ 1, 108, :_reduce_53,
424
+ 1, 108, :_reduce_54,
425
+ 3, 108, :_reduce_55,
426
+ 3, 108, :_reduce_56,
427
+ 1, 109, :_reduce_57,
428
+ 1, 109, :_reduce_58,
429
+ 1, 99, :_reduce_59,
430
+ 3, 99, :_reduce_60,
431
+ 1, 110, :_reduce_61,
432
+ 3, 110, :_reduce_62,
433
+ 1, 111, :_reduce_63,
434
+ 3, 111, :_reduce_64,
435
+ 3, 111, :_reduce_65,
436
+ 1, 112, :_reduce_66,
437
+ 3, 112, :_reduce_67,
438
+ 3, 112, :_reduce_68,
439
+ 3, 112, :_reduce_69,
440
+ 3, 112, :_reduce_70,
441
+ 1, 113, :_reduce_71,
442
+ 3, 113, :_reduce_72,
443
+ 3, 113, :_reduce_73,
444
+ 1, 114, :_reduce_74,
445
+ 3, 114, :_reduce_75,
446
+ 3, 114, :_reduce_76,
447
+ 3, 114, :_reduce_77,
448
+ 1, 115, :_reduce_78,
449
+ 2, 115, :_reduce_79,
450
+ 1, 102, :_reduce_80,
451
+ 2, 102, :_reduce_81,
452
+ 3, 102, :_reduce_82,
453
+ 2, 102, :_reduce_83,
454
+ 1, 104, :_reduce_84,
455
+ 1, 104, :_reduce_85,
456
+ 1, 104, :_reduce_86,
457
+ 1, 104, :_reduce_87,
458
+ 1, 104, :_reduce_88,
459
+ 1, 104, :_reduce_89,
460
+ 1, 104, :_reduce_90,
461
+ 1, 104, :_reduce_91,
462
+ 1, 104, :_reduce_92,
463
+ 1, 104, :_reduce_93,
464
+ 1, 104, :_reduce_94,
465
+ 1, 104, :_reduce_95,
466
+ 1, 104, :_reduce_96,
467
+ 1, 104, :_reduce_97,
468
+ 1, 104, :_reduce_98,
469
+ 1, 104, :_reduce_99,
470
+ 1, 104, :_reduce_100,
471
+ 1, 104, :_reduce_101,
472
+ 1, 104, :_reduce_102,
473
+ 1, 104, :_reduce_103,
474
+ 1, 104, :_reduce_104,
475
+ 1, 104, :_reduce_105,
476
+ 1, 104, :_reduce_106,
477
+ 1, 104, :_reduce_107,
478
+ 1, 104, :_reduce_108,
479
+ 1, 104, :_reduce_109,
480
+ 1, 104, :_reduce_110,
481
+ 1, 104, :_reduce_111,
482
+ 2, 101, :_reduce_112,
483
+ 1, 95, :_reduce_113,
484
+ 3, 95, :_reduce_114,
485
+ 1, 95, :_reduce_115,
486
+ 1, 96, :_reduce_116,
487
+ 1, 96, :_reduce_117,
488
+ 1, 96, :_reduce_118,
489
+ 1, 116, :_reduce_119,
490
+ 1, 116, :_reduce_120,
491
+ 3, 117, :_reduce_121,
492
+ 1, 118, :_reduce_122,
493
+ 1, 119, :_reduce_123,
494
+ 1, 120, :_reduce_124 ]
495
+
496
+ racc_reduce_n = 125
497
+
498
+ racc_shift_n = 167
499
+
500
+ racc_token_table = {
501
+ false => 0,
502
+ :error => 1,
503
+ "/" => 2,
504
+ "::" => 3,
505
+ "ancestor" => 4,
506
+ "ancestor-or-self" => 5,
507
+ "attribute" => 6,
508
+ "child" => 7,
509
+ "descendant" => 8,
510
+ "descendant-or-self" => 9,
511
+ "following" => 10,
512
+ "following-sibling" => 11,
513
+ "namespace" => 12,
514
+ "parent" => 13,
515
+ "preceding" => 14,
516
+ "preceding-sibling" => 15,
517
+ "self" => 16,
518
+ "(" => 17,
519
+ ")" => 18,
520
+ "processing-instruction" => 19,
521
+ "Literal" => 20,
522
+ "[" => 21,
523
+ "]" => 22,
524
+ "//" => 23,
525
+ "." => 24,
526
+ ".." => 25,
527
+ "@" => 26,
528
+ "," => 27,
529
+ "Exp" => 28,
530
+ "|" => 29,
531
+ "FilterExpr Predicat" => 30,
532
+ "or" => 31,
533
+ "and" => 32,
534
+ "=" => 33,
535
+ "!=" => 34,
536
+ "<" => 35,
537
+ ">" => 36,
538
+ "<=" => 37,
539
+ ">=" => 38,
540
+ "+" => 39,
541
+ "-" => 40,
542
+ "*" => 41,
543
+ "div" => 42,
544
+ "mod" => 43,
545
+ "UnaryExp" => 44,
546
+ "Digits" => 45,
547
+ "last(" => 46,
548
+ "position(" => 47,
549
+ "count(" => 48,
550
+ "id(" => 49,
551
+ "local-name(" => 50,
552
+ "namespace-uri(" => 51,
553
+ "name(" => 52,
554
+ "string(" => 53,
555
+ "concat(" => 54,
556
+ "starts-with(" => 55,
557
+ "contains(" => 56,
558
+ "substring-before(" => 57,
559
+ "substring-after(" => 58,
560
+ "substring(" => 59,
561
+ "string-length(" => 60,
562
+ "normalize-space(" => 61,
563
+ "translate(" => 62,
564
+ "boolean(" => 63,
565
+ "not(" => 64,
566
+ "true(" => 65,
567
+ "false(" => 66,
568
+ "lang(" => 67,
569
+ "number(" => 68,
570
+ "sum(" => 69,
571
+ "floor(" => 70,
572
+ "ceiling(" => 71,
573
+ "round(" => 72,
574
+ "current(" => 73,
575
+ "$" => 74,
576
+ "NCName" => 75,
577
+ ":" => 76,
578
+ "comment" => 77,
579
+ "text" => 78,
580
+ "node" => 79 }
581
+
582
+ racc_nt_base = 80
583
+
584
+ racc_use_result_var = true
585
+
586
+ Racc_arg = [
587
+ racc_action_table,
588
+ racc_action_check,
589
+ racc_action_default,
590
+ racc_action_pointer,
591
+ racc_goto_table,
592
+ racc_goto_check,
593
+ racc_goto_default,
594
+ racc_goto_pointer,
595
+ racc_nt_base,
596
+ racc_reduce_table,
597
+ racc_token_table,
598
+ racc_shift_n,
599
+ racc_reduce_n,
600
+ racc_use_result_var ]
601
+
602
+ Racc_token_to_s_table = [
603
+ "$end",
604
+ "error",
605
+ "\"/\"",
606
+ "\"::\"",
607
+ "\"ancestor\"",
608
+ "\"ancestor-or-self\"",
609
+ "\"attribute\"",
610
+ "\"child\"",
611
+ "\"descendant\"",
612
+ "\"descendant-or-self\"",
613
+ "\"following\"",
614
+ "\"following-sibling\"",
615
+ "\"namespace\"",
616
+ "\"parent\"",
617
+ "\"preceding\"",
618
+ "\"preceding-sibling\"",
619
+ "\"self\"",
620
+ "\"(\"",
621
+ "\")\"",
622
+ "\"processing-instruction\"",
623
+ "\"Literal\"",
624
+ "\"[\"",
625
+ "\"]\"",
626
+ "\"//\"",
627
+ "\".\"",
628
+ "\"..\"",
629
+ "\"@\"",
630
+ "\",\"",
631
+ "\"Exp\"",
632
+ "\"|\"",
633
+ "\"FilterExpr Predicat\"",
634
+ "\"or\"",
635
+ "\"and\"",
636
+ "\"=\"",
637
+ "\"!=\"",
638
+ "\"<\"",
639
+ "\">\"",
640
+ "\"<=\"",
641
+ "\">=\"",
642
+ "\"+\"",
643
+ "\"-\"",
644
+ "\"*\"",
645
+ "\"div\"",
646
+ "\"mod\"",
647
+ "\"UnaryExp\"",
648
+ "\"Digits\"",
649
+ "\"last(\"",
650
+ "\"position(\"",
651
+ "\"count(\"",
652
+ "\"id(\"",
653
+ "\"local-name(\"",
654
+ "\"namespace-uri(\"",
655
+ "\"name(\"",
656
+ "\"string(\"",
657
+ "\"concat(\"",
658
+ "\"starts-with(\"",
659
+ "\"contains(\"",
660
+ "\"substring-before(\"",
661
+ "\"substring-after(\"",
662
+ "\"substring(\"",
663
+ "\"string-length(\"",
664
+ "\"normalize-space(\"",
665
+ "\"translate(\"",
666
+ "\"boolean(\"",
667
+ "\"not(\"",
668
+ "\"true(\"",
669
+ "\"false(\"",
670
+ "\"lang(\"",
671
+ "\"number(\"",
672
+ "\"sum(\"",
673
+ "\"floor(\"",
674
+ "\"ceiling(\"",
675
+ "\"round(\"",
676
+ "\"current(\"",
677
+ "\"$\"",
678
+ "\"NCName\"",
679
+ "\":\"",
680
+ "\"comment\"",
681
+ "\"text\"",
682
+ "\"node\"",
683
+ "$start",
684
+ "statement",
685
+ "\"LocationPath\"",
686
+ "\"RelativeLocationPath\"",
687
+ "\"AbsoluteLocationPath\"",
688
+ "\"AbbreviatedAbsoluteLocationPath\"",
689
+ "\"Step\"",
690
+ "\"AbbreviatedRelativeLocationPath\"",
691
+ "\"AxisSpecifier\"",
692
+ "\"NodeTest\"",
693
+ "\"Predicates\"",
694
+ "\"AbbreviatedStep\"",
695
+ "\"AxisName\"",
696
+ "\"AbbreviatedAxisSpecifier\"",
697
+ "\"Predicate\"",
698
+ "\"NameTest\"",
699
+ "\"NodeType\"",
700
+ "\"PredicateExpr\"",
701
+ "\"Expr\"",
702
+ "\"OrExpr\"",
703
+ "\"PrimaryExpr\"",
704
+ "\"VariableReference\"",
705
+ "\"Number\"",
706
+ "\"FunctionCall\"",
707
+ "\"FunctionName(\"",
708
+ "\"Arguments\"",
709
+ "\"Argument\"",
710
+ "\"UnionExpr\"",
711
+ "\"PathExpr\"",
712
+ "\"FilterExpr\"",
713
+ "\"AndExpr\"",
714
+ "\"EqualityExpr\"",
715
+ "\"RelationalExpr\"",
716
+ "\"AdditiveExpr\"",
717
+ "\"MultiplicativeExpr\"",
718
+ "\"UnaryExpr\"",
719
+ "\"QName\"",
720
+ "\"PrefixedName\"",
721
+ "\"UnprefixedName\"",
722
+ "\"Prefix\"",
723
+ "\"LocalPart\"" ]
724
+
725
+ Racc_debug_parser = false
726
+
727
+ ##### State transition tables end #####
728
+
729
+ # reduce 0 omitted
730
+
731
+ module_eval(<<'.,.,', 'parser.y', 5)
732
+ def _reduce_1(val, _values, result)
733
+ if Rubyang::Xpath::Parser::DEBUG
734
+ puts 'statement : LocationPath'
735
+ puts "val: #{val.inspect}"
736
+ end
737
+ result = val[0]
738
+
739
+ result
740
+ end
741
+ .,.,
742
+
743
+ module_eval(<<'.,.,', 'parser.y', 14)
744
+ def _reduce_2(val, _values, result)
745
+ if Rubyang::Xpath::Parser::DEBUG
746
+ puts '"LocationPath" : "RelativeLocationPath"'
747
+ puts "val: #{val.inspect}"
748
+ end
749
+ result = val[0]
750
+
751
+ result
752
+ end
753
+ .,.,
754
+
755
+ module_eval(<<'.,.,', 'parser.y', 22)
756
+ def _reduce_3(val, _values, result)
757
+ if Rubyang::Xpath::Parser::DEBUG
758
+ puts '"LocationPath" : "AbsoluteLocationPath"'
759
+ puts "val: #{val.inspect}"
760
+ end
761
+ result = val[0]
762
+
763
+ result
764
+ end
765
+ .,.,
766
+
767
+ module_eval(<<'.,.,', 'parser.y', 31)
768
+ def _reduce_4(val, _values, result)
769
+ if Rubyang::Xpath::Parser::DEBUG
770
+ puts '"AbsoluteLocationPath" : "/"'
771
+ puts "val: #{val.inspect}"
772
+ end
773
+ axis = Rubyang::Xpath::Axis.new Rubyang::Xpath::Axis::SELF
774
+ node_test = Rubyang::Xpath::NodeTest.new Rubyang::Xpath::NodeTest::NodeTestType::NAME_TEST, '/'
775
+ predicates = Rubyang::Xpath::Predicates.new
776
+ location_step = Rubyang::Xpath::LocationStep.new axis, node_test, predicates
777
+ result = Rubyang::Xpath::LocationSteps.new location_step
778
+
779
+ result
780
+ end
781
+ .,.,
782
+
783
+ module_eval(<<'.,.,', 'parser.y', 43)
784
+ def _reduce_5(val, _values, result)
785
+ if Rubyang::Xpath::Parser::DEBUG
786
+ puts '"AbsoluteLocationPath" : "/" "RelativeLocationPath"'
787
+ puts "val: #{val.inspect}"
788
+ end
789
+ axis = Rubyang::Xpath::Axis.new Rubyang::Xpath::Axis::SELF
790
+ node_test = Rubyang::Xpath::NodeTest.new Rubyang::Xpath::NodeTest::NodeTestType::NAME_TEST, '/'
791
+ predicates = Rubyang::Xpath::Predicates.new
792
+ location_step = Rubyang::Xpath::LocationStep.new axis, node_test, predicates
793
+ location_steps = Array.new
794
+ location_steps.push location_step
795
+ location_steps.push *val[1]
796
+ result = Rubyang::Xpath::LocationSteps.new *location_steps
797
+
798
+ result
799
+ end
800
+ .,.,
801
+
802
+ module_eval(<<'.,.,', 'parser.y', 58)
803
+ def _reduce_6(val, _values, result)
804
+ if Rubyang::Xpath::Parser::DEBUG
805
+ puts '"AbsoluteLocationPath" : "AbbreviatedAbsoluteLocationPath"'
806
+ puts "val: #{val.inspect}"
807
+ end
808
+ result = val[0]
809
+
810
+ result
811
+ end
812
+ .,.,
813
+
814
+ module_eval(<<'.,.,', 'parser.y', 67)
815
+ def _reduce_7(val, _values, result)
816
+ if Rubyang::Xpath::Parser::DEBUG
817
+ puts '"RelativeLocationPath" : "Step"'
818
+ puts "val: #{val.inspect}"
819
+ end
820
+ result = Rubyang::Xpath::LocationSteps.new val[0]
821
+
822
+ result
823
+ end
824
+ .,.,
825
+
826
+ module_eval(<<'.,.,', 'parser.y', 75)
827
+ def _reduce_8(val, _values, result)
828
+ if Rubyang::Xpath::Parser::DEBUG
829
+ puts '"RelativeLocationPath" : "RelativeLocationPath" "/" "Step"'
830
+ puts "val: #{val.inspect}"
831
+ end
832
+ result = val[0].push val[2]
833
+
834
+ result
835
+ end
836
+ .,.,
837
+
838
+ module_eval(<<'.,.,', 'parser.y', 83)
839
+ def _reduce_9(val, _values, result)
840
+ if Rubyang::Xpath::Parser::DEBUG
841
+ puts '"RelativeLocationPath" : "AbbreviatedRelativeLocationPath"'
842
+ puts "val: #{val.inspect}"
843
+ end
844
+ result = val[0]
845
+
846
+ result
847
+ end
848
+ .,.,
849
+
850
+ module_eval(<<'.,.,', 'parser.y', 92)
851
+ def _reduce_10(val, _values, result)
852
+ if Rubyang::Xpath::Parser::DEBUG
853
+ puts '"Step" : "AxisSpecifier" "NodeTest" "Predicates"'
854
+ puts "val: #{val.inspect}"
855
+ end
856
+ result = Rubyang::Xpath::LocationStep.new val[0], val[1], val[2]
857
+
858
+ result
859
+ end
860
+ .,.,
861
+
862
+ module_eval(<<'.,.,', 'parser.y', 100)
863
+ def _reduce_11(val, _values, result)
864
+ if Rubyang::Xpath::Parser::DEBUG
865
+ puts '"Step" : "AbbreviatedStep"'
866
+ puts "val: #{val.inspect}"
867
+ end
868
+ result = val[0]
869
+
870
+ result
871
+ end
872
+ .,.,
873
+
874
+ module_eval(<<'.,.,', 'parser.y', 109)
875
+ def _reduce_12(val, _values, result)
876
+ if Rubyang::Xpath::Parser::DEBUG
877
+ puts '"AxisSpecifier" : "AxisName" "::"'
878
+ puts "val: #{val.inspect}"
879
+ end
880
+ result = Rubyang::Xpath::Axis.new val[0]
881
+
882
+ result
883
+ end
884
+ .,.,
885
+
886
+ module_eval(<<'.,.,', 'parser.y', 117)
887
+ def _reduce_13(val, _values, result)
888
+ if Rubyang::Xpath::Parser::DEBUG
889
+ puts '"AxisSpecifier" : "AbbreviatedAxisSpecifier"'
890
+ puts "val: #{val.inspect}"
891
+ end
892
+ result = Rubyang::Xpath::Axis.new val[0]
893
+
894
+ result
895
+ end
896
+ .,.,
897
+
898
+ module_eval(<<'.,.,', 'parser.y', 126)
899
+ def _reduce_14(val, _values, result)
900
+ result = Rubyang::Xpath::Predicates.new
901
+
902
+ result
903
+ end
904
+ .,.,
905
+
906
+ module_eval(<<'.,.,', 'parser.y', 130)
907
+ def _reduce_15(val, _values, result)
908
+ if Rubyang::Xpath::Parser::DEBUG
909
+ puts '"Predicates" : "Predicates" "'
910
+ puts "val: #{val.inspect}"
911
+ end
912
+ result = val[0].push val[1]
913
+
914
+ result
915
+ end
916
+ .,.,
917
+
918
+ module_eval(<<'.,.,', 'parser.y', 139)
919
+ def _reduce_16(val, _values, result)
920
+ if Rubyang::Xpath::Parser::DEBUG
921
+ puts '"AxisName" : "ancestor"'
922
+ puts "val: #{val.inspect}"
923
+ end
924
+ result = Rubyang::Xpath::Axis::ANCESTOR
925
+
926
+ result
927
+ end
928
+ .,.,
929
+
930
+ module_eval(<<'.,.,', 'parser.y', 147)
931
+ def _reduce_17(val, _values, result)
932
+ if Rubyang::Xpath::Parser::DEBUG
933
+ puts '"AxisName" : "ancestor-or-self"'
934
+ puts "val: #{val.inspect}"
935
+ end
936
+ result = Rubyang::Xpath::Axis::ANCESTOR_OR_SELF
937
+
938
+ result
939
+ end
940
+ .,.,
941
+
942
+ module_eval(<<'.,.,', 'parser.y', 155)
943
+ def _reduce_18(val, _values, result)
944
+ if Rubyang::Xpath::Parser::DEBUG
945
+ puts '"AxisName" : "attribute"'
946
+ puts "val: #{val.inspect}"
947
+ end
948
+ result = Rubyang::Xpath::Axis::ATTRIBUTE
949
+
950
+ result
951
+ end
952
+ .,.,
953
+
954
+ module_eval(<<'.,.,', 'parser.y', 163)
955
+ def _reduce_19(val, _values, result)
956
+ if Rubyang::Xpath::Parser::DEBUG
957
+ puts '"AxisName" : "child"'
958
+ puts "val: #{val.inspect}"
959
+ end
960
+ result = Rubyang::Xpath::Axis::CHILD
961
+
962
+ result
963
+ end
964
+ .,.,
965
+
966
+ module_eval(<<'.,.,', 'parser.y', 171)
967
+ def _reduce_20(val, _values, result)
968
+ if Rubyang::Xpath::Parser::DEBUG
969
+ puts '"AxisName" : "descendant"'
970
+ puts "val: #{val.inspect}"
971
+ end
972
+ result = Rubyang::Xpath::Axis::DESCENDANT
973
+
974
+ result
975
+ end
976
+ .,.,
977
+
978
+ module_eval(<<'.,.,', 'parser.y', 179)
979
+ def _reduce_21(val, _values, result)
980
+ if Rubyang::Xpath::Parser::DEBUG
981
+ puts '"AxisName" : "descendant-or-self"'
982
+ puts "val: #{val.inspect}"
983
+ end
984
+ result = Rubyang::Xpath::Axis::DESCENDANT_OR_SELF
985
+
986
+ result
987
+ end
988
+ .,.,
989
+
990
+ module_eval(<<'.,.,', 'parser.y', 187)
991
+ def _reduce_22(val, _values, result)
992
+ if Rubyang::Xpath::Parser::DEBUG
993
+ puts '"AxisName" : "following"'
994
+ puts "val: #{val.inspect}"
995
+ end
996
+ result = Rubyang::Xpath::Axis::FOLLOWING
997
+
998
+ result
999
+ end
1000
+ .,.,
1001
+
1002
+ module_eval(<<'.,.,', 'parser.y', 195)
1003
+ def _reduce_23(val, _values, result)
1004
+ if Rubyang::Xpath::Parser::DEBUG
1005
+ puts '"AxisName" : "following-sibling"'
1006
+ puts "val: #{val.inspect}"
1007
+ end
1008
+ result = Rubyang::Xpath::Axis::FOLLOWING_SIBLING
1009
+
1010
+ result
1011
+ end
1012
+ .,.,
1013
+
1014
+ module_eval(<<'.,.,', 'parser.y', 203)
1015
+ def _reduce_24(val, _values, result)
1016
+ if Rubyang::Xpath::Parser::DEBUG
1017
+ puts '"AxisName" : "namespace"'
1018
+ puts "val: #{val.inspect}"
1019
+ end
1020
+ result = Rubyang::Xpath::Axis::NAMESPACE
1021
+
1022
+ result
1023
+ end
1024
+ .,.,
1025
+
1026
+ module_eval(<<'.,.,', 'parser.y', 211)
1027
+ def _reduce_25(val, _values, result)
1028
+ if Rubyang::Xpath::Parser::DEBUG
1029
+ puts '"AxisName" : "parent"'
1030
+ puts "val: #{val.inspect}"
1031
+ end
1032
+ result = Rubyang::Xpath::Axis::PARENT
1033
+
1034
+ result
1035
+ end
1036
+ .,.,
1037
+
1038
+ module_eval(<<'.,.,', 'parser.y', 219)
1039
+ def _reduce_26(val, _values, result)
1040
+ if Rubyang::Xpath::Parser::DEBUG
1041
+ puts '"AxisName" : "preceding"'
1042
+ puts "val: #{val.inspect}"
1043
+ end
1044
+ result = Rubyang::Xpath::Axis::PRECEDING
1045
+
1046
+ result
1047
+ end
1048
+ .,.,
1049
+
1050
+ module_eval(<<'.,.,', 'parser.y', 227)
1051
+ def _reduce_27(val, _values, result)
1052
+ if Rubyang::Xpath::Parser::DEBUG
1053
+ puts '"AxisName" : "preceding-sibling"'
1054
+ puts "val: #{val.inspect}"
1055
+ end
1056
+ result = Rubyang::Xpath::Axis::PRECEDING_SIBLING
1057
+
1058
+ result
1059
+ end
1060
+ .,.,
1061
+
1062
+ module_eval(<<'.,.,', 'parser.y', 235)
1063
+ def _reduce_28(val, _values, result)
1064
+ if Rubyang::Xpath::Parser::DEBUG
1065
+ puts '"AxisName" : "self"'
1066
+ puts "val: #{val.inspect}"
1067
+ end
1068
+ result = Rubyang::Xpath::Axis::SELF
1069
+
1070
+ result
1071
+ end
1072
+ .,.,
1073
+
1074
+ module_eval(<<'.,.,', 'parser.y', 244)
1075
+ def _reduce_29(val, _values, result)
1076
+ if Rubyang::Xpath::Parser::DEBUG
1077
+ puts '"NodeTest" : "NameTest"'
1078
+ puts "val: #{val.inspect}"
1079
+ end
1080
+ name_test_type = Rubyang::Xpath::NodeTest::NodeTestType::NAME_TEST
1081
+ result = Rubyang::Xpath::NodeTest.new name_test_type, val[0]
1082
+
1083
+ result
1084
+ end
1085
+ .,.,
1086
+
1087
+ module_eval(<<'.,.,', 'parser.y', 253)
1088
+ def _reduce_30(val, _values, result)
1089
+ if Rubyang::Xpath::Parser::DEBUG
1090
+ puts '"NodeTest" : "NodeType" "(" ")"'
1091
+ puts "val: #{val.inspect}"
1092
+ end
1093
+ name_test_type = Rubyang::Xpath::NodeTest::NodeTestType::NODE_TYPE
1094
+ result = Rubyang::Xpath::NodeTest.new name_test_type, val[0]
1095
+
1096
+ result
1097
+ end
1098
+ .,.,
1099
+
1100
+ module_eval(<<'.,.,', 'parser.y', 262)
1101
+ def _reduce_31(val, _values, result)
1102
+ if Rubyang::Xpath::Parser::DEBUG
1103
+ puts '"NodeTest" : "processing-instruction" "(" "Literal" ")"'
1104
+ puts "val: #{val.inspect}"
1105
+ end
1106
+ name_test_type = Rubyang::Xpath::NodeTest::NodeTestType::PROCESSING_INSTRUCTION
1107
+ result = Rubyang::Xpath::NodeTest.new name_test_type, val[0]
1108
+
1109
+ result
1110
+ end
1111
+ .,.,
1112
+
1113
+ module_eval(<<'.,.,', 'parser.y', 272)
1114
+ def _reduce_32(val, _values, result)
1115
+ if Rubyang::Xpath::Parser::DEBUG
1116
+ puts '"Predicate" : "[" "PredicateExpr" "]"'
1117
+ puts "val: #{val.inspect}"
1118
+ end
1119
+ result = val[1]
1120
+
1121
+ result
1122
+ end
1123
+ .,.,
1124
+
1125
+ module_eval(<<'.,.,', 'parser.y', 281)
1126
+ def _reduce_33(val, _values, result)
1127
+ if Rubyang::Xpath::Parser::DEBUG
1128
+ puts '"PredicateExpr" : "Expr"'
1129
+ puts "val: #{val.inspect}"
1130
+ end
1131
+ result = Rubyang::Xpath::Predicate.new val[0]
1132
+
1133
+ result
1134
+ end
1135
+ .,.,
1136
+
1137
+ module_eval(<<'.,.,', 'parser.y', 290)
1138
+ def _reduce_34(val, _values, result)
1139
+ if Rubyang::Xpath::Parser::DEBUG
1140
+ puts '"AbbreviatedAbsoluteLocationPath" : "//" "RelativeLocationPath"'
1141
+ puts "val: #{val.inspect}"
1142
+ end
1143
+ raise "AbbreviatedAbsoluteLocationPath is not implemented"
1144
+ result = val[0]
1145
+
1146
+ result
1147
+ end
1148
+ .,.,
1149
+
1150
+ module_eval(<<'.,.,', 'parser.y', 300)
1151
+ def _reduce_35(val, _values, result)
1152
+ if Rubyang::Xpath::Parser::DEBUG
1153
+ puts '"AbbreviatedRelativeLocationPath" : "RelativeLocationPath" "//" "Step"'
1154
+ puts "val: #{val.inspect}"
1155
+ end
1156
+ raise "AbbreviatedRelativeLocationPath is not implemented"
1157
+ result = val[0]
1158
+
1159
+ result
1160
+ end
1161
+ .,.,
1162
+
1163
+ module_eval(<<'.,.,', 'parser.y', 310)
1164
+ def _reduce_36(val, _values, result)
1165
+ if Rubyang::Xpath::Parser::DEBUG
1166
+ puts '"AbbreviatedStep" : "."'
1167
+ puts "val: #{val.inspect}"
1168
+ end
1169
+ axis = Rubyang::Xpath::Axis.new Rubyang::Xpath::Axis::SELF
1170
+ node_test = Rubyang::Xpath::NodeTest.new Rubyang::Xpath::NodeTest::NodeTestType::NAME_TEST, '*'
1171
+ predicates = Rubyang::Xpath::Predicates.new
1172
+ result = Rubyang::Xpath::LocationStep.new axis, node_test, predicates
1173
+
1174
+ result
1175
+ end
1176
+ .,.,
1177
+
1178
+ module_eval(<<'.,.,', 'parser.y', 321)
1179
+ def _reduce_37(val, _values, result)
1180
+ if Rubyang::Xpath::Parser::DEBUG
1181
+ puts '"AbbreviatedStep" : ".."'
1182
+ puts "val: #{val.inspect}"
1183
+ end
1184
+ axis = Rubyang::Xpath::Axis.new Rubyang::Xpath::Axis::PARENT
1185
+ node_test = Rubyang::Xpath::NodeTest.new Rubyang::Xpath::NodeTest::NodeTestType::NODE_TYPE, Rubyang::Xpath::NodeTest::NodeType::NODE
1186
+ predicates = Rubyang::Xpath::Predicates.new
1187
+ result = Rubyang::Xpath::LocationStep.new axis, node_test, predicates
1188
+
1189
+ result
1190
+ end
1191
+ .,.,
1192
+
1193
+ module_eval(<<'.,.,', 'parser.y', 333)
1194
+ def _reduce_38(val, _values, result)
1195
+ if Rubyang::Xpath::Parser::DEBUG
1196
+ puts '"AbbreviatedAxisSpecifier" : '
1197
+ puts "val: #{val.inspect}"
1198
+ end
1199
+ result = Rubyang::Xpath::Axis::CHILD
1200
+
1201
+ result
1202
+ end
1203
+ .,.,
1204
+
1205
+ module_eval(<<'.,.,', 'parser.y', 341)
1206
+ def _reduce_39(val, _values, result)
1207
+ if Rubyang::Xpath::Parser::DEBUG
1208
+ puts '"AbbreviatedAxisSpecifier" : "@"'
1209
+ puts "val: #{val.inspect}"
1210
+ end
1211
+ result = Rubyang::Xpath::Axis::ATTRIBUTE
1212
+
1213
+ result
1214
+ end
1215
+ .,.,
1216
+
1217
+ module_eval(<<'.,.,', 'parser.y', 350)
1218
+ def _reduce_40(val, _values, result)
1219
+ if Rubyang::Xpath::Parser::DEBUG
1220
+ puts '"Expr" : "OrExpr"'
1221
+ puts "val: #{val.inspect}"
1222
+ end
1223
+ result = val[0]
1224
+
1225
+ result
1226
+ end
1227
+ .,.,
1228
+
1229
+ module_eval(<<'.,.,', 'parser.y', 359)
1230
+ def _reduce_41(val, _values, result)
1231
+ if Rubyang::Xpath::Parser::DEBUG
1232
+ puts '"PrimaryExpr" : "VariableReference"'
1233
+ puts "val: #{val.inspect}"
1234
+ end
1235
+ result = val[0]
1236
+ raise "VariableReference is not implemented"
1237
+
1238
+ result
1239
+ end
1240
+ .,.,
1241
+
1242
+ module_eval(<<'.,.,', 'parser.y', 368)
1243
+ def _reduce_42(val, _values, result)
1244
+ if Rubyang::Xpath::Parser::DEBUG
1245
+ puts '"PrimaryExpr" : "(" "Expr" ")"'
1246
+ puts "val: #{val.inspect}"
1247
+ end
1248
+ result = val[1]
1249
+ raise "'(' Expr ')' is not implemented"
1250
+
1251
+ result
1252
+ end
1253
+ .,.,
1254
+
1255
+ module_eval(<<'.,.,', 'parser.y', 377)
1256
+ def _reduce_43(val, _values, result)
1257
+ if Rubyang::Xpath::Parser::DEBUG
1258
+ puts '"PrimaryExpr" : "Literal"'
1259
+ puts "val: #{val.inspect}"
1260
+ end
1261
+ literal = Rubyang::Xpath::Predicate::Literal.new val[0]
1262
+ result = Rubyang::Xpath::Predicate::PrimaryExpr.new literal
1263
+
1264
+ result
1265
+ end
1266
+ .,.,
1267
+
1268
+ module_eval(<<'.,.,', 'parser.y', 386)
1269
+ def _reduce_44(val, _values, result)
1270
+ if Rubyang::Xpath::Parser::DEBUG
1271
+ puts '"PrimaryExpr" : "Number"'
1272
+ puts "val: #{val.inspect}"
1273
+ end
1274
+ number = Rubyang::Xpath::Predicate::Number.new val[0]
1275
+ result = Rubyang::Xpath::Predicate::PrimaryExpr.new number
1276
+
1277
+ result
1278
+ end
1279
+ .,.,
1280
+
1281
+ module_eval(<<'.,.,', 'parser.y', 395)
1282
+ def _reduce_45(val, _values, result)
1283
+ if Rubyang::Xpath::Parser::DEBUG
1284
+ puts '"PrimaryExpr" : "FunctionCall"'
1285
+ puts "val: #{val.inspect}"
1286
+ end
1287
+ result = Rubyang::Xpath::Predicate::PrimaryExpr.new val[0]
1288
+
1289
+ result
1290
+ end
1291
+ .,.,
1292
+
1293
+ module_eval(<<'.,.,', 'parser.y', 404)
1294
+ def _reduce_46(val, _values, result)
1295
+ if Rubyang::Xpath::Parser::DEBUG
1296
+ puts '"FunctionCall" : "FunctionName(" ")"'
1297
+ puts "val: #{val.inspect}"
1298
+ end
1299
+ result = Rubyang::Xpath::Predicate::FunctionCall.new val[0]
1300
+
1301
+ result
1302
+ end
1303
+ .,.,
1304
+
1305
+ module_eval(<<'.,.,', 'parser.y', 412)
1306
+ def _reduce_47(val, _values, result)
1307
+ if Rubyang::Xpath::Parser::DEBUG
1308
+ puts '"FunctionCall" : "FunctionName(" "Arguments" ")"'
1309
+ puts "val: #{val.inspect}"
1310
+ end
1311
+ result = Rubyang::Xpath::Predicate::FunctionCall.new val[0], val[1]
1312
+
1313
+ result
1314
+ end
1315
+ .,.,
1316
+
1317
+ module_eval(<<'.,.,', 'parser.y', 421)
1318
+ def _reduce_48(val, _values, result)
1319
+ if Rubyang::Xpath::Parser::DEBUG
1320
+ puts '"Arguments" : "Argument"'
1321
+ puts "val: #{val.inspect}"
1322
+ end
1323
+ result = [val[0]]
1324
+
1325
+ result
1326
+ end
1327
+ .,.,
1328
+
1329
+ module_eval(<<'.,.,', 'parser.y', 429)
1330
+ def _reduce_49(val, _values, result)
1331
+ if Rubyang::Xpath::Parser::DEBUG
1332
+ puts '"Arguments" : "Arguments" "," "Argument"'
1333
+ puts "val: #{val.inspect}"
1334
+ end
1335
+ result = val[0] + [val[1]]
1336
+
1337
+ result
1338
+ end
1339
+ .,.,
1340
+
1341
+ module_eval(<<'.,.,', 'parser.y', 438)
1342
+ def _reduce_50(val, _values, result)
1343
+ if Rubyang::Xpath::Parser::DEBUG
1344
+ puts '"Argument" : "Exp"'
1345
+ puts "val: #{val.inspect}"
1346
+ end
1347
+ result = val[0]
1348
+
1349
+ result
1350
+ end
1351
+ .,.,
1352
+
1353
+ module_eval(<<'.,.,', 'parser.y', 447)
1354
+ def _reduce_51(val, _values, result)
1355
+ if Rubyang::Xpath::Parser::DEBUG
1356
+ puts '"UnionExpr" : "PathExpr"'
1357
+ puts "val: #{val.inspect}"
1358
+ end
1359
+ result = Rubyang::Xpath::Predicate::UnionExpr.new val[0]
1360
+
1361
+ result
1362
+ end
1363
+ .,.,
1364
+
1365
+ module_eval(<<'.,.,', 'parser.y', 455)
1366
+ def _reduce_52(val, _values, result)
1367
+ if Rubyang::Xpath::Parser::DEBUG
1368
+ puts '"UnionExpr" : "UnionExpr" "|" "PathExpr"'
1369
+ puts "val: #{val.inspect}"
1370
+ end
1371
+ result = Rubyang::Xpath::Predicate::UnionExpr.new val[0], val[1], val[2]
1372
+
1373
+ result
1374
+ end
1375
+ .,.,
1376
+
1377
+ module_eval(<<'.,.,', 'parser.y', 464)
1378
+ def _reduce_53(val, _values, result)
1379
+ if Rubyang::Xpath::Parser::DEBUG
1380
+ puts '"PathExpr" : "LocationPath"'
1381
+ puts "val: #{val.inspect}"
1382
+ end
1383
+ result = Rubyang::Xpath::Predicate::PathExpr.new val[0]
1384
+
1385
+ result
1386
+ end
1387
+ .,.,
1388
+
1389
+ module_eval(<<'.,.,', 'parser.y', 472)
1390
+ def _reduce_54(val, _values, result)
1391
+ if Rubyang::Xpath::Parser::DEBUG
1392
+ puts '"PathExpr" : "FilterExpr"'
1393
+ puts "val: #{val.inspect}"
1394
+ end
1395
+ result = Rubyang::Xpath::Predicate::PathExpr.new val[0]
1396
+
1397
+ result
1398
+ end
1399
+ .,.,
1400
+
1401
+ module_eval(<<'.,.,', 'parser.y', 480)
1402
+ def _reduce_55(val, _values, result)
1403
+ if Rubyang::Xpath::Parser::DEBUG
1404
+ puts '"PathExpr" : "FilterExpr" "/" "RelativeLocationPath"'
1405
+ puts "val: #{val.inspect}"
1406
+ end
1407
+ result = Rubyang::Xpath::Predicate::PathExpr.new val[0], val[1], val[2]
1408
+
1409
+ result
1410
+ end
1411
+ .,.,
1412
+
1413
+ module_eval(<<'.,.,', 'parser.y', 488)
1414
+ def _reduce_56(val, _values, result)
1415
+ if Rubyang::Xpath::Parser::DEBUG
1416
+ puts '"PathExpr" : "FilterExpr" "//" "RelativeLocationPath"'
1417
+ puts "val: #{val.inspect}"
1418
+ end
1419
+ result = Rubyang::Xpath::Predicate::PathExpr.new val[0], val[1], val[2]
1420
+
1421
+ result
1422
+ end
1423
+ .,.,
1424
+
1425
+ module_eval(<<'.,.,', 'parser.y', 497)
1426
+ def _reduce_57(val, _values, result)
1427
+ if Rubyang::Xpath::Parser::DEBUG
1428
+ puts '"FilterExpr" : "PrimaryExpr"'
1429
+ puts "val: #{val.inspect}"
1430
+ end
1431
+ result = Rubyang::Xpath::Predicate::FilterExpr.new val[0]
1432
+
1433
+ result
1434
+ end
1435
+ .,.,
1436
+
1437
+ module_eval(<<'.,.,', 'parser.y', 505)
1438
+ def _reduce_58(val, _values, result)
1439
+ if Rubyang::Xpath::Parser::DEBUG
1440
+ puts '"FilterExpr" : "FilterExpr Predicat"'
1441
+ puts "val: #{val.inspect}"
1442
+ end
1443
+ result = Rubyang::Xpath::Predicate::FilterExpr.new val[0], val[1]
1444
+
1445
+ result
1446
+ end
1447
+ .,.,
1448
+
1449
+ module_eval(<<'.,.,', 'parser.y', 514)
1450
+ def _reduce_59(val, _values, result)
1451
+ if Rubyang::Xpath::Parser::DEBUG
1452
+ puts '"OrExpr" : "AndExpr"'
1453
+ puts "val: #{val.inspect}"
1454
+ end
1455
+ result = Rubyang::Xpath::Predicate::OrExpr.new val[0]
1456
+
1457
+ result
1458
+ end
1459
+ .,.,
1460
+
1461
+ module_eval(<<'.,.,', 'parser.y', 522)
1462
+ def _reduce_60(val, _values, result)
1463
+ if Rubyang::Xpath::Parser::DEBUG
1464
+ puts '"OrExpr" : "OrExpr" "or" "AndExpr"'
1465
+ puts "val: #{val.inspect}"
1466
+ end
1467
+ result = Rubyang::Xpath::Predicate::OrExpr.new val[0], val[2]
1468
+
1469
+ result
1470
+ end
1471
+ .,.,
1472
+
1473
+ module_eval(<<'.,.,', 'parser.y', 531)
1474
+ def _reduce_61(val, _values, result)
1475
+ if Rubyang::Xpath::Parser::DEBUG
1476
+ puts '"AndExpr" : "EqualityExpr"'
1477
+ puts "val: #{val.inspect}"
1478
+ end
1479
+ result = Rubyang::Xpath::Predicate::AndExpr.new val[0]
1480
+
1481
+ result
1482
+ end
1483
+ .,.,
1484
+
1485
+ module_eval(<<'.,.,', 'parser.y', 539)
1486
+ def _reduce_62(val, _values, result)
1487
+ if Rubyang::Xpath::Parser::DEBUG
1488
+ puts '"AndExpr" : "AndExpr" "and" "EqualityExpr"'
1489
+ puts "val: #{val.inspect}"
1490
+ end
1491
+ result = Rubyang::Xpath::Predicate::AndExpr.new val[0], val[2]
1492
+
1493
+ result
1494
+ end
1495
+ .,.,
1496
+
1497
+ module_eval(<<'.,.,', 'parser.y', 548)
1498
+ def _reduce_63(val, _values, result)
1499
+ if Rubyang::Xpath::Parser::DEBUG
1500
+ puts '"EqualityExpr" : "RelationalExpr"'
1501
+ puts "val: #{val.inspect}"
1502
+ end
1503
+ result = Rubyang::Xpath::Predicate::EqualityExpr.new val[0]
1504
+
1505
+ result
1506
+ end
1507
+ .,.,
1508
+
1509
+ module_eval(<<'.,.,', 'parser.y', 556)
1510
+ def _reduce_64(val, _values, result)
1511
+ if Rubyang::Xpath::Parser::DEBUG
1512
+ puts '"EqualityExpr" : "EqualityExpr" "=" "RelationalExpr"'
1513
+ puts "val: #{val.inspect}"
1514
+ end
1515
+ result = Rubyang::Xpath::Predicate::EqualityExpr.new val[0], val[1], val[2]
1516
+
1517
+ result
1518
+ end
1519
+ .,.,
1520
+
1521
+ module_eval(<<'.,.,', 'parser.y', 564)
1522
+ def _reduce_65(val, _values, result)
1523
+ if Rubyang::Xpath::Parser::DEBUG
1524
+ puts '"EqualityExpr" : "EqualityExpr" "!=" "RelationalExpr"'
1525
+ puts "val: #{val.inspect}"
1526
+ end
1527
+ result = Rubyang::Xpath::Predicate::EqualityExpr.new val[0], val[1], val[2]
1528
+
1529
+ result
1530
+ end
1531
+ .,.,
1532
+
1533
+ module_eval(<<'.,.,', 'parser.y', 573)
1534
+ def _reduce_66(val, _values, result)
1535
+ if Rubyang::Xpath::Parser::DEBUG
1536
+ puts '"RelationalExpr" : "AdditiveExpr"'
1537
+ puts "val: #{val.inspect}"
1538
+ end
1539
+ result = Rubyang::Xpath::Predicate::RelationalExpr.new val[0]
1540
+
1541
+ result
1542
+ end
1543
+ .,.,
1544
+
1545
+ module_eval(<<'.,.,', 'parser.y', 581)
1546
+ def _reduce_67(val, _values, result)
1547
+ if Rubyang::Xpath::Parser::DEBUG
1548
+ puts '"RelationalExpr" : "RelationalExpr" "<" "AdditiveExpr"'
1549
+ puts "val: #{val.inspect}"
1550
+ end
1551
+ result = Rubyang::Xpath::Predicate::RelationalExpr.new val[0], val[1], val[2]
1552
+
1553
+ result
1554
+ end
1555
+ .,.,
1556
+
1557
+ module_eval(<<'.,.,', 'parser.y', 589)
1558
+ def _reduce_68(val, _values, result)
1559
+ if Rubyang::Xpath::Parser::DEBUG
1560
+ puts '"RelationalExpr" : "RelationalExpr" ">" "AdditiveExpr"'
1561
+ puts "val: #{val.inspect}"
1562
+ end
1563
+ result = Rubyang::Xpath::Predicate::RelationalExpr.new val[0], val[1], val[2]
1564
+
1565
+ result
1566
+ end
1567
+ .,.,
1568
+
1569
+ module_eval(<<'.,.,', 'parser.y', 597)
1570
+ def _reduce_69(val, _values, result)
1571
+ if Rubyang::Xpath::Parser::DEBUG
1572
+ puts '"RelationalExpr" : "RelationalExpr" "<=" "AdditiveExpr"'
1573
+ puts "val: #{val.inspect}"
1574
+ end
1575
+ result = Rubyang::Xpath::Predicate::RelationalExpr.new val[0], val[1], val[2]
1576
+
1577
+ result
1578
+ end
1579
+ .,.,
1580
+
1581
+ module_eval(<<'.,.,', 'parser.y', 605)
1582
+ def _reduce_70(val, _values, result)
1583
+ if Rubyang::Xpath::Parser::DEBUG
1584
+ puts '"RelationalExpr" : "RelationalExpr" ">=" "AdditiveExpr"'
1585
+ puts "val: #{val.inspect}"
1586
+ end
1587
+ result = Rubyang::Xpath::Predicate::RelationalExpr.new val[0], val[1], val[2]
1588
+
1589
+ result
1590
+ end
1591
+ .,.,
1592
+
1593
+ module_eval(<<'.,.,', 'parser.y', 614)
1594
+ def _reduce_71(val, _values, result)
1595
+ if Rubyang::Xpath::Parser::DEBUG
1596
+ puts '"AdditiveExpr" : "MultiplicativeExpr"'
1597
+ puts "val: #{val.inspect}"
1598
+ end
1599
+ result = Rubyang::Xpath::Predicate::AdditiveExpr.new val[0]
1600
+
1601
+ result
1602
+ end
1603
+ .,.,
1604
+
1605
+ module_eval(<<'.,.,', 'parser.y', 622)
1606
+ def _reduce_72(val, _values, result)
1607
+ if Rubyang::Xpath::Parser::DEBUG
1608
+ puts '"AdditiveExpr" : "AdditiveExpr" "+" "MultiplicativeExpr"'
1609
+ puts "val: #{val.inspect}"
1610
+ end
1611
+ result = Rubyang::Xpath::Predicate::AdditiveExpr.new val[0], val[1], val[2]
1612
+
1613
+ result
1614
+ end
1615
+ .,.,
1616
+
1617
+ module_eval(<<'.,.,', 'parser.y', 630)
1618
+ def _reduce_73(val, _values, result)
1619
+ if Rubyang::Xpath::Parser::DEBUG
1620
+ puts '"AdditiveExpr" : "AdditiveExpr" "-" "MultiplicativeExpr"'
1621
+ puts "val: #{val.inspect}"
1622
+ end
1623
+ result = Rubyang::Xpath::Predicate::AdditiveExpr.new val[0], val[1], val[2]
1624
+
1625
+ result
1626
+ end
1627
+ .,.,
1628
+
1629
+ module_eval(<<'.,.,', 'parser.y', 639)
1630
+ def _reduce_74(val, _values, result)
1631
+ if Rubyang::Xpath::Parser::DEBUG
1632
+ puts '"MultiplicativeExpr" : "UnaryExpr"'
1633
+ puts "val: #{val.inspect}"
1634
+ end
1635
+ result = Rubyang::Xpath::Predicate::MultiplicativeExpr.new val[0]
1636
+
1637
+ result
1638
+ end
1639
+ .,.,
1640
+
1641
+ module_eval(<<'.,.,', 'parser.y', 647)
1642
+ def _reduce_75(val, _values, result)
1643
+ if Rubyang::Xpath::Parser::DEBUG
1644
+ puts '"MultiplicativeExpr" : "MultiplicativeExpr" "*" "UnaryExpr"'
1645
+ puts "val: #{val.inspect}"
1646
+ end
1647
+ result = Rubyang::Xpath::Predicate::MultiplicativeExpr.new val[0], val[1], val[2]
1648
+
1649
+ result
1650
+ end
1651
+ .,.,
1652
+
1653
+ module_eval(<<'.,.,', 'parser.y', 655)
1654
+ def _reduce_76(val, _values, result)
1655
+ if Rubyang::Xpath::Parser::DEBUG
1656
+ puts '"MultiplicativeExpr" : "MultiplicativeExpr" "div" "UnaryExpr"'
1657
+ puts "val: #{val.inspect}"
1658
+ end
1659
+ result = Rubyang::Xpath::Predicate::MultiplicativeExpr.new val[0], val[1], val[2]
1660
+
1661
+ result
1662
+ end
1663
+ .,.,
1664
+
1665
+ module_eval(<<'.,.,', 'parser.y', 663)
1666
+ def _reduce_77(val, _values, result)
1667
+ if Rubyang::Xpath::Parser::DEBUG
1668
+ puts '"MultiplicativeExpr" : "MultiplicativeExpr" "mod" "UnaryExpr"'
1669
+ puts "val: #{val.inspect}"
1670
+ end
1671
+ result = Rubyang::Xpath::Predicate::MultiplicativeExpr.new val[0], val[1], val[2]
1672
+
1673
+ result
1674
+ end
1675
+ .,.,
1676
+
1677
+ module_eval(<<'.,.,', 'parser.y', 672)
1678
+ def _reduce_78(val, _values, result)
1679
+ if Rubyang::Xpath::Parser::DEBUG
1680
+ puts '"UnaryExp" : "UnionExpr"'
1681
+ puts "val: #{val.inspect}"
1682
+ end
1683
+ result = Rubyang::Xpath::Predicate::UnaryExpr.new val[0]
1684
+
1685
+ result
1686
+ end
1687
+ .,.,
1688
+
1689
+ module_eval(<<'.,.,', 'parser.y', 680)
1690
+ def _reduce_79(val, _values, result)
1691
+ if Rubyang::Xpath::Parser::DEBUG
1692
+ puts '"UnaryExp" : "-" "UnaryExp"'
1693
+ puts "val: #{val.inspect}"
1694
+ end
1695
+ result = Rubyang::Xpath::Predicate::UnaryExpr.new val[1], val[0]
1696
+
1697
+ result
1698
+ end
1699
+ .,.,
1700
+
1701
+ module_eval(<<'.,.,', 'parser.y', 689)
1702
+ def _reduce_80(val, _values, result)
1703
+ if Rubyang::Xpath::Parser::DEBUG
1704
+ puts '"Number" : "Digits"'
1705
+ puts "val: #{val.inspect}"
1706
+ end
1707
+ result = val[0]
1708
+
1709
+ result
1710
+ end
1711
+ .,.,
1712
+
1713
+ module_eval(<<'.,.,', 'parser.y', 697)
1714
+ def _reduce_81(val, _values, result)
1715
+ if Rubyang::Xpath::Parser::DEBUG
1716
+ puts '"Number" : "Digits" "."'
1717
+ puts "val: #{val.inspect}"
1718
+ end
1719
+ result = val[0]
1720
+
1721
+ result
1722
+ end
1723
+ .,.,
1724
+
1725
+ module_eval(<<'.,.,', 'parser.y', 705)
1726
+ def _reduce_82(val, _values, result)
1727
+ if Rubyang::Xpath::Parser::DEBUG
1728
+ puts '"Number" : "Digits" "." "Digits"'
1729
+ puts "val: #{val.inspect}"
1730
+ end
1731
+ result = val[0] + val[1] + val[2]
1732
+
1733
+ result
1734
+ end
1735
+ .,.,
1736
+
1737
+ module_eval(<<'.,.,', 'parser.y', 713)
1738
+ def _reduce_83(val, _values, result)
1739
+ if Rubyang::Xpath::Parser::DEBUG
1740
+ puts '"Number" : "." "Digits"'
1741
+ puts "val: #{val.inspect}"
1742
+ end
1743
+ result = "0" + val[1] + val[2]
1744
+
1745
+ result
1746
+ end
1747
+ .,.,
1748
+
1749
+ module_eval(<<'.,.,', 'parser.y', 722)
1750
+ def _reduce_84(val, _values, result)
1751
+ if Rubyang::Xpath::Parser::DEBUG
1752
+ puts '"FunctionName(" : "last("'
1753
+ puts "val: #{val.inspect}"
1754
+ end
1755
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1756
+
1757
+ result
1758
+ end
1759
+ .,.,
1760
+
1761
+ module_eval(<<'.,.,', 'parser.y', 730)
1762
+ def _reduce_85(val, _values, result)
1763
+ if Rubyang::Xpath::Parser::DEBUG
1764
+ puts '"FunctionName(" : "position("'
1765
+ puts "val: #{val.inspect}"
1766
+ end
1767
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1768
+ result = val[0]
1769
+
1770
+ result
1771
+ end
1772
+ .,.,
1773
+
1774
+ module_eval(<<'.,.,', 'parser.y', 739)
1775
+ def _reduce_86(val, _values, result)
1776
+ if Rubyang::Xpath::Parser::DEBUG
1777
+ puts '"FunctionName(" : "count("'
1778
+ puts "val: #{val.inspect}"
1779
+ end
1780
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1781
+ result = val[0]
1782
+
1783
+ result
1784
+ end
1785
+ .,.,
1786
+
1787
+ module_eval(<<'.,.,', 'parser.y', 748)
1788
+ def _reduce_87(val, _values, result)
1789
+ if Rubyang::Xpath::Parser::DEBUG
1790
+ puts '"FunctionName(" : "id("'
1791
+ puts "val: #{val.inspect}"
1792
+ end
1793
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1794
+ result = val[0]
1795
+
1796
+ result
1797
+ end
1798
+ .,.,
1799
+
1800
+ module_eval(<<'.,.,', 'parser.y', 757)
1801
+ def _reduce_88(val, _values, result)
1802
+ if Rubyang::Xpath::Parser::DEBUG
1803
+ puts '"FunctionName(" : "local-name("'
1804
+ puts "val: #{val.inspect}"
1805
+ end
1806
+ result = val[0]
1807
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1808
+
1809
+ result
1810
+ end
1811
+ .,.,
1812
+
1813
+ module_eval(<<'.,.,', 'parser.y', 766)
1814
+ def _reduce_89(val, _values, result)
1815
+ if Rubyang::Xpath::Parser::DEBUG
1816
+ puts '"FunctionName(" : "namespace-uri("'
1817
+ puts "val: #{val.inspect}"
1818
+ end
1819
+ result = val[0]
1820
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1821
+
1822
+ result
1823
+ end
1824
+ .,.,
1825
+
1826
+ module_eval(<<'.,.,', 'parser.y', 775)
1827
+ def _reduce_90(val, _values, result)
1828
+ if Rubyang::Xpath::Parser::DEBUG
1829
+ puts '"FunctionName(" : "name("'
1830
+ puts "val: #{val.inspect}"
1831
+ end
1832
+ result = val[0]
1833
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1834
+
1835
+ result
1836
+ end
1837
+ .,.,
1838
+
1839
+ module_eval(<<'.,.,', 'parser.y', 784)
1840
+ def _reduce_91(val, _values, result)
1841
+ if Rubyang::Xpath::Parser::DEBUG
1842
+ puts '"FunctionName(" : "string("'
1843
+ puts "val: #{val.inspect}"
1844
+ end
1845
+ result = val[0]
1846
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1847
+
1848
+ result
1849
+ end
1850
+ .,.,
1851
+
1852
+ module_eval(<<'.,.,', 'parser.y', 793)
1853
+ def _reduce_92(val, _values, result)
1854
+ if Rubyang::Xpath::Parser::DEBUG
1855
+ puts '"FunctionName(" : "concat("'
1856
+ puts "val: #{val.inspect}"
1857
+ end
1858
+ result = val[0]
1859
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1860
+
1861
+ result
1862
+ end
1863
+ .,.,
1864
+
1865
+ module_eval(<<'.,.,', 'parser.y', 802)
1866
+ def _reduce_93(val, _values, result)
1867
+ if Rubyang::Xpath::Parser::DEBUG
1868
+ puts '"FunctionName(" : "starts-with("'
1869
+ puts "val: #{val.inspect}"
1870
+ end
1871
+ result = val[0]
1872
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1873
+
1874
+ result
1875
+ end
1876
+ .,.,
1877
+
1878
+ module_eval(<<'.,.,', 'parser.y', 811)
1879
+ def _reduce_94(val, _values, result)
1880
+ if Rubyang::Xpath::Parser::DEBUG
1881
+ puts '"FunctionName(" : "contains("'
1882
+ puts "val: #{val.inspect}"
1883
+ end
1884
+ result = val[0]
1885
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1886
+
1887
+ result
1888
+ end
1889
+ .,.,
1890
+
1891
+ module_eval(<<'.,.,', 'parser.y', 820)
1892
+ def _reduce_95(val, _values, result)
1893
+ if Rubyang::Xpath::Parser::DEBUG
1894
+ puts '"FunctionName(" : "substring-before("'
1895
+ puts "val: #{val.inspect}"
1896
+ end
1897
+ result = val[0]
1898
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1899
+
1900
+ result
1901
+ end
1902
+ .,.,
1903
+
1904
+ module_eval(<<'.,.,', 'parser.y', 829)
1905
+ def _reduce_96(val, _values, result)
1906
+ if Rubyang::Xpath::Parser::DEBUG
1907
+ puts '"FunctionName(" : "substring-after("'
1908
+ puts "val: #{val.inspect}"
1909
+ end
1910
+ result = val[0]
1911
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1912
+
1913
+ result
1914
+ end
1915
+ .,.,
1916
+
1917
+ module_eval(<<'.,.,', 'parser.y', 838)
1918
+ def _reduce_97(val, _values, result)
1919
+ if Rubyang::Xpath::Parser::DEBUG
1920
+ puts '"FunctionName(" : "substring("'
1921
+ puts "val: #{val.inspect}"
1922
+ end
1923
+ result = val[0]
1924
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1925
+
1926
+ result
1927
+ end
1928
+ .,.,
1929
+
1930
+ module_eval(<<'.,.,', 'parser.y', 847)
1931
+ def _reduce_98(val, _values, result)
1932
+ if Rubyang::Xpath::Parser::DEBUG
1933
+ puts '"FunctionName(" : "string-length("'
1934
+ puts "val: #{val.inspect}"
1935
+ end
1936
+ result = val[0]
1937
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1938
+
1939
+ result
1940
+ end
1941
+ .,.,
1942
+
1943
+ module_eval(<<'.,.,', 'parser.y', 856)
1944
+ def _reduce_99(val, _values, result)
1945
+ if Rubyang::Xpath::Parser::DEBUG
1946
+ puts '"FunctionName(" : "normalize-space("'
1947
+ puts "val: #{val.inspect}"
1948
+ end
1949
+ result = val[0]
1950
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1951
+
1952
+ result
1953
+ end
1954
+ .,.,
1955
+
1956
+ module_eval(<<'.,.,', 'parser.y', 865)
1957
+ def _reduce_100(val, _values, result)
1958
+ if Rubyang::Xpath::Parser::DEBUG
1959
+ puts '"FunctionName(" : "translate("'
1960
+ puts "val: #{val.inspect}"
1961
+ end
1962
+ result = val[0]
1963
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1964
+
1965
+ result
1966
+ end
1967
+ .,.,
1968
+
1969
+ module_eval(<<'.,.,', 'parser.y', 874)
1970
+ def _reduce_101(val, _values, result)
1971
+ if Rubyang::Xpath::Parser::DEBUG
1972
+ puts '"FunctionName(" : "boolean("'
1973
+ puts "val: #{val.inspect}"
1974
+ end
1975
+ result = val[0]
1976
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1977
+
1978
+ result
1979
+ end
1980
+ .,.,
1981
+
1982
+ module_eval(<<'.,.,', 'parser.y', 883)
1983
+ def _reduce_102(val, _values, result)
1984
+ if Rubyang::Xpath::Parser::DEBUG
1985
+ puts '"FunctionName(" : "not("'
1986
+ puts "val: #{val.inspect}"
1987
+ end
1988
+ result = val[0]
1989
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
1990
+
1991
+ result
1992
+ end
1993
+ .,.,
1994
+
1995
+ module_eval(<<'.,.,', 'parser.y', 892)
1996
+ def _reduce_103(val, _values, result)
1997
+ if Rubyang::Xpath::Parser::DEBUG
1998
+ puts '"FunctionName(" : "true("'
1999
+ puts "val: #{val.inspect}"
2000
+ end
2001
+ result = val[0]
2002
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2003
+
2004
+ result
2005
+ end
2006
+ .,.,
2007
+
2008
+ module_eval(<<'.,.,', 'parser.y', 901)
2009
+ def _reduce_104(val, _values, result)
2010
+ if Rubyang::Xpath::Parser::DEBUG
2011
+ puts '"FunctionName(" : "false("'
2012
+ puts "val: #{val.inspect}"
2013
+ end
2014
+ result = val[0]
2015
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2016
+
2017
+ result
2018
+ end
2019
+ .,.,
2020
+
2021
+ module_eval(<<'.,.,', 'parser.y', 910)
2022
+ def _reduce_105(val, _values, result)
2023
+ if Rubyang::Xpath::Parser::DEBUG
2024
+ puts '"FunctionName(" : "lang("'
2025
+ puts "val: #{val.inspect}"
2026
+ end
2027
+ result = val[0]
2028
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2029
+
2030
+ result
2031
+ end
2032
+ .,.,
2033
+
2034
+ module_eval(<<'.,.,', 'parser.y', 919)
2035
+ def _reduce_106(val, _values, result)
2036
+ if Rubyang::Xpath::Parser::DEBUG
2037
+ puts '"FunctionName(" : "number("'
2038
+ puts "val: #{val.inspect}"
2039
+ end
2040
+ result = val[0]
2041
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2042
+
2043
+ result
2044
+ end
2045
+ .,.,
2046
+
2047
+ module_eval(<<'.,.,', 'parser.y', 928)
2048
+ def _reduce_107(val, _values, result)
2049
+ if Rubyang::Xpath::Parser::DEBUG
2050
+ puts '"FunctionName(" : "sum("'
2051
+ puts "val: #{val.inspect}"
2052
+ end
2053
+ result = val[0]
2054
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2055
+
2056
+ result
2057
+ end
2058
+ .,.,
2059
+
2060
+ module_eval(<<'.,.,', 'parser.y', 937)
2061
+ def _reduce_108(val, _values, result)
2062
+ if Rubyang::Xpath::Parser::DEBUG
2063
+ puts '"FunctionName(" : "floor("'
2064
+ puts "val: #{val.inspect}"
2065
+ end
2066
+ result = val[0]
2067
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2068
+
2069
+ result
2070
+ end
2071
+ .,.,
2072
+
2073
+ module_eval(<<'.,.,', 'parser.y', 946)
2074
+ def _reduce_109(val, _values, result)
2075
+ if Rubyang::Xpath::Parser::DEBUG
2076
+ puts '"FunctionName(" : "ceiling("'
2077
+ puts "val: #{val.inspect}"
2078
+ end
2079
+ result = val[0]
2080
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2081
+
2082
+ result
2083
+ end
2084
+ .,.,
2085
+
2086
+ module_eval(<<'.,.,', 'parser.y', 955)
2087
+ def _reduce_110(val, _values, result)
2088
+ if Rubyang::Xpath::Parser::DEBUG
2089
+ puts '"FunctionName(" : "round("'
2090
+ puts "val: #{val.inspect}"
2091
+ end
2092
+ result = val[0]
2093
+ result = Rubyang::Xpath::Predicate::FunctionCall::LAST
2094
+
2095
+ result
2096
+ end
2097
+ .,.,
2098
+
2099
+ module_eval(<<'.,.,', 'parser.y', 964)
2100
+ def _reduce_111(val, _values, result)
2101
+ if Rubyang::Xpath::Parser::DEBUG
2102
+ puts '"FunctionName(" : "current("'
2103
+ puts "val: #{val.inspect}"
2104
+ end
2105
+ result = Rubyang::Xpath::Predicate::FunctionCall::CURRENT
2106
+
2107
+ result
2108
+ end
2109
+ .,.,
2110
+
2111
+ module_eval(<<'.,.,', 'parser.y', 973)
2112
+ def _reduce_112(val, _values, result)
2113
+ if Rubyang::Xpath::Parser::DEBUG
2114
+ puts '"VariableReference" : "$" "QName"'
2115
+ puts "val: #{val.inspect}"
2116
+ end
2117
+ result = val[0]
2118
+
2119
+ result
2120
+ end
2121
+ .,.,
2122
+
2123
+ module_eval(<<'.,.,', 'parser.y', 982)
2124
+ def _reduce_113(val, _values, result)
2125
+ if Rubyang::Xpath::Parser::DEBUG
2126
+ puts '"NameTest" : "*"'
2127
+ puts "val: #{val.inspect}"
2128
+ end
2129
+ Rubyang::Xpath::NodeTest::NameTest.new '*'
2130
+
2131
+ result
2132
+ end
2133
+ .,.,
2134
+
2135
+ module_eval(<<'.,.,', 'parser.y', 990)
2136
+ def _reduce_114(val, _values, result)
2137
+ if Rubyang::Xpath::Parser::DEBUG
2138
+ puts '"NameTest" : "NCName" ":" "*"'
2139
+ puts "val: #{val.inspect}"
2140
+ end
2141
+ Rubyang::Xpath::NodeTest::NameTest.new "#{val[0]}:*"
2142
+
2143
+ result
2144
+ end
2145
+ .,.,
2146
+
2147
+ module_eval(<<'.,.,', 'parser.y', 998)
2148
+ def _reduce_115(val, _values, result)
2149
+ if Rubyang::Xpath::Parser::DEBUG
2150
+ puts '"NameTest" : "QName"'
2151
+ puts "val: #{val.inspect}"
2152
+ end
2153
+ Rubyang::Xpath::NodeTest::NameTest.new val[0]
2154
+
2155
+ result
2156
+ end
2157
+ .,.,
2158
+
2159
+ module_eval(<<'.,.,', 'parser.y', 1007)
2160
+ def _reduce_116(val, _values, result)
2161
+ if Rubyang::Xpath::Parser::DEBUG
2162
+ puts '"NodeType" : "comment"'
2163
+ puts "val: #{val.inspect}"
2164
+ end
2165
+ Rubyang::Xpath::NodeTest::NodeType::COMMENT
2166
+
2167
+ result
2168
+ end
2169
+ .,.,
2170
+
2171
+ module_eval(<<'.,.,', 'parser.y', 1015)
2172
+ def _reduce_117(val, _values, result)
2173
+ if Rubyang::Xpath::Parser::DEBUG
2174
+ puts '"NodeType" : "text"'
2175
+ puts "val: #{val.inspect}"
2176
+ end
2177
+ Rubyang::Xpath::NodeTest::NodeType::TEXT
2178
+
2179
+ result
2180
+ end
2181
+ .,.,
2182
+
2183
+ module_eval(<<'.,.,', 'parser.y', 1023)
2184
+ def _reduce_118(val, _values, result)
2185
+ if Rubyang::Xpath::Parser::DEBUG
2186
+ puts '"NodeType" : "node"'
2187
+ puts "val: #{val.inspect}"
2188
+ end
2189
+ Rubyang::Xpath::NodeTest::NodeType::NODE
2190
+
2191
+ result
2192
+ end
2193
+ .,.,
2194
+
2195
+ module_eval(<<'.,.,', 'parser.y', 1032)
2196
+ def _reduce_119(val, _values, result)
2197
+ if Rubyang::Xpath::Parser::DEBUG
2198
+ puts '"QName" : "PrefixedName"'
2199
+ puts "val: #{val.inspect}"
2200
+ end
2201
+ result = val[0]
2202
+
2203
+ result
2204
+ end
2205
+ .,.,
2206
+
2207
+ module_eval(<<'.,.,', 'parser.y', 1040)
2208
+ def _reduce_120(val, _values, result)
2209
+ if Rubyang::Xpath::Parser::DEBUG
2210
+ puts '"QName" : "UnprefixedName"'
2211
+ puts "val: #{val.inspect}"
2212
+ end
2213
+ result = val[0]
2214
+
2215
+ result
2216
+ end
2217
+ .,.,
2218
+
2219
+ module_eval(<<'.,.,', 'parser.y', 1049)
2220
+ def _reduce_121(val, _values, result)
2221
+ if Rubyang::Xpath::Parser::DEBUG
2222
+ puts '"PrefixedName" : "Prefix" ":" "LocalPart"'
2223
+ puts "val: #{val.inspect}"
2224
+ end
2225
+ result = val[0] + val[1] + val[2]
2226
+
2227
+ result
2228
+ end
2229
+ .,.,
2230
+
2231
+ module_eval(<<'.,.,', 'parser.y', 1058)
2232
+ def _reduce_122(val, _values, result)
2233
+ if Rubyang::Xpath::Parser::DEBUG
2234
+ puts '"UnprefixedName" : "LocalPart"'
2235
+ puts "val: #{val.inspect}"
2236
+ end
2237
+ result = val[0]
2238
+
2239
+ result
2240
+ end
2241
+ .,.,
2242
+
2243
+ module_eval(<<'.,.,', 'parser.y', 1067)
2244
+ def _reduce_123(val, _values, result)
2245
+ if Rubyang::Xpath::Parser::DEBUG
2246
+ puts '"Prefix" : "NCName"'
2247
+ puts "val: #{val.inspect}"
2248
+ end
2249
+ result = val[0]
2250
+
2251
+ result
2252
+ end
2253
+ .,.,
2254
+
2255
+ module_eval(<<'.,.,', 'parser.y', 1076)
2256
+ def _reduce_124(val, _values, result)
2257
+ if Rubyang::Xpath::Parser::DEBUG
2258
+ puts '"LocalPart" : "NCName"'
2259
+ puts "val: #{val.inspect}"
2260
+ end
2261
+ result = val[0]
2262
+
2263
+ result
2264
+ end
2265
+ .,.,
2266
+
2267
+ def _reduce_none(val, _values, result)
2268
+ val[0]
2269
+ end
2270
+
2271
+ end # class Parser
2272
+ end # module Xpath
2273
+ end # module Rubyang