mof 1.2.2 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/History.txt +4 -0
- data/lib/mof/parser.rb +914 -900
- data/lib/mof/parser.y +1 -0
- data/lib/mof/scanner.rb +14 -5
- data/lib/mof/version.rb +1 -1
- data/test/mof/qualifier.mof +3 -0
- data/test/test_qualifier.rb +19 -8
- metadata +59 -80
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fbe1284fb2d2885dd0f87153123d47cff1c8b265
|
4
|
+
data.tar.gz: dd360dfb8e6cd215a3cc2767a6f82b22e6c9f383
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c29ac3254428dd367ff9a86cd79715efd003030f845791725531bbbde0a282dba64f3f30f75f35ad4b1e82294f8759b3b8199f8a9ebd5e802ed68e265d810056
|
7
|
+
data.tar.gz: b994b00fca19bd9ad0eb41da1184a14a976b67db3e3f8348c752b72037d33cdac9a88f9dfe8aeb755e34217237c68410e12d69f88b8ee91480759e1039a503c4
|
data/History.txt
CHANGED
data/lib/mof/parser.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by
|
4
|
-
# from
|
3
|
+
# This file is automatically generated by Racc 1.4.9
|
4
|
+
# from Racc grammer file "".
|
5
5
|
#
|
6
6
|
|
7
|
-
require 'racc/parser'
|
8
|
-
|
7
|
+
require 'racc/parser.rb'
|
9
8
|
|
10
9
|
|
11
10
|
# parser.rb - generated by racc
|
@@ -17,12 +16,10 @@ require File.join(File.dirname(__FILE__), 'result')
|
|
17
16
|
require File.join(File.dirname(__FILE__), 'scanner')
|
18
17
|
require File.join(File.dirname(__FILE__), 'helper')
|
19
18
|
|
20
|
-
|
21
19
|
module MOF
|
22
|
-
|
23
20
|
class Parser < Racc::Parser
|
24
21
|
|
25
|
-
module_eval
|
22
|
+
module_eval(<<'...end parser.y/module_eval...', 'parser.y', 567)
|
26
23
|
|
27
24
|
#
|
28
25
|
# Initialize MOF::Parser
|
@@ -101,767 +98,774 @@ end
|
|
101
98
|
include Helper
|
102
99
|
include Scanner
|
103
100
|
|
104
|
-
|
105
|
-
|
106
|
-
##### racc 1.4.5 generates ###
|
107
|
-
|
108
|
-
racc_reduce_table = [
|
109
|
-
0, 0, :racc_error,
|
110
|
-
0, 71, :_reduce_1,
|
111
|
-
1, 71, :_reduce_2,
|
112
|
-
2, 71, :_reduce_3,
|
113
|
-
1, 72, :_reduce_none,
|
114
|
-
1, 72, :_reduce_5,
|
115
|
-
1, 72, :_reduce_6,
|
116
|
-
1, 72, :_reduce_7,
|
117
|
-
4, 73, :_reduce_8,
|
118
|
-
4, 73, :_reduce_none,
|
119
|
-
3, 73, :_reduce_10,
|
120
|
-
1, 78, :_reduce_none,
|
121
|
-
0, 77, :_reduce_12,
|
122
|
-
3, 77, :_reduce_13,
|
123
|
-
1, 79, :_reduce_none,
|
124
|
-
3, 79, :_reduce_none,
|
125
|
-
1, 80, :_reduce_none,
|
126
|
-
1, 80, :_reduce_17,
|
127
|
-
1, 80, :_reduce_none,
|
128
|
-
9, 74, :_reduce_19,
|
129
|
-
0, 87, :_reduce_20,
|
130
|
-
2, 87, :_reduce_21,
|
131
|
-
1, 88, :_reduce_none,
|
132
|
-
1, 88, :_reduce_none,
|
133
|
-
1, 88, :_reduce_none,
|
134
|
-
0, 83, :_reduce_none,
|
135
|
-
1, 83, :_reduce_26,
|
136
|
-
4, 92, :_reduce_27,
|
137
|
-
0, 94, :_reduce_28,
|
138
|
-
3, 94, :_reduce_29,
|
139
|
-
3, 93, :_reduce_30,
|
140
|
-
0, 97, :_reduce_none,
|
141
|
-
2, 97, :_reduce_32,
|
142
|
-
0, 96, :_reduce_none,
|
143
|
-
1, 96, :_reduce_none,
|
144
|
-
3, 99, :_reduce_35,
|
145
|
-
1, 99, :_reduce_none,
|
146
|
-
1, 98, :_reduce_none,
|
147
|
-
1, 98, :_reduce_none,
|
148
|
-
1, 98, :_reduce_none,
|
149
|
-
1, 98, :_reduce_none,
|
150
|
-
1, 98, :_reduce_none,
|
151
|
-
1, 98, :_reduce_none,
|
152
|
-
1, 98, :_reduce_43,
|
153
|
-
0, 85, :_reduce_none,
|
154
|
-
1, 85, :_reduce_none,
|
155
|
-
0, 86, :_reduce_none,
|
156
|
-
1, 86, :_reduce_none,
|
157
|
-
1, 84, :_reduce_48,
|
158
|
-
2, 102, :_reduce_49,
|
159
|
-
2, 104, :_reduce_50,
|
160
|
-
2, 103, :_reduce_51,
|
161
|
-
6, 89, :_reduce_52,
|
162
|
-
6, 91, :_reduce_53,
|
163
|
-
7, 90, :_reduce_54,
|
164
|
-
1, 106, :_reduce_none,
|
165
|
-
1, 106, :_reduce_56,
|
166
|
-
1, 110, :_reduce_none,
|
167
|
-
1, 110, :_reduce_58,
|
168
|
-
1, 111, :_reduce_none,
|
169
|
-
1, 105, :_reduce_none,
|
170
|
-
1, 105, :_reduce_none,
|
171
|
-
1, 105, :_reduce_none,
|
172
|
-
1, 105, :_reduce_none,
|
173
|
-
1, 105, :_reduce_none,
|
174
|
-
1, 105, :_reduce_none,
|
175
|
-
1, 105, :_reduce_none,
|
176
|
-
1, 105, :_reduce_none,
|
177
|
-
1, 105, :_reduce_none,
|
178
|
-
1, 105, :_reduce_none,
|
179
|
-
1, 105, :_reduce_none,
|
180
|
-
1, 105, :_reduce_none,
|
181
|
-
1, 105, :_reduce_none,
|
182
|
-
1, 105, :_reduce_none,
|
183
|
-
1, 105, :_reduce_74,
|
184
|
-
1, 109, :_reduce_75,
|
185
|
-
2, 109, :_reduce_76,
|
186
|
-
0, 112, :_reduce_none,
|
187
|
-
1, 112, :_reduce_none,
|
188
|
-
2, 113, :_reduce_79,
|
189
|
-
0, 115, :_reduce_80,
|
190
|
-
3, 115, :_reduce_81,
|
191
|
-
5, 114, :_reduce_82,
|
192
|
-
1, 116, :_reduce_none,
|
193
|
-
1, 116, :_reduce_none,
|
194
|
-
1, 117, :_reduce_none,
|
195
|
-
0, 107, :_reduce_none,
|
196
|
-
1, 107, :_reduce_none,
|
197
|
-
0, 118, :_reduce_none,
|
198
|
-
1, 118, :_reduce_89,
|
199
|
-
3, 119, :_reduce_90,
|
200
|
-
0, 121, :_reduce_91,
|
201
|
-
1, 121, :_reduce_none,
|
202
|
-
0, 108, :_reduce_none,
|
203
|
-
1, 108, :_reduce_none,
|
204
|
-
2, 120, :_reduce_95,
|
205
|
-
1, 122, :_reduce_none,
|
206
|
-
1, 122, :_reduce_none,
|
207
|
-
1, 122, :_reduce_none,
|
208
|
-
3, 101, :_reduce_99,
|
209
|
-
0, 124, :_reduce_none,
|
210
|
-
1, 124, :_reduce_101,
|
211
|
-
3, 124, :_reduce_102,
|
212
|
-
1, 100, :_reduce_none,
|
213
|
-
1, 100, :_reduce_none,
|
214
|
-
1, 100, :_reduce_none,
|
215
|
-
1, 100, :_reduce_none,
|
216
|
-
1, 100, :_reduce_none,
|
217
|
-
1, 100, :_reduce_none,
|
218
|
-
1, 100, :_reduce_109,
|
219
|
-
1, 82, :_reduce_none,
|
220
|
-
1, 82, :_reduce_none,
|
221
|
-
1, 82, :_reduce_none,
|
222
|
-
1, 82, :_reduce_none,
|
223
|
-
1, 82, :_reduce_none,
|
224
|
-
1, 81, :_reduce_none,
|
225
|
-
2, 81, :_reduce_116,
|
226
|
-
1, 123, :_reduce_none,
|
227
|
-
1, 123, :_reduce_none,
|
228
|
-
2, 126, :_reduce_none,
|
229
|
-
0, 127, :_reduce_none,
|
230
|
-
2, 127, :_reduce_none,
|
231
|
-
1, 129, :_reduce_none,
|
232
|
-
3, 128, :_reduce_none,
|
233
|
-
2, 130, :_reduce_none,
|
234
|
-
0, 132, :_reduce_none,
|
235
|
-
3, 132, :_reduce_none,
|
236
|
-
3, 131, :_reduce_none,
|
237
|
-
1, 133, :_reduce_none,
|
238
|
-
1, 133, :_reduce_none,
|
239
|
-
6, 75, :_reduce_130,
|
240
|
-
0, 136, :_reduce_none,
|
241
|
-
1, 136, :_reduce_none,
|
242
|
-
1, 95, :_reduce_none,
|
243
|
-
1, 95, :_reduce_none,
|
244
|
-
1, 95, :_reduce_none,
|
245
|
-
1, 95, :_reduce_none,
|
246
|
-
4, 134, :_reduce_137,
|
247
|
-
5, 135, :_reduce_138,
|
248
|
-
1, 138, :_reduce_139,
|
249
|
-
3, 138, :_reduce_140,
|
250
|
-
1, 139, :_reduce_none,
|
251
|
-
1, 139, :_reduce_none,
|
252
|
-
1, 139, :_reduce_none,
|
253
|
-
1, 139, :_reduce_none,
|
254
|
-
1, 139, :_reduce_none,
|
255
|
-
1, 139, :_reduce_none,
|
256
|
-
1, 139, :_reduce_none,
|
257
|
-
1, 139, :_reduce_none,
|
258
|
-
1, 139, :_reduce_none,
|
259
|
-
1, 139, :_reduce_none,
|
260
|
-
5, 137, :_reduce_151,
|
261
|
-
1, 140, :_reduce_152,
|
262
|
-
3, 140, :_reduce_153,
|
263
|
-
2, 76, :_reduce_none,
|
264
|
-
8, 125, :_reduce_none,
|
265
|
-
1, 141, :_reduce_none,
|
266
|
-
2, 141, :_reduce_none,
|
267
|
-
5, 142, :_reduce_none,
|
268
|
-
3, 142, :_reduce_159 ]
|
269
|
-
|
270
|
-
racc_reduce_n = 160
|
271
|
-
|
272
|
-
racc_shift_n = 235
|
101
|
+
...end parser.y/module_eval...
|
102
|
+
##### State transition tables begin ###
|
273
103
|
|
274
104
|
racc_action_table = [
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
127,
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
10,
|
289
|
-
|
290
|
-
-25,
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
10,
|
105
|
+
13, 197, 163, 172, 191, 192, 174, 17, 145, 146,
|
106
|
+
147, 180, 181, 172, 11, 173, 174, 173, 148, 11,
|
107
|
+
144, 149, 150, 151, 152, 18, 163, 173, 209, 153,
|
108
|
+
106, 107, 108, 109, 110, 112, 111, 199, 29, 31,
|
109
|
+
174, 55, 57, 68, 69, 71, 72, 52, 53, 54,
|
110
|
+
56, 163, 7, 40, 124, 42, 42, 7, 10, 10,
|
111
|
+
164, 102, 10, 35, 10, 55, 57, 68, 69, 71,
|
112
|
+
72, 52, 53, 54, 56, 51, 63, 126, -77, 42,
|
113
|
+
127, 62, 10, 10, 190, 102, 51, 15, 16, 189,
|
114
|
+
55, 57, 68, 69, 71, 72, 52, 53, 54, 56,
|
115
|
+
115, 121, 114, 21, 42, 22, 23, 10, 95, 96,
|
116
|
+
102, 35, 129, 130, 55, 57, 25, 170, 24, 10,
|
117
|
+
52, 53, 54, 56, 131, 55, 57, 35, 133, 135,
|
118
|
+
10, 52, 53, 54, 56, 93, 79, 80, 81, 82,
|
119
|
+
83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
|
120
|
+
-25, 93, 79, 80, 81, 82, 83, 84, 85, 86,
|
121
|
+
87, 88, 89, 90, 91, 92, 141, 35, 154, 60,
|
122
|
+
55, 57, 68, 69, 71, 72, 52, 53, 54, 56,
|
123
|
+
145, 146, 147, 172, 119, 118, 174, 10, 33, 33,
|
124
|
+
148, 18, 144, 149, 150, 151, 152, 173, 35, 184,
|
125
|
+
185, 153, 55, 57, 68, 69, 71, 72, 52, 53,
|
126
|
+
54, 56, 106, 107, 108, 109, 110, 112, 111, 10,
|
127
|
+
55, 57, 68, 69, 71, 72, 52, 53, 54, 56,
|
128
|
+
21, 44, 22, 23, 97, 113, 21, 10, 22, 23,
|
129
|
+
78, 194, 36, 25, 97, 24, 200, 35, 33, 25,
|
130
|
+
60, 24, 93, 79, 80, 81, 82, 83, 84, 85,
|
131
|
+
86, 87, 88, 89, 90, 91, 92, 106, 107, 108,
|
132
|
+
109, 110, 112, 111, 121, 207, -59, 121, 65, 211,
|
133
|
+
135, 102, 135, 218, 28, 220, 221, 27, 226, 100,
|
134
|
+
228, 229, 231, 10, 121, 135 ]
|
305
135
|
|
306
136
|
racc_action_check = [
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
103,
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
42,
|
323
|
-
|
137
|
+
1, 186, 189, 194, 178, 178, 194, 8, 131, 131,
|
138
|
+
131, 142, 142, 140, 0, 186, 140, 194, 131, 1,
|
139
|
+
131, 131, 131, 131, 131, 8, 211, 140, 201, 131,
|
140
|
+
65, 65, 65, 65, 65, 65, 65, 187, 15, 15,
|
141
|
+
187, 189, 189, 189, 189, 189, 189, 189, 189, 189,
|
142
|
+
189, 135, 0, 20, 98, 189, 20, 1, 189, 0,
|
143
|
+
137, 189, 137, 100, 1, 211, 211, 211, 211, 211,
|
144
|
+
211, 211, 211, 211, 211, 33, 37, 102, 207, 211,
|
145
|
+
103, 37, 211, 207, 177, 211, 96, 7, 7, 177,
|
146
|
+
135, 135, 135, 135, 135, 135, 135, 135, 135, 135,
|
147
|
+
75, 94, 75, 10, 135, 10, 10, 135, 47, 47,
|
148
|
+
135, 169, 116, 118, 33, 33, 10, 138, 10, 138,
|
149
|
+
33, 33, 33, 33, 119, 96, 96, 216, 121, 122,
|
150
|
+
127, 96, 96, 96, 96, 169, 169, 169, 169, 169,
|
151
|
+
169, 169, 169, 169, 169, 169, 169, 169, 169, 169,
|
152
|
+
42, 216, 216, 216, 216, 216, 216, 216, 216, 216,
|
153
|
+
216, 216, 216, 216, 216, 216, 130, 36, 132, 34,
|
324
154
|
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
155
|
+
181, 181, 181, 218, 78, 77, 218, 42, 30, 29,
|
156
|
+
181, 74, 181, 181, 181, 181, 181, 218, 161, 162,
|
157
|
+
164, 181, 115, 115, 115, 115, 115, 115, 115, 115,
|
158
|
+
115, 115, 141, 141, 141, 141, 141, 141, 141, 115,
|
159
|
+
40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
|
160
|
+
63, 26, 63, 63, 70, 66, 11, 40, 11, 11,
|
161
|
+
43, 183, 18, 63, 49, 63, 188, 17, 16, 11,
|
162
|
+
61, 11, 44, 44, 44, 44, 44, 44, 44, 44,
|
163
|
+
44, 44, 44, 44, 44, 44, 44, 192, 192, 192,
|
164
|
+
192, 192, 192, 192, 195, 196, 197, 198, 38, 205,
|
165
|
+
206, 60, 208, 210, 13, 212, 213, 12, 217, 58,
|
166
|
+
221, 222, 223, 229, 230, 233 ]
|
337
167
|
|
338
168
|
racc_action_pointer = [
|
339
|
-
-5,
|
340
|
-
|
341
|
-
nil,
|
342
|
-
|
343
|
-
|
344
|
-
nil, nil,
|
345
|
-
|
346
|
-
|
347
|
-
nil,
|
348
|
-
nil,
|
349
|
-
|
350
|
-
nil, nil,
|
351
|
-
nil,
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
nil,
|
356
|
-
nil, nil, nil, nil, nil,
|
357
|
-
|
358
|
-
|
359
|
-
nil,
|
360
|
-
|
361
|
-
|
362
|
-
nil, nil,
|
169
|
+
-5, 0, nil, nil, nil, nil, nil, 81, -2, nil,
|
170
|
+
95, 228, 224, 284, nil, 31, 190, 239, 211, nil,
|
171
|
+
-5, nil, nil, nil, nil, nil, 165, nil, nil, 131,
|
172
|
+
130, nil, nil, 67, 141, nil, 159, 16, 212, nil,
|
173
|
+
173, nil, 123, 180, 220, nil, nil, 49, nil, 196,
|
174
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 223, nil,
|
175
|
+
214, 222, nil, 222, nil, 18, 176, nil, nil, nil,
|
176
|
+
186, nil, nil, nil, 164, 40, nil, 125, 164, nil,
|
177
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
178
|
+
nil, nil, nil, nil, 37, nil, 78, nil, -7, nil,
|
179
|
+
55, nil, 69, 19, nil, nil, nil, nil, nil, nil,
|
180
|
+
nil, nil, nil, nil, nil, 155, 49, nil, 87, 66,
|
181
|
+
nil, 81, 61, nil, nil, nil, nil, 66, nil, nil,
|
182
|
+
108, -1, 103, nil, nil, 43, nil, -2, 55, nil,
|
183
|
+
5, 200, -48, nil, nil, nil, nil, nil, nil, nil,
|
184
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
185
|
+
nil, 190, 133, nil, 137, nil, nil, nil, nil, 103,
|
186
|
+
nil, nil, nil, nil, nil, nil, nil, 21, -55, nil,
|
187
|
+
nil, 171, nil, 172, nil, nil, -7, 29, 217, -6,
|
188
|
+
nil, nil, 255, nil, -5, 210, 217, 218, 213, nil,
|
189
|
+
nil, -35, nil, nil, nil, 211, 212, 19, 214, nil,
|
190
|
+
223, 18, 222, 227, nil, nil, 119, 225, 175, nil,
|
191
|
+
nil, 227, 231, 284, nil, nil, nil, nil, nil, 229,
|
192
|
+
230, nil, nil, 227, nil, nil ]
|
363
193
|
|
364
194
|
racc_action_default = [
|
365
|
-
-1,
|
366
|
-
-
|
367
|
-
-
|
368
|
-
-
|
369
|
-
-
|
370
|
-
-
|
371
|
-
|
372
|
-
|
373
|
-
-
|
374
|
-
|
375
|
-
-
|
376
|
-
-
|
377
|
-
-
|
378
|
-
-
|
379
|
-
|
380
|
-
-
|
381
|
-
-
|
382
|
-
-
|
383
|
-
-
|
384
|
-
-160, -
|
385
|
-
-
|
386
|
-
-124, -
|
387
|
-
-
|
388
|
-
-85, -81, -88, -82, -89 ]
|
195
|
+
-1, -25, -2, -4, -5, -6, -7, -161, -161, -26,
|
196
|
+
-161, -161, -161, -161, -3, -161, -12, -161, -161, -28,
|
197
|
+
-33, -133, -134, -135, -136, -137, -161, -155, 236, -12,
|
198
|
+
-12, -11, -10, -161, -44, -48, -161, -161, -31, -34,
|
199
|
+
-25, -36, -100, -161, -161, -8, -9, -161, -14, -16,
|
200
|
+
-17, -18, -110, -111, -112, -113, -114, -115, -46, -45,
|
201
|
+
-161, -44, -27, -161, -30, -161, -161, -103, -104, -105,
|
202
|
+
-106, -107, -108, -109, -161, -161, -101, -131, -161, -60,
|
203
|
+
-61, -62, -63, -64, -65, -66, -67, -68, -69, -70,
|
204
|
+
-71, -72, -73, -74, -86, -13, -161, -116, -161, -47,
|
205
|
+
-161, -49, -161, -161, -29, -32, -37, -38, -39, -40,
|
206
|
+
-41, -42, -43, -35, -99, -25, -161, -132, -161, -161,
|
207
|
+
-87, -91, -93, -15, -20, -51, -50, -25, -102, -130,
|
208
|
+
-161, -161, -161, -92, -94, -25, -138, -25, -25, -157,
|
209
|
+
-161, -161, -161, -140, -142, -143, -144, -145, -146, -147,
|
210
|
+
-148, -149, -150, -151, -90, -95, -96, -97, -98, -117,
|
211
|
+
-118, -161, -161, -122, -161, -21, -22, -23, -24, -161,
|
212
|
+
-156, -158, -55, -56, -58, -128, -129, -161, -161, -153,
|
213
|
+
-139, -161, -119, -161, -121, -19, -161, -161, -75, -25,
|
214
|
+
-160, -152, -161, -141, -161, -86, -161, -55, -86, -57,
|
215
|
+
-76, -161, -154, -123, -125, -161, -93, -25, -93, -159,
|
216
|
+
-124, -25, -161, -161, -78, -80, -161, -161, -161, -127,
|
217
|
+
-52, -161, -79, -161, -83, -84, -53, -126, -54, -25,
|
218
|
+
-86, -85, -81, -88, -82, -89 ]
|
389
219
|
|
390
220
|
racc_goto_table = [
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
nil, nil, nil, nil, nil,
|
402
|
-
|
403
|
-
nil, nil, nil,
|
404
|
-
|
405
|
-
|
221
|
+
8, 8, 34, 94, 122, 105, 136, 155, 48, 66,
|
222
|
+
49, 76, 50, 19, 143, 187, 58, 204, 215, 32,
|
223
|
+
139, 61, 2, 14, 12, 12, 75, 38, 39, 26,
|
224
|
+
41, 171, 45, 46, 99, 101, 37, 195, 168, 167,
|
225
|
+
232, 227, 166, 103, 198, 196, 213, 214, 165, 222,
|
226
|
+
223, 230, 234, 235, 132, 137, 64, 98, 182, 203,
|
227
|
+
47, 201, 225, 210, 193, 177, 104, 43, 77, 116,
|
228
|
+
117, 123, 142, 49, 30, 50, 178, 138, 1, nil,
|
229
|
+
nil, 179, nil, 219, 128, 125, nil, nil, nil, nil,
|
230
|
+
212, nil, 217, nil, nil, nil, nil, nil, nil, nil,
|
231
|
+
nil, nil, nil, nil, nil, 206, nil, nil, 208, nil,
|
232
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
233
|
+
nil, nil, nil, nil, nil, nil, nil, 140, 186, nil,
|
234
|
+
nil, nil, 202, nil, nil, nil, nil, 169, 140, nil,
|
235
|
+
233, nil, nil, nil, nil, nil, 183, nil, nil, nil,
|
406
236
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
407
|
-
nil, 232, nil, nil, nil, nil, nil, nil, nil, nil,
|
408
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil, 221,
|
409
237
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
238
|
+
nil, nil, nil, nil, nil, 224, nil, nil, nil, nil,
|
410
239
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
411
|
-
nil, nil, nil, nil, nil, nil, 214, nil, nil, nil,
|
412
240
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
413
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
241
|
+
nil, nil, nil, nil, nil, nil, nil, 216, nil, nil,
|
242
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
243
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 216 ]
|
414
244
|
|
415
245
|
racc_goto_check = [
|
416
|
-
13,
|
417
|
-
|
418
|
-
|
419
|
-
31,
|
420
|
-
|
421
|
-
46, 47, 48, 50,
|
422
|
-
|
423
|
-
67,
|
424
|
-
|
425
|
-
|
426
|
-
nil, nil, nil, nil, nil,
|
427
|
-
|
428
|
-
nil, nil, nil,
|
429
|
-
|
430
|
-
|
246
|
+
13, 13, 14, 35, 37, 28, 38, 52, 10, 30,
|
247
|
+
11, 30, 12, 23, 69, 39, 15, 61, 44, 7,
|
248
|
+
72, 14, 2, 2, 55, 55, 54, 26, 29, 25,
|
249
|
+
31, 72, 7, 7, 33, 34, 24, 36, 21, 20,
|
250
|
+
44, 61, 19, 15, 40, 41, 42, 43, 18, 45,
|
251
|
+
46, 47, 48, 50, 51, 17, 27, 16, 58, 60,
|
252
|
+
9, 52, 39, 62, 69, 63, 23, 64, 65, 66,
|
253
|
+
67, 10, 68, 11, 8, 12, 70, 71, 1, nil,
|
254
|
+
nil, 28, nil, 52, 30, 14, nil, nil, nil, nil,
|
255
|
+
38, nil, 38, nil, nil, nil, nil, nil, nil, nil,
|
256
|
+
nil, nil, nil, nil, nil, 37, nil, nil, 37, nil,
|
257
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
258
|
+
nil, nil, nil, nil, nil, nil, nil, 13, 35, nil,
|
259
|
+
nil, nil, 28, nil, nil, nil, nil, 13, 13, nil,
|
260
|
+
37, nil, nil, nil, nil, nil, 14, nil, nil, nil,
|
431
261
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
432
|
-
nil, 37, nil, nil, nil, nil, nil, nil, nil, nil,
|
433
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil, 35,
|
434
262
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
263
|
+
nil, nil, nil, nil, nil, 35, nil, nil, nil, nil,
|
435
264
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
436
|
-
nil, nil, nil, nil, nil, nil, 13, nil, nil, nil,
|
437
265
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
438
|
-
nil, nil, nil, nil, nil, nil, nil, nil,
|
266
|
+
nil, nil, nil, nil, nil, nil, nil, 13, nil, nil,
|
267
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
268
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, 13 ]
|
439
269
|
|
440
270
|
racc_goto_pointer = [
|
441
|
-
nil,
|
442
|
-
-
|
443
|
-
|
444
|
-
-
|
445
|
-
-
|
446
|
-
-
|
447
|
-
-
|
448
|
-
-
|
271
|
+
nil, 78, 22, nil, nil, nil, nil, 3, 59, 27,
|
272
|
+
-25, -23, -21, 0, -15, -18, -1, -69, -89, -95,
|
273
|
+
-98, -99, nil, 3, 17, 18, 7, 18, -60, 8,
|
274
|
+
-31, 10, nil, -24, -25, -41, -149, -90, -116, -154,
|
275
|
+
-143, -141, -161, -160, -189, -166, -166, -172, -181, nil,
|
276
|
+
-180, -67, -128, nil, -16, 24, nil, nil, -103, nil,
|
277
|
+
-135, -177, -141, -75, 41, 25, -8, -7, -59, -117,
|
278
|
+
-65, -50, -107 ]
|
449
279
|
|
450
280
|
racc_goto_default = [
|
451
|
-
nil, nil, nil,
|
452
|
-
nil,
|
453
|
-
nil, nil,
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
nil, nil, nil,
|
281
|
+
nil, nil, nil, 3, 4, 5, 6, nil, nil, nil,
|
282
|
+
nil, 70, 67, 74, 188, nil, nil, nil, nil, nil,
|
283
|
+
nil, nil, 9, nil, nil, 20, nil, nil, nil, nil,
|
284
|
+
156, 157, 59, nil, 160, nil, 175, nil, nil, nil,
|
285
|
+
176, nil, nil, nil, nil, nil, nil, nil, nil, 120,
|
286
|
+
134, nil, nil, 158, nil, 73, 159, 161, nil, 162,
|
287
|
+
nil, nil, nil, 205, nil, nil, nil, nil, nil, nil,
|
458
288
|
nil, nil, nil ]
|
459
289
|
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
:
|
468
|
-
:
|
469
|
-
:
|
470
|
-
:
|
471
|
-
:
|
472
|
-
:
|
473
|
-
:
|
474
|
-
:
|
475
|
-
:
|
476
|
-
:
|
477
|
-
:
|
478
|
-
:
|
479
|
-
:
|
480
|
-
:
|
481
|
-
:
|
482
|
-
:
|
483
|
-
:
|
484
|
-
:
|
485
|
-
:
|
486
|
-
:
|
487
|
-
:
|
488
|
-
:
|
489
|
-
:
|
490
|
-
:
|
491
|
-
:
|
492
|
-
:
|
493
|
-
:
|
494
|
-
:
|
495
|
-
:
|
496
|
-
:
|
497
|
-
:
|
498
|
-
:
|
499
|
-
:
|
500
|
-
:
|
501
|
-
:
|
502
|
-
:
|
503
|
-
:
|
504
|
-
:
|
505
|
-
:
|
506
|
-
:
|
507
|
-
:
|
508
|
-
:
|
509
|
-
:
|
510
|
-
:
|
511
|
-
:
|
512
|
-
:
|
513
|
-
:
|
514
|
-
:
|
515
|
-
:
|
516
|
-
:
|
517
|
-
:
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
290
|
+
racc_reduce_table = [
|
291
|
+
0, 0, :racc_error,
|
292
|
+
0, 71, :_reduce_1,
|
293
|
+
1, 71, :_reduce_2,
|
294
|
+
2, 71, :_reduce_3,
|
295
|
+
1, 72, :_reduce_none,
|
296
|
+
1, 72, :_reduce_5,
|
297
|
+
1, 72, :_reduce_6,
|
298
|
+
1, 72, :_reduce_7,
|
299
|
+
4, 73, :_reduce_8,
|
300
|
+
4, 73, :_reduce_none,
|
301
|
+
3, 73, :_reduce_10,
|
302
|
+
1, 78, :_reduce_none,
|
303
|
+
0, 77, :_reduce_12,
|
304
|
+
3, 77, :_reduce_13,
|
305
|
+
1, 79, :_reduce_none,
|
306
|
+
3, 79, :_reduce_none,
|
307
|
+
1, 80, :_reduce_none,
|
308
|
+
1, 80, :_reduce_17,
|
309
|
+
1, 80, :_reduce_none,
|
310
|
+
9, 74, :_reduce_19,
|
311
|
+
0, 87, :_reduce_20,
|
312
|
+
2, 87, :_reduce_21,
|
313
|
+
1, 88, :_reduce_none,
|
314
|
+
1, 88, :_reduce_none,
|
315
|
+
1, 88, :_reduce_none,
|
316
|
+
0, 83, :_reduce_none,
|
317
|
+
1, 83, :_reduce_26,
|
318
|
+
4, 92, :_reduce_27,
|
319
|
+
0, 94, :_reduce_28,
|
320
|
+
3, 94, :_reduce_29,
|
321
|
+
3, 93, :_reduce_30,
|
322
|
+
0, 97, :_reduce_none,
|
323
|
+
2, 97, :_reduce_32,
|
324
|
+
0, 96, :_reduce_none,
|
325
|
+
1, 96, :_reduce_none,
|
326
|
+
3, 99, :_reduce_35,
|
327
|
+
1, 99, :_reduce_none,
|
328
|
+
1, 98, :_reduce_none,
|
329
|
+
1, 98, :_reduce_none,
|
330
|
+
1, 98, :_reduce_none,
|
331
|
+
1, 98, :_reduce_none,
|
332
|
+
1, 98, :_reduce_none,
|
333
|
+
1, 98, :_reduce_none,
|
334
|
+
1, 98, :_reduce_43,
|
335
|
+
0, 85, :_reduce_none,
|
336
|
+
1, 85, :_reduce_none,
|
337
|
+
0, 86, :_reduce_none,
|
338
|
+
1, 86, :_reduce_none,
|
339
|
+
1, 84, :_reduce_48,
|
340
|
+
2, 102, :_reduce_49,
|
341
|
+
2, 104, :_reduce_50,
|
342
|
+
2, 103, :_reduce_51,
|
343
|
+
6, 89, :_reduce_52,
|
344
|
+
6, 91, :_reduce_53,
|
345
|
+
7, 90, :_reduce_54,
|
346
|
+
1, 106, :_reduce_none,
|
347
|
+
1, 106, :_reduce_56,
|
348
|
+
1, 110, :_reduce_none,
|
349
|
+
1, 110, :_reduce_58,
|
350
|
+
1, 111, :_reduce_none,
|
351
|
+
1, 105, :_reduce_none,
|
352
|
+
1, 105, :_reduce_none,
|
353
|
+
1, 105, :_reduce_none,
|
354
|
+
1, 105, :_reduce_none,
|
355
|
+
1, 105, :_reduce_none,
|
356
|
+
1, 105, :_reduce_none,
|
357
|
+
1, 105, :_reduce_none,
|
358
|
+
1, 105, :_reduce_none,
|
359
|
+
1, 105, :_reduce_none,
|
360
|
+
1, 105, :_reduce_none,
|
361
|
+
1, 105, :_reduce_none,
|
362
|
+
1, 105, :_reduce_none,
|
363
|
+
1, 105, :_reduce_none,
|
364
|
+
1, 105, :_reduce_none,
|
365
|
+
1, 105, :_reduce_74,
|
366
|
+
1, 109, :_reduce_75,
|
367
|
+
2, 109, :_reduce_76,
|
368
|
+
0, 112, :_reduce_none,
|
369
|
+
1, 112, :_reduce_none,
|
370
|
+
2, 113, :_reduce_79,
|
371
|
+
0, 115, :_reduce_80,
|
372
|
+
3, 115, :_reduce_81,
|
373
|
+
5, 114, :_reduce_82,
|
374
|
+
1, 116, :_reduce_none,
|
375
|
+
1, 116, :_reduce_none,
|
376
|
+
1, 117, :_reduce_none,
|
377
|
+
0, 107, :_reduce_none,
|
378
|
+
1, 107, :_reduce_none,
|
379
|
+
0, 118, :_reduce_none,
|
380
|
+
1, 118, :_reduce_89,
|
381
|
+
3, 119, :_reduce_90,
|
382
|
+
0, 121, :_reduce_91,
|
383
|
+
1, 121, :_reduce_none,
|
384
|
+
0, 108, :_reduce_none,
|
385
|
+
1, 108, :_reduce_none,
|
386
|
+
2, 120, :_reduce_95,
|
387
|
+
1, 122, :_reduce_none,
|
388
|
+
1, 122, :_reduce_none,
|
389
|
+
1, 122, :_reduce_none,
|
390
|
+
3, 101, :_reduce_99,
|
391
|
+
0, 124, :_reduce_none,
|
392
|
+
1, 124, :_reduce_101,
|
393
|
+
3, 124, :_reduce_102,
|
394
|
+
1, 100, :_reduce_none,
|
395
|
+
1, 100, :_reduce_none,
|
396
|
+
1, 100, :_reduce_none,
|
397
|
+
1, 100, :_reduce_none,
|
398
|
+
1, 100, :_reduce_none,
|
399
|
+
1, 100, :_reduce_none,
|
400
|
+
1, 100, :_reduce_109,
|
401
|
+
1, 82, :_reduce_none,
|
402
|
+
1, 82, :_reduce_none,
|
403
|
+
1, 82, :_reduce_none,
|
404
|
+
1, 82, :_reduce_none,
|
405
|
+
1, 82, :_reduce_none,
|
406
|
+
1, 81, :_reduce_none,
|
407
|
+
2, 81, :_reduce_116,
|
408
|
+
1, 123, :_reduce_none,
|
409
|
+
1, 123, :_reduce_none,
|
410
|
+
2, 126, :_reduce_none,
|
411
|
+
0, 127, :_reduce_none,
|
412
|
+
2, 127, :_reduce_none,
|
413
|
+
1, 129, :_reduce_none,
|
414
|
+
3, 128, :_reduce_none,
|
415
|
+
2, 130, :_reduce_none,
|
416
|
+
0, 132, :_reduce_none,
|
417
|
+
3, 132, :_reduce_none,
|
418
|
+
3, 131, :_reduce_none,
|
419
|
+
1, 133, :_reduce_none,
|
420
|
+
1, 133, :_reduce_none,
|
421
|
+
6, 75, :_reduce_130,
|
422
|
+
0, 136, :_reduce_none,
|
423
|
+
1, 136, :_reduce_none,
|
424
|
+
1, 95, :_reduce_none,
|
425
|
+
1, 95, :_reduce_none,
|
426
|
+
1, 95, :_reduce_none,
|
427
|
+
1, 95, :_reduce_none,
|
428
|
+
1, 95, :_reduce_none,
|
429
|
+
4, 134, :_reduce_138,
|
430
|
+
5, 135, :_reduce_139,
|
431
|
+
1, 138, :_reduce_140,
|
432
|
+
3, 138, :_reduce_141,
|
433
|
+
1, 139, :_reduce_none,
|
434
|
+
1, 139, :_reduce_none,
|
435
|
+
1, 139, :_reduce_none,
|
436
|
+
1, 139, :_reduce_none,
|
437
|
+
1, 139, :_reduce_none,
|
438
|
+
1, 139, :_reduce_none,
|
439
|
+
1, 139, :_reduce_none,
|
440
|
+
1, 139, :_reduce_none,
|
441
|
+
1, 139, :_reduce_none,
|
442
|
+
1, 139, :_reduce_none,
|
443
|
+
5, 137, :_reduce_152,
|
444
|
+
1, 140, :_reduce_153,
|
445
|
+
3, 140, :_reduce_154,
|
446
|
+
2, 76, :_reduce_none,
|
447
|
+
8, 125, :_reduce_none,
|
448
|
+
1, 141, :_reduce_none,
|
449
|
+
2, 141, :_reduce_none,
|
450
|
+
5, 142, :_reduce_none,
|
451
|
+
3, 142, :_reduce_160 ]
|
452
|
+
|
453
|
+
racc_reduce_n = 161
|
454
|
+
|
455
|
+
racc_shift_n = 236
|
531
456
|
|
532
|
-
|
457
|
+
racc_token_table = {
|
458
|
+
false => 0,
|
459
|
+
:error => 1,
|
460
|
+
"*" => 2,
|
461
|
+
"/" => 3,
|
462
|
+
"+" => 4,
|
463
|
+
"-" => 5,
|
464
|
+
:PRAGMA => 6,
|
465
|
+
:INCLUDE => 7,
|
466
|
+
:IDENTIFIER => 8,
|
467
|
+
:CLASS => 9,
|
468
|
+
:ASSOCIATION => 10,
|
469
|
+
:INDICATION => 11,
|
470
|
+
:AMENDED => 12,
|
471
|
+
:ENABLEOVERRIDE => 13,
|
472
|
+
:DISABLEOVERRIDE => 14,
|
473
|
+
:RESTRICTED => 15,
|
474
|
+
:TOSUBCLASS => 16,
|
475
|
+
:TOINSTANCE => 17,
|
476
|
+
:TRANSLATABLE => 18,
|
477
|
+
:QUALIFIER => 19,
|
478
|
+
:SCOPE => 20,
|
479
|
+
:SCHEMA => 21,
|
480
|
+
:PROPERTY => 22,
|
481
|
+
:REFERENCE => 23,
|
482
|
+
:METHOD => 24,
|
483
|
+
:PARAMETER => 25,
|
484
|
+
:FLAVOR => 26,
|
485
|
+
:INSTANCE => 27,
|
486
|
+
:AS => 28,
|
487
|
+
:REF => 29,
|
488
|
+
:ANY => 30,
|
489
|
+
:OF => 31,
|
490
|
+
:DT_VOID => 32,
|
491
|
+
:DT_UINT8 => 33,
|
492
|
+
:DT_SINT8 => 34,
|
493
|
+
:DT_UINT16 => 35,
|
494
|
+
:DT_SINT16 => 36,
|
495
|
+
:DT_UINT32 => 37,
|
496
|
+
:DT_SINT32 => 38,
|
497
|
+
:DT_UINT64 => 39,
|
498
|
+
:DT_SINT64 => 40,
|
499
|
+
:DT_REAL32 => 41,
|
500
|
+
:DT_REAL64 => 42,
|
501
|
+
:DT_CHAR16 => 43,
|
502
|
+
:DT_STR => 44,
|
503
|
+
:DT_BOOLEAN => 45,
|
504
|
+
:DT_DATETIME => 46,
|
505
|
+
:positiveDecimalValue => 47,
|
506
|
+
:stringValue => 48,
|
507
|
+
:realValue => 49,
|
508
|
+
:charValue => 50,
|
509
|
+
:booleanValue => 51,
|
510
|
+
:nullValue => 52,
|
511
|
+
:binaryValue => 53,
|
512
|
+
:octalValue => 54,
|
513
|
+
:decimalValue => 55,
|
514
|
+
:hexValue => 56,
|
515
|
+
"#" => 57,
|
516
|
+
"(" => 58,
|
517
|
+
")" => 59,
|
518
|
+
"," => 60,
|
519
|
+
"{" => 61,
|
520
|
+
"}" => 62,
|
521
|
+
";" => 63,
|
522
|
+
"[" => 64,
|
523
|
+
"]" => 65,
|
524
|
+
":" => 66,
|
525
|
+
"$" => 67,
|
526
|
+
"=" => 68,
|
527
|
+
"." => 69 }
|
533
528
|
|
534
529
|
racc_nt_base = 70
|
535
530
|
|
531
|
+
racc_use_result_var = true
|
532
|
+
|
536
533
|
Racc_arg = [
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
534
|
+
racc_action_table,
|
535
|
+
racc_action_check,
|
536
|
+
racc_action_default,
|
537
|
+
racc_action_pointer,
|
538
|
+
racc_goto_table,
|
539
|
+
racc_goto_check,
|
540
|
+
racc_goto_default,
|
541
|
+
racc_goto_pointer,
|
542
|
+
racc_nt_base,
|
543
|
+
racc_reduce_table,
|
544
|
+
racc_token_table,
|
545
|
+
racc_shift_n,
|
546
|
+
racc_reduce_n,
|
547
|
+
racc_use_result_var ]
|
551
548
|
|
552
549
|
Racc_token_to_s_table = [
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
550
|
+
"$end",
|
551
|
+
"error",
|
552
|
+
"\"*\"",
|
553
|
+
"\"/\"",
|
554
|
+
"\"+\"",
|
555
|
+
"\"-\"",
|
556
|
+
"PRAGMA",
|
557
|
+
"INCLUDE",
|
558
|
+
"IDENTIFIER",
|
559
|
+
"CLASS",
|
560
|
+
"ASSOCIATION",
|
561
|
+
"INDICATION",
|
562
|
+
"AMENDED",
|
563
|
+
"ENABLEOVERRIDE",
|
564
|
+
"DISABLEOVERRIDE",
|
565
|
+
"RESTRICTED",
|
566
|
+
"TOSUBCLASS",
|
567
|
+
"TOINSTANCE",
|
568
|
+
"TRANSLATABLE",
|
569
|
+
"QUALIFIER",
|
570
|
+
"SCOPE",
|
571
|
+
"SCHEMA",
|
572
|
+
"PROPERTY",
|
573
|
+
"REFERENCE",
|
574
|
+
"METHOD",
|
575
|
+
"PARAMETER",
|
576
|
+
"FLAVOR",
|
577
|
+
"INSTANCE",
|
578
|
+
"AS",
|
579
|
+
"REF",
|
580
|
+
"ANY",
|
581
|
+
"OF",
|
582
|
+
"DT_VOID",
|
583
|
+
"DT_UINT8",
|
584
|
+
"DT_SINT8",
|
585
|
+
"DT_UINT16",
|
586
|
+
"DT_SINT16",
|
587
|
+
"DT_UINT32",
|
588
|
+
"DT_SINT32",
|
589
|
+
"DT_UINT64",
|
590
|
+
"DT_SINT64",
|
591
|
+
"DT_REAL32",
|
592
|
+
"DT_REAL64",
|
593
|
+
"DT_CHAR16",
|
594
|
+
"DT_STR",
|
595
|
+
"DT_BOOLEAN",
|
596
|
+
"DT_DATETIME",
|
597
|
+
"positiveDecimalValue",
|
598
|
+
"stringValue",
|
599
|
+
"realValue",
|
600
|
+
"charValue",
|
601
|
+
"booleanValue",
|
602
|
+
"nullValue",
|
603
|
+
"binaryValue",
|
604
|
+
"octalValue",
|
605
|
+
"decimalValue",
|
606
|
+
"hexValue",
|
607
|
+
"\"#\"",
|
608
|
+
"\"(\"",
|
609
|
+
"\")\"",
|
610
|
+
"\",\"",
|
611
|
+
"\"{\"",
|
612
|
+
"\"}\"",
|
613
|
+
"\";\"",
|
614
|
+
"\"[\"",
|
615
|
+
"\"]\"",
|
616
|
+
"\":\"",
|
617
|
+
"\"$\"",
|
618
|
+
"\"=\"",
|
619
|
+
"\".\"",
|
620
|
+
"$start",
|
621
|
+
"mofSpecification",
|
622
|
+
"mofProduction",
|
623
|
+
"compilerDirective",
|
624
|
+
"classDeclaration",
|
625
|
+
"qualifierDeclaration",
|
626
|
+
"instanceDeclaration",
|
627
|
+
"pragmaParameters_opt",
|
628
|
+
"pragmaName",
|
629
|
+
"pragmaParameterValues",
|
630
|
+
"pragmaParameterValue",
|
631
|
+
"string",
|
632
|
+
"integerValue",
|
633
|
+
"qualifierList_opt",
|
634
|
+
"className",
|
635
|
+
"alias_opt",
|
636
|
+
"superClass_opt",
|
637
|
+
"classFeatures",
|
638
|
+
"classFeature",
|
639
|
+
"propertyDeclaration",
|
640
|
+
"methodDeclaration",
|
641
|
+
"referenceDeclaration",
|
642
|
+
"qualifierList",
|
643
|
+
"qualifier",
|
644
|
+
"qualifiers",
|
645
|
+
"qualifierName",
|
646
|
+
"qualifierParameter_opt",
|
647
|
+
"flavor_opt",
|
648
|
+
"flavor",
|
649
|
+
"qualifierParameter",
|
650
|
+
"constantValue",
|
651
|
+
"arrayInitializer",
|
652
|
+
"alias",
|
653
|
+
"superClass",
|
654
|
+
"aliasIdentifier",
|
655
|
+
"dataType",
|
656
|
+
"propertyName",
|
657
|
+
"array_opt",
|
658
|
+
"defaultValue_opt",
|
659
|
+
"objectRef",
|
660
|
+
"referenceName",
|
661
|
+
"methodName",
|
662
|
+
"parameterList_opt",
|
663
|
+
"parameterList",
|
664
|
+
"parameter",
|
665
|
+
"parameters",
|
666
|
+
"typespec",
|
667
|
+
"parameterName",
|
668
|
+
"parameterValue_opt",
|
669
|
+
"array",
|
670
|
+
"defaultValue",
|
671
|
+
"positiveDecimalValue_opt",
|
672
|
+
"initializer",
|
673
|
+
"referenceInitializer",
|
674
|
+
"constantValues",
|
675
|
+
"instance",
|
676
|
+
"objectHandle",
|
677
|
+
"namespace_opt",
|
678
|
+
"modelPath",
|
679
|
+
"namespaceHandle",
|
680
|
+
"keyValuePairList",
|
681
|
+
"keyValuePair",
|
682
|
+
"keyValuePairs",
|
683
|
+
"keyname",
|
684
|
+
"qualifierType",
|
685
|
+
"scope",
|
686
|
+
"defaultFlavor_opt",
|
687
|
+
"defaultFlavor",
|
688
|
+
"metaElements",
|
689
|
+
"metaElement",
|
690
|
+
"flavors",
|
691
|
+
"valueInitializers",
|
692
|
+
"valueInitializer" ]
|
696
693
|
|
697
694
|
Racc_debug_parser = true
|
698
695
|
|
699
|
-
#####
|
696
|
+
##### State transition tables end #####
|
700
697
|
|
701
|
-
|
698
|
+
# reduce 0 omitted
|
702
699
|
|
703
|
-
module_eval
|
704
|
-
def _reduce_1(
|
705
|
-
|
706
|
-
|
700
|
+
module_eval(<<'.,.,', 'parser.y', 37)
|
701
|
+
def _reduce_1(val, _values, result)
|
702
|
+
result = Hash.new
|
703
|
+
result
|
707
704
|
end
|
708
705
|
.,.,
|
709
706
|
|
710
|
-
module_eval
|
711
|
-
def _reduce_2(
|
712
|
-
|
713
|
-
|
707
|
+
module_eval(<<'.,.,', 'parser.y', 39)
|
708
|
+
def _reduce_2(val, _values, result)
|
709
|
+
result = { @name => @result }
|
710
|
+
result
|
714
711
|
end
|
715
712
|
.,.,
|
716
713
|
|
717
|
-
module_eval
|
718
|
-
def _reduce_3(
|
719
|
-
|
714
|
+
module_eval(<<'.,.,', 'parser.y', 41)
|
715
|
+
def _reduce_3(val, _values, result)
|
716
|
+
result = val[0]
|
720
717
|
result[@name] = @result
|
721
|
-
|
718
|
+
|
719
|
+
result
|
722
720
|
end
|
723
721
|
.,.,
|
724
722
|
|
725
|
-
|
723
|
+
# reduce 4 omitted
|
726
724
|
|
727
|
-
module_eval
|
728
|
-
def _reduce_5(
|
729
|
-
|
725
|
+
module_eval(<<'.,.,', 'parser.y', 49)
|
726
|
+
def _reduce_5(val, _values, result)
|
727
|
+
#puts "Class '#{val[0].name}'"
|
730
728
|
@result.classes << val[0]
|
731
|
-
|
729
|
+
|
730
|
+
result
|
732
731
|
end
|
733
732
|
.,.,
|
734
733
|
|
735
|
-
module_eval
|
736
|
-
def _reduce_6(
|
737
|
-
|
734
|
+
module_eval(<<'.,.,', 'parser.y', 53)
|
735
|
+
def _reduce_6(val, _values, result)
|
736
|
+
@result.qualifiers << val[0]
|
738
737
|
@qualifiers[val[0].name.downcase] = val[0]
|
739
|
-
|
738
|
+
|
739
|
+
result
|
740
740
|
end
|
741
741
|
.,.,
|
742
742
|
|
743
|
-
module_eval
|
744
|
-
def _reduce_7(
|
745
|
-
|
746
|
-
|
743
|
+
module_eval(<<'.,.,', 'parser.y', 57)
|
744
|
+
def _reduce_7(val, _values, result)
|
745
|
+
@result.instances << val[0]
|
746
|
+
result
|
747
747
|
end
|
748
748
|
.,.,
|
749
749
|
|
750
|
-
module_eval
|
751
|
-
def _reduce_8(
|
752
|
-
|
750
|
+
module_eval(<<'.,.,', 'parser.y', 67)
|
751
|
+
def _reduce_8(val, _values, result)
|
752
|
+
raise MOF::Helper::Error.new(@name,@lineno,@line,"Missing filename after '#pragma include'") unless val[3]
|
753
753
|
open val[3], :pragma
|
754
|
-
|
754
|
+
|
755
|
+
result
|
755
756
|
end
|
756
757
|
.,.,
|
757
758
|
|
758
|
-
|
759
|
+
# reduce 9 omitted
|
759
760
|
|
760
|
-
module_eval
|
761
|
-
def _reduce_10(
|
762
|
-
|
761
|
+
module_eval(<<'.,.,', 'parser.y', 72)
|
762
|
+
def _reduce_10(val, _values, result)
|
763
|
+
raise StyleError.new(@name,@lineno,@line,"Use '#pragma include' instead of '#include'") unless @style == :wmi
|
763
764
|
raise MOF::Helper::Error.new(@name,@lineno,@line,"Missing filename after '#include'") unless val[2]
|
764
765
|
open val[2], :pragma
|
765
|
-
|
766
|
+
|
767
|
+
result
|
766
768
|
end
|
767
769
|
.,.,
|
768
770
|
|
769
|
-
|
771
|
+
# reduce 11 omitted
|
770
772
|
|
771
|
-
module_eval
|
772
|
-
def _reduce_12(
|
773
|
-
|
774
|
-
|
773
|
+
module_eval(<<'.,.,', 'parser.y', 84)
|
774
|
+
def _reduce_12(val, _values, result)
|
775
|
+
raise StyleError.new(@name,@lineno,@line,"#pragma parameter missing") unless @style == :wmi
|
776
|
+
result
|
775
777
|
end
|
776
778
|
.,.,
|
777
779
|
|
778
|
-
module_eval
|
779
|
-
def _reduce_13(
|
780
|
-
|
781
|
-
|
780
|
+
module_eval(<<'.,.,', 'parser.y', 86)
|
781
|
+
def _reduce_13(val, _values, result)
|
782
|
+
result = val[1]
|
783
|
+
result
|
782
784
|
end
|
783
785
|
.,.,
|
784
786
|
|
785
|
-
|
787
|
+
# reduce 14 omitted
|
786
788
|
|
787
|
-
|
789
|
+
# reduce 15 omitted
|
788
790
|
|
789
|
-
|
791
|
+
# reduce 16 omitted
|
790
792
|
|
791
|
-
module_eval
|
792
|
-
def _reduce_17(
|
793
|
-
|
794
|
-
|
793
|
+
module_eval(<<'.,.,', 'parser.y', 97)
|
794
|
+
def _reduce_17(val, _values, result)
|
795
|
+
raise StyleError.new(@name,@lineno,@line,"#pragma parameter missing") unless @style == :wmi
|
796
|
+
result
|
795
797
|
end
|
796
798
|
.,.,
|
797
799
|
|
798
|
-
|
800
|
+
# reduce 18 omitted
|
799
801
|
|
800
|
-
module_eval
|
801
|
-
def _reduce_19(
|
802
|
-
|
802
|
+
module_eval(<<'.,.,', 'parser.y', 108)
|
803
|
+
def _reduce_19(val, _values, result)
|
804
|
+
qualifiers = val[0]
|
803
805
|
features = val[6]
|
804
806
|
# FIXME: features must not include references
|
805
807
|
result = CIM::Class.new(val[2],qualifiers,val[3],val[4],features)
|
806
|
-
|
808
|
+
|
809
|
+
result
|
807
810
|
end
|
808
811
|
.,.,
|
809
812
|
|
810
|
-
module_eval
|
811
|
-
def _reduce_20(
|
812
|
-
|
813
|
-
|
813
|
+
module_eval(<<'.,.,', 'parser.y', 117)
|
814
|
+
def _reduce_20(val, _values, result)
|
815
|
+
result = []
|
816
|
+
result
|
814
817
|
end
|
815
818
|
.,.,
|
816
819
|
|
817
|
-
module_eval
|
818
|
-
def _reduce_21(
|
819
|
-
|
820
|
-
|
820
|
+
module_eval(<<'.,.,', 'parser.y', 119)
|
821
|
+
def _reduce_21(val, _values, result)
|
822
|
+
result = val[0] << val[1]
|
823
|
+
result
|
821
824
|
end
|
822
825
|
.,.,
|
823
826
|
|
824
|
-
|
827
|
+
# reduce 22 omitted
|
825
828
|
|
826
|
-
|
829
|
+
# reduce 23 omitted
|
827
830
|
|
828
|
-
|
831
|
+
# reduce 24 omitted
|
829
832
|
|
830
|
-
|
833
|
+
# reduce 25 omitted
|
831
834
|
|
832
|
-
module_eval
|
833
|
-
def _reduce_26(
|
834
|
-
|
835
|
-
|
835
|
+
module_eval(<<'.,.,', 'parser.y', 132)
|
836
|
+
def _reduce_26(val, _values, result)
|
837
|
+
result = CIM::QualifierSet.new val[0]
|
838
|
+
result
|
836
839
|
end
|
837
840
|
.,.,
|
838
841
|
|
839
|
-
module_eval
|
840
|
-
def _reduce_27(
|
841
|
-
|
842
|
-
result.unshift val[1] if val[1]
|
843
|
-
|
842
|
+
module_eval(<<'.,.,', 'parser.y', 137)
|
843
|
+
def _reduce_27(val, _values, result)
|
844
|
+
result = val[2]
|
845
|
+
result.unshift val[1] if val[1]
|
846
|
+
result
|
844
847
|
end
|
845
848
|
.,.,
|
846
849
|
|
847
|
-
module_eval
|
848
|
-
def _reduce_28(
|
849
|
-
|
850
|
-
|
850
|
+
module_eval(<<'.,.,', 'parser.y', 143)
|
851
|
+
def _reduce_28(val, _values, result)
|
852
|
+
result = []
|
853
|
+
result
|
851
854
|
end
|
852
855
|
.,.,
|
853
856
|
|
854
|
-
module_eval
|
855
|
-
def _reduce_29(
|
856
|
-
|
857
|
+
module_eval(<<'.,.,', 'parser.y', 145)
|
858
|
+
def _reduce_29(val, _values, result)
|
859
|
+
result = val[0]
|
857
860
|
result << val[2] if val[2]
|
858
|
-
|
861
|
+
|
862
|
+
result
|
859
863
|
end
|
860
864
|
.,.,
|
861
865
|
|
862
|
-
module_eval
|
863
|
-
def _reduce_30(
|
864
|
-
|
866
|
+
module_eval(<<'.,.,', 'parser.y', 152)
|
867
|
+
def _reduce_30(val, _values, result)
|
868
|
+
# Get qualifier decl
|
865
869
|
qualifier = case val[0]
|
866
870
|
when CIM::Qualifier then val[0].definition
|
867
871
|
when CIM::QualifierDeclaration then val[0]
|
@@ -878,477 +882,487 @@ module_eval <<'.,.,', 'lib/mof/parser.y', 169
|
|
878
882
|
else
|
879
883
|
result = CIM::Qualifier.new(qualifier,value,val[2])
|
880
884
|
end
|
881
|
-
|
885
|
+
|
886
|
+
result
|
882
887
|
end
|
883
888
|
.,.,
|
884
889
|
|
885
|
-
|
890
|
+
# reduce 31 omitted
|
886
891
|
|
887
|
-
module_eval
|
888
|
-
def _reduce_32(
|
889
|
-
|
890
|
-
|
892
|
+
module_eval(<<'.,.,', 'parser.y', 175)
|
893
|
+
def _reduce_32(val, _values, result)
|
894
|
+
result = CIM::QualifierFlavors.new val[1]
|
895
|
+
result
|
891
896
|
end
|
892
897
|
.,.,
|
893
898
|
|
894
|
-
|
899
|
+
# reduce 33 omitted
|
895
900
|
|
896
|
-
|
901
|
+
# reduce 34 omitted
|
897
902
|
|
898
|
-
module_eval
|
899
|
-
def _reduce_35(
|
900
|
-
|
901
|
-
|
903
|
+
module_eval(<<'.,.,', 'parser.y', 185)
|
904
|
+
def _reduce_35(val, _values, result)
|
905
|
+
result = val[1]
|
906
|
+
result
|
902
907
|
end
|
903
908
|
.,.,
|
904
909
|
|
905
|
-
|
910
|
+
# reduce 36 omitted
|
906
911
|
|
907
|
-
|
912
|
+
# reduce 37 omitted
|
908
913
|
|
909
|
-
|
914
|
+
# reduce 38 omitted
|
910
915
|
|
911
|
-
|
916
|
+
# reduce 39 omitted
|
912
917
|
|
913
|
-
|
918
|
+
# reduce 40 omitted
|
914
919
|
|
915
|
-
|
920
|
+
# reduce 41 omitted
|
916
921
|
|
917
|
-
|
922
|
+
# reduce 42 omitted
|
918
923
|
|
919
|
-
module_eval
|
920
|
-
def _reduce_43(
|
921
|
-
|
924
|
+
module_eval(<<'.,.,', 'parser.y', 192)
|
925
|
+
def _reduce_43(val, _values, result)
|
926
|
+
case val[0].to_sym
|
922
927
|
when :amended, :toinstance
|
923
928
|
raise StyleError.new(@name,@lineno,@line,"'#{val[0]}' is not a valid flavor") unless @style == :wmi
|
924
929
|
end
|
925
|
-
|
930
|
+
|
931
|
+
result
|
926
932
|
end
|
927
933
|
.,.,
|
928
934
|
|
929
|
-
|
935
|
+
# reduce 44 omitted
|
930
936
|
|
931
|
-
|
937
|
+
# reduce 45 omitted
|
932
938
|
|
933
|
-
|
939
|
+
# reduce 46 omitted
|
934
940
|
|
935
|
-
|
941
|
+
# reduce 47 omitted
|
936
942
|
|
937
|
-
module_eval
|
938
|
-
def _reduce_48(
|
939
|
-
|
940
|
-
|
943
|
+
module_eval(<<'.,.,', 'parser.y', 211)
|
944
|
+
def _reduce_48(val, _values, result)
|
945
|
+
raise ParseError.new("Class name must be prefixed by '<schema>_'") unless val[0].include?("_") || @style == :wmi
|
946
|
+
result
|
941
947
|
end
|
942
948
|
.,.,
|
943
949
|
|
944
|
-
module_eval
|
945
|
-
def _reduce_49(
|
946
|
-
|
947
|
-
|
950
|
+
module_eval(<<'.,.,', 'parser.y', 216)
|
951
|
+
def _reduce_49(val, _values, result)
|
952
|
+
result = val[1]
|
953
|
+
result
|
948
954
|
end
|
949
955
|
.,.,
|
950
956
|
|
951
|
-
module_eval
|
952
|
-
def _reduce_50(
|
953
|
-
|
954
|
-
|
957
|
+
module_eval(<<'.,.,', 'parser.y', 221)
|
958
|
+
def _reduce_50(val, _values, result)
|
959
|
+
result = val[1]
|
960
|
+
result
|
955
961
|
end
|
956
962
|
.,.,
|
957
963
|
|
958
|
-
module_eval
|
959
|
-
def _reduce_51(
|
960
|
-
|
961
|
-
|
964
|
+
module_eval(<<'.,.,', 'parser.y', 226)
|
965
|
+
def _reduce_51(val, _values, result)
|
966
|
+
result = val[1]
|
967
|
+
result
|
962
968
|
end
|
963
969
|
.,.,
|
964
970
|
|
965
|
-
module_eval
|
966
|
-
def _reduce_52(
|
967
|
-
|
971
|
+
module_eval(<<'.,.,', 'parser.y', 232)
|
972
|
+
def _reduce_52(val, _values, result)
|
973
|
+
if val[3]
|
968
974
|
type = CIM::Array.new val[3],val[1]
|
969
975
|
else
|
970
976
|
type = val[1]
|
971
977
|
end
|
972
978
|
result = CIM::Property.new(type,val[2],val[0],val[4])
|
973
|
-
|
979
|
+
|
980
|
+
result
|
974
981
|
end
|
975
982
|
.,.,
|
976
983
|
|
977
|
-
module_eval
|
978
|
-
def _reduce_53(
|
979
|
-
|
984
|
+
module_eval(<<'.,.,', 'parser.y', 243)
|
985
|
+
def _reduce_53(val, _values, result)
|
986
|
+
if val[4]
|
980
987
|
raise StyleError.new(@name,@lineno,@line,"Array not allowed in reference declaration") unless @style == :wmi
|
981
988
|
end
|
982
|
-
result = CIM::Reference.new(val[1],val[2],val[0],val[4])
|
983
|
-
|
989
|
+
result = CIM::Reference.new(val[1],val[2],val[0],val[4])
|
990
|
+
result
|
984
991
|
end
|
985
992
|
.,.,
|
986
993
|
|
987
|
-
module_eval
|
988
|
-
def _reduce_54(
|
989
|
-
|
990
|
-
|
994
|
+
module_eval(<<'.,.,', 'parser.y', 251)
|
995
|
+
def _reduce_54(val, _values, result)
|
996
|
+
result = CIM::Method.new(val[1],val[2],val[0],val[4])
|
997
|
+
result
|
991
998
|
end
|
992
999
|
.,.,
|
993
1000
|
|
994
|
-
|
1001
|
+
# reduce 55 omitted
|
995
1002
|
|
996
|
-
module_eval
|
997
|
-
def _reduce_56(
|
998
|
-
|
1003
|
+
module_eval(<<'.,.,', 'parser.y', 257)
|
1004
|
+
def _reduce_56(val, _values, result)
|
1005
|
+
# tmplprov.mof has 'string Property;'
|
999
1006
|
raise StyleError.new(@name,@lineno,@line,"Invalid keyword '#{val[0]}' used for property name") unless @style == :wmi
|
1000
|
-
|
1007
|
+
|
1008
|
+
result
|
1001
1009
|
end
|
1002
1010
|
.,.,
|
1003
1011
|
|
1004
|
-
|
1012
|
+
# reduce 57 omitted
|
1005
1013
|
|
1006
|
-
module_eval
|
1007
|
-
def _reduce_58(
|
1008
|
-
|
1009
|
-
|
1014
|
+
module_eval(<<'.,.,', 'parser.y', 265)
|
1015
|
+
def _reduce_58(val, _values, result)
|
1016
|
+
result = "Indication"
|
1017
|
+
result
|
1010
1018
|
end
|
1011
1019
|
.,.,
|
1012
1020
|
|
1013
|
-
|
1021
|
+
# reduce 59 omitted
|
1014
1022
|
|
1015
|
-
|
1023
|
+
# reduce 60 omitted
|
1016
1024
|
|
1017
|
-
|
1025
|
+
# reduce 61 omitted
|
1018
1026
|
|
1019
|
-
|
1027
|
+
# reduce 62 omitted
|
1020
1028
|
|
1021
|
-
|
1029
|
+
# reduce 63 omitted
|
1022
1030
|
|
1023
|
-
|
1031
|
+
# reduce 64 omitted
|
1024
1032
|
|
1025
|
-
|
1033
|
+
# reduce 65 omitted
|
1026
1034
|
|
1027
|
-
|
1035
|
+
# reduce 66 omitted
|
1028
1036
|
|
1029
|
-
|
1037
|
+
# reduce 67 omitted
|
1030
1038
|
|
1031
|
-
|
1039
|
+
# reduce 68 omitted
|
1032
1040
|
|
1033
|
-
|
1041
|
+
# reduce 69 omitted
|
1034
1042
|
|
1035
|
-
|
1043
|
+
# reduce 70 omitted
|
1036
1044
|
|
1037
|
-
|
1045
|
+
# reduce 71 omitted
|
1038
1046
|
|
1039
|
-
|
1047
|
+
# reduce 72 omitted
|
1040
1048
|
|
1041
|
-
|
1049
|
+
# reduce 73 omitted
|
1042
1050
|
|
1043
|
-
module_eval
|
1044
|
-
def _reduce_74(
|
1045
|
-
|
1046
|
-
|
1051
|
+
module_eval(<<'.,.,', 'parser.y', 288)
|
1052
|
+
def _reduce_74(val, _values, result)
|
1053
|
+
raise StyleError.new(@name,@lineno,@line,"'void' is not a valid datatype") unless @style == :wmi
|
1054
|
+
result
|
1047
1055
|
end
|
1048
1056
|
.,.,
|
1049
1057
|
|
1050
|
-
module_eval
|
1051
|
-
def _reduce_75(
|
1052
|
-
|
1058
|
+
module_eval(<<'.,.,', 'parser.y', 293)
|
1059
|
+
def _reduce_75(val, _values, result)
|
1060
|
+
# WMI uses class names as data types (without REF ?!)
|
1053
1061
|
raise StyleError.new(@name,@lineno,@line,"Expected 'ref' keyword after classname '#{val[0]}'") unless @style == :wmi
|
1054
1062
|
result = CIM::ReferenceType.new val[0]
|
1055
|
-
|
1063
|
+
|
1064
|
+
result
|
1056
1065
|
end
|
1057
1066
|
.,.,
|
1058
1067
|
|
1059
|
-
module_eval
|
1060
|
-
def _reduce_76(
|
1061
|
-
|
1062
|
-
|
1068
|
+
module_eval(<<'.,.,', 'parser.y', 299)
|
1069
|
+
def _reduce_76(val, _values, result)
|
1070
|
+
result = CIM::ReferenceType.new val[0]
|
1071
|
+
result
|
1063
1072
|
end
|
1064
1073
|
.,.,
|
1065
1074
|
|
1066
|
-
|
1075
|
+
# reduce 77 omitted
|
1067
1076
|
|
1068
|
-
|
1077
|
+
# reduce 78 omitted
|
1069
1078
|
|
1070
|
-
module_eval
|
1071
|
-
def _reduce_79(
|
1072
|
-
|
1073
|
-
|
1079
|
+
module_eval(<<'.,.,', 'parser.y', 309)
|
1080
|
+
def _reduce_79(val, _values, result)
|
1081
|
+
result = val[1].unshift val[0]
|
1082
|
+
result
|
1074
1083
|
end
|
1075
1084
|
.,.,
|
1076
1085
|
|
1077
|
-
module_eval
|
1078
|
-
def _reduce_80(
|
1079
|
-
|
1080
|
-
|
1086
|
+
module_eval(<<'.,.,', 'parser.y', 314)
|
1087
|
+
def _reduce_80(val, _values, result)
|
1088
|
+
result = []
|
1089
|
+
result
|
1081
1090
|
end
|
1082
1091
|
.,.,
|
1083
1092
|
|
1084
|
-
module_eval
|
1085
|
-
def _reduce_81(
|
1086
|
-
|
1087
|
-
|
1093
|
+
module_eval(<<'.,.,', 'parser.y', 316)
|
1094
|
+
def _reduce_81(val, _values, result)
|
1095
|
+
result = val[0] << val[2]
|
1096
|
+
result
|
1088
1097
|
end
|
1089
1098
|
.,.,
|
1090
1099
|
|
1091
|
-
module_eval
|
1092
|
-
def _reduce_82(
|
1093
|
-
|
1100
|
+
module_eval(<<'.,.,', 'parser.y', 321)
|
1101
|
+
def _reduce_82(val, _values, result)
|
1102
|
+
if val[3]
|
1094
1103
|
type = CIM::Array.new val[3], val[1]
|
1095
1104
|
else
|
1096
1105
|
type = val[1]
|
1097
1106
|
end
|
1098
1107
|
result = CIM::Property.new(type,val[2],val[0])
|
1099
|
-
|
1108
|
+
|
1109
|
+
result
|
1100
1110
|
end
|
1101
1111
|
.,.,
|
1102
1112
|
|
1103
|
-
|
1113
|
+
# reduce 83 omitted
|
1104
1114
|
|
1105
|
-
|
1115
|
+
# reduce 84 omitted
|
1106
1116
|
|
1107
|
-
|
1117
|
+
# reduce 85 omitted
|
1108
1118
|
|
1109
|
-
|
1119
|
+
# reduce 86 omitted
|
1110
1120
|
|
1111
|
-
|
1121
|
+
# reduce 87 omitted
|
1112
1122
|
|
1113
|
-
|
1123
|
+
# reduce 88 omitted
|
1114
1124
|
|
1115
|
-
module_eval
|
1116
|
-
def _reduce_89(
|
1117
|
-
|
1118
|
-
|
1125
|
+
module_eval(<<'.,.,', 'parser.y', 347)
|
1126
|
+
def _reduce_89(val, _values, result)
|
1127
|
+
raise "Default parameter value not allowed in syntax style '{@style}'" unless @style == :wmi
|
1128
|
+
result
|
1119
1129
|
end
|
1120
1130
|
.,.,
|
1121
1131
|
|
1122
|
-
module_eval
|
1123
|
-
def _reduce_90(
|
1124
|
-
|
1125
|
-
|
1132
|
+
module_eval(<<'.,.,', 'parser.y', 352)
|
1133
|
+
def _reduce_90(val, _values, result)
|
1134
|
+
result = val[1]
|
1135
|
+
result
|
1126
1136
|
end
|
1127
1137
|
.,.,
|
1128
1138
|
|
1129
|
-
module_eval
|
1130
|
-
def _reduce_91(
|
1131
|
-
|
1132
|
-
|
1139
|
+
module_eval(<<'.,.,', 'parser.y', 357)
|
1140
|
+
def _reduce_91(val, _values, result)
|
1141
|
+
result = -1
|
1142
|
+
result
|
1133
1143
|
end
|
1134
1144
|
.,.,
|
1135
1145
|
|
1136
|
-
|
1146
|
+
# reduce 92 omitted
|
1137
1147
|
|
1138
|
-
|
1148
|
+
# reduce 93 omitted
|
1139
1149
|
|
1140
|
-
|
1150
|
+
# reduce 94 omitted
|
1141
1151
|
|
1142
|
-
module_eval
|
1143
|
-
def _reduce_95(
|
1144
|
-
|
1145
|
-
|
1152
|
+
module_eval(<<'.,.,', 'parser.y', 368)
|
1153
|
+
def _reduce_95(val, _values, result)
|
1154
|
+
result = val[1]
|
1155
|
+
result
|
1146
1156
|
end
|
1147
1157
|
.,.,
|
1148
1158
|
|
1149
|
-
|
1159
|
+
# reduce 96 omitted
|
1150
1160
|
|
1151
|
-
|
1161
|
+
# reduce 97 omitted
|
1152
1162
|
|
1153
|
-
|
1163
|
+
# reduce 98 omitted
|
1154
1164
|
|
1155
|
-
module_eval
|
1156
|
-
def _reduce_99(
|
1157
|
-
|
1158
|
-
|
1165
|
+
module_eval(<<'.,.,', 'parser.y', 379)
|
1166
|
+
def _reduce_99(val, _values, result)
|
1167
|
+
result = val[1]
|
1168
|
+
result
|
1159
1169
|
end
|
1160
1170
|
.,.,
|
1161
1171
|
|
1162
|
-
|
1172
|
+
# reduce 100 omitted
|
1163
1173
|
|
1164
|
-
module_eval
|
1165
|
-
def _reduce_101(
|
1166
|
-
|
1167
|
-
|
1174
|
+
module_eval(<<'.,.,', 'parser.y', 385)
|
1175
|
+
def _reduce_101(val, _values, result)
|
1176
|
+
result = [ val[0] ]
|
1177
|
+
result
|
1168
1178
|
end
|
1169
1179
|
.,.,
|
1170
1180
|
|
1171
|
-
module_eval
|
1172
|
-
def _reduce_102(
|
1173
|
-
|
1174
|
-
|
1181
|
+
module_eval(<<'.,.,', 'parser.y', 387)
|
1182
|
+
def _reduce_102(val, _values, result)
|
1183
|
+
result = val[0] << val[2]
|
1184
|
+
result
|
1175
1185
|
end
|
1176
1186
|
.,.,
|
1177
1187
|
|
1178
|
-
|
1188
|
+
# reduce 103 omitted
|
1179
1189
|
|
1180
|
-
|
1190
|
+
# reduce 104 omitted
|
1181
1191
|
|
1182
|
-
|
1192
|
+
# reduce 105 omitted
|
1183
1193
|
|
1184
|
-
|
1194
|
+
# reduce 106 omitted
|
1185
1195
|
|
1186
|
-
|
1196
|
+
# reduce 107 omitted
|
1187
1197
|
|
1188
|
-
|
1198
|
+
# reduce 108 omitted
|
1189
1199
|
|
1190
|
-
module_eval
|
1191
|
-
def _reduce_109(
|
1192
|
-
|
1193
|
-
|
1200
|
+
module_eval(<<'.,.,', 'parser.y', 398)
|
1201
|
+
def _reduce_109(val, _values, result)
|
1202
|
+
raise "Instance as property value not allowed in syntax style '{@style}'" unless @style == :wmi
|
1203
|
+
result
|
1194
1204
|
end
|
1195
1205
|
.,.,
|
1196
1206
|
|
1197
|
-
|
1207
|
+
# reduce 110 omitted
|
1198
1208
|
|
1199
|
-
|
1209
|
+
# reduce 111 omitted
|
1200
1210
|
|
1201
|
-
|
1211
|
+
# reduce 112 omitted
|
1202
1212
|
|
1203
|
-
|
1213
|
+
# reduce 113 omitted
|
1204
1214
|
|
1205
|
-
|
1215
|
+
# reduce 114 omitted
|
1206
1216
|
|
1207
|
-
|
1217
|
+
# reduce 115 omitted
|
1208
1218
|
|
1209
|
-
module_eval
|
1210
|
-
def _reduce_116(
|
1211
|
-
|
1212
|
-
|
1219
|
+
module_eval(<<'.,.,', 'parser.y', 412)
|
1220
|
+
def _reduce_116(val, _values, result)
|
1221
|
+
result = val[0] + val[1]
|
1222
|
+
result
|
1213
1223
|
end
|
1214
1224
|
.,.,
|
1215
1225
|
|
1216
|
-
|
1226
|
+
# reduce 117 omitted
|
1217
1227
|
|
1218
|
-
|
1228
|
+
# reduce 118 omitted
|
1219
1229
|
|
1220
|
-
|
1230
|
+
# reduce 119 omitted
|
1221
1231
|
|
1222
|
-
|
1232
|
+
# reduce 120 omitted
|
1223
1233
|
|
1224
|
-
|
1234
|
+
# reduce 121 omitted
|
1225
1235
|
|
1226
|
-
|
1236
|
+
# reduce 122 omitted
|
1227
1237
|
|
1228
|
-
|
1238
|
+
# reduce 123 omitted
|
1229
1239
|
|
1230
|
-
|
1240
|
+
# reduce 124 omitted
|
1231
1241
|
|
1232
|
-
|
1242
|
+
# reduce 125 omitted
|
1233
1243
|
|
1234
|
-
|
1244
|
+
# reduce 126 omitted
|
1235
1245
|
|
1236
|
-
|
1246
|
+
# reduce 127 omitted
|
1237
1247
|
|
1238
|
-
|
1248
|
+
# reduce 128 omitted
|
1239
1249
|
|
1240
|
-
|
1250
|
+
# reduce 129 omitted
|
1241
1251
|
|
1242
|
-
module_eval
|
1243
|
-
def _reduce_130(
|
1244
|
-
|
1245
|
-
|
1252
|
+
module_eval(<<'.,.,', 'parser.y', 467)
|
1253
|
+
def _reduce_130(val, _values, result)
|
1254
|
+
result = CIM::QualifierDeclaration.new( val[1], val[2][0], val[2][1], val[3], val[4])
|
1255
|
+
result
|
1246
1256
|
end
|
1247
1257
|
.,.,
|
1248
1258
|
|
1249
|
-
|
1259
|
+
# reduce 131 omitted
|
1260
|
+
|
1261
|
+
# reduce 132 omitted
|
1250
1262
|
|
1251
|
-
|
1263
|
+
# reduce 133 omitted
|
1252
1264
|
|
1253
|
-
|
1265
|
+
# reduce 134 omitted
|
1254
1266
|
|
1255
|
-
|
1267
|
+
# reduce 135 omitted
|
1256
1268
|
|
1257
|
-
|
1269
|
+
# reduce 136 omitted
|
1258
1270
|
|
1259
|
-
|
1271
|
+
# reduce 137 omitted
|
1260
1272
|
|
1261
|
-
module_eval
|
1262
|
-
def
|
1263
|
-
|
1273
|
+
module_eval(<<'.,.,', 'parser.y', 486)
|
1274
|
+
def _reduce_138(val, _values, result)
|
1275
|
+
type = val[2].nil? ? val[1] : CIM::Array.new(val[2],val[1])
|
1264
1276
|
result = [ type, val[3] ]
|
1265
|
-
|
1277
|
+
|
1278
|
+
result
|
1266
1279
|
end
|
1267
1280
|
.,.,
|
1268
1281
|
|
1269
|
-
module_eval
|
1270
|
-
def
|
1271
|
-
|
1272
|
-
|
1282
|
+
module_eval(<<'.,.,', 'parser.y', 493)
|
1283
|
+
def _reduce_139(val, _values, result)
|
1284
|
+
result = CIM::QualifierScopes.new(val[3])
|
1285
|
+
result
|
1273
1286
|
end
|
1274
1287
|
.,.,
|
1275
1288
|
|
1276
|
-
module_eval
|
1277
|
-
def
|
1278
|
-
|
1279
|
-
|
1289
|
+
module_eval(<<'.,.,', 'parser.y', 498)
|
1290
|
+
def _reduce_140(val, _values, result)
|
1291
|
+
result = [ val[0] ]
|
1292
|
+
result
|
1280
1293
|
end
|
1281
1294
|
.,.,
|
1282
1295
|
|
1283
|
-
module_eval
|
1284
|
-
def
|
1285
|
-
|
1286
|
-
|
1296
|
+
module_eval(<<'.,.,', 'parser.y', 500)
|
1297
|
+
def _reduce_141(val, _values, result)
|
1298
|
+
result = val[0] << val[2]
|
1299
|
+
result
|
1287
1300
|
end
|
1288
1301
|
.,.,
|
1289
1302
|
|
1290
|
-
|
1303
|
+
# reduce 142 omitted
|
1291
1304
|
|
1292
|
-
|
1305
|
+
# reduce 143 omitted
|
1293
1306
|
|
1294
|
-
|
1307
|
+
# reduce 144 omitted
|
1295
1308
|
|
1296
|
-
|
1309
|
+
# reduce 145 omitted
|
1297
1310
|
|
1298
|
-
|
1311
|
+
# reduce 146 omitted
|
1299
1312
|
|
1300
|
-
|
1313
|
+
# reduce 147 omitted
|
1301
1314
|
|
1302
|
-
|
1315
|
+
# reduce 148 omitted
|
1303
1316
|
|
1304
|
-
|
1317
|
+
# reduce 149 omitted
|
1305
1318
|
|
1306
|
-
|
1319
|
+
# reduce 150 omitted
|
1307
1320
|
|
1308
|
-
|
1321
|
+
# reduce 151 omitted
|
1309
1322
|
|
1310
|
-
module_eval
|
1311
|
-
def
|
1312
|
-
|
1313
|
-
|
1323
|
+
module_eval(<<'.,.,', 'parser.y', 518)
|
1324
|
+
def _reduce_152(val, _values, result)
|
1325
|
+
result = CIM::QualifierFlavors.new val[3]
|
1326
|
+
result
|
1314
1327
|
end
|
1315
1328
|
.,.,
|
1316
1329
|
|
1317
|
-
module_eval
|
1318
|
-
def
|
1319
|
-
|
1320
|
-
|
1330
|
+
module_eval(<<'.,.,', 'parser.y', 523)
|
1331
|
+
def _reduce_153(val, _values, result)
|
1332
|
+
result = [ val[0] ]
|
1333
|
+
result
|
1321
1334
|
end
|
1322
1335
|
.,.,
|
1323
1336
|
|
1324
|
-
module_eval
|
1325
|
-
def
|
1326
|
-
|
1327
|
-
|
1337
|
+
module_eval(<<'.,.,', 'parser.y', 525)
|
1338
|
+
def _reduce_154(val, _values, result)
|
1339
|
+
result = val[0] << val[2]
|
1340
|
+
result
|
1328
1341
|
end
|
1329
1342
|
.,.,
|
1330
1343
|
|
1331
|
-
|
1344
|
+
# reduce 155 omitted
|
1332
1345
|
|
1333
|
-
|
1346
|
+
# reduce 156 omitted
|
1334
1347
|
|
1335
|
-
|
1348
|
+
# reduce 157 omitted
|
1336
1349
|
|
1337
|
-
|
1350
|
+
# reduce 158 omitted
|
1338
1351
|
|
1339
|
-
|
1352
|
+
# reduce 159 omitted
|
1340
1353
|
|
1341
|
-
module_eval
|
1342
|
-
def
|
1343
|
-
|
1344
|
-
|
1354
|
+
module_eval(<<'.,.,', 'parser.y', 549)
|
1355
|
+
def _reduce_160(val, _values, result)
|
1356
|
+
raise "Instance property '#{val[1]} must have a value" unless @style == :wmi
|
1357
|
+
result
|
1345
1358
|
end
|
1346
1359
|
.,.,
|
1347
1360
|
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1361
|
+
def _reduce_none(val, _values, result)
|
1362
|
+
val[0]
|
1363
|
+
end
|
1351
1364
|
|
1352
1365
|
end # class Parser
|
1366
|
+
end # module MOF
|
1367
|
+
|
1353
1368
|
|
1354
|
-
end # module MOF
|