mof 1.2.2 → 1.2.4

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