build-tool 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,1159 +0,0 @@
1
- #
2
- # DO NOT MODIFY!!!!
3
- # This file is automatically generated by racc 1.4.5
4
- # from racc grammer file "lib/build-tool/cfg/parser.y".
5
- #
6
-
7
- require 'racc/parser'
8
-
9
-
10
- #
11
- ### HEADER
12
- #
13
- require 'build-tool/cfg/lexer'
14
- require 'build-tool/cfg/node'
15
- require 'build-tool/cfg/visitor'
16
-
17
-
18
-
19
- module BuildTool
20
-
21
- module Cfg
22
-
23
- class Parser < BuildTool::Cfg::Lexer
24
-
25
- module_eval <<'..end lib/build-tool/cfg/parser.y modeval..id93c5927fec', 'lib/build-tool/cfg/parser.y', 346
26
- #
27
- ### INNER
28
- #
29
- attr_accessor :configuration
30
-
31
- def initialize( configuration = Configuration.new)
32
- super()
33
- @configuration = configuration
34
- end
35
-
36
- def parse_string( string, file = "<string>" )
37
- tree = super
38
- visitor = Cfg::ConfigurationFileVisitor.new( configuration )
39
- conf = tree.accept( visitor )
40
- return configuration
41
- end
42
-
43
- ..end lib/build-tool/cfg/parser.y modeval..id93c5927fec
44
-
45
- ##### racc 1.4.5 generates ###
46
-
47
- racc_reduce_table = [
48
- 0, 0, :racc_error,
49
- 1, 49, :_reduce_1,
50
- 1, 51, :_reduce_2,
51
- 1, 51, :_reduce_3,
52
- 1, 52, :_reduce_4,
53
- 0, 50, :_reduce_none,
54
- 2, 50, :_reduce_6,
55
- 2, 53, :_reduce_7,
56
- 3, 53, :_reduce_8,
57
- 3, 53, :_reduce_9,
58
- 1, 53, :_reduce_10,
59
- 1, 54, :_reduce_11,
60
- 1, 54, :_reduce_12,
61
- 1, 54, :_reduce_13,
62
- 1, 54, :_reduce_14,
63
- 1, 54, :_reduce_15,
64
- 1, 54, :_reduce_16,
65
- 1, 54, :_reduce_17,
66
- 1, 54, :_reduce_18,
67
- 3, 54, :_reduce_19,
68
- 3, 54, :_reduce_20,
69
- 1, 63, :_reduce_21,
70
- 1, 63, :_reduce_22,
71
- 1, 63, :_reduce_23,
72
- 1, 63, :_reduce_24,
73
- 4, 67, :_reduce_25,
74
- 0, 68, :_reduce_none,
75
- 4, 55, :_reduce_27,
76
- 0, 69, :_reduce_none,
77
- 2, 69, :_reduce_29,
78
- 3, 70, :_reduce_30,
79
- 4, 70, :_reduce_31,
80
- 4, 70, :_reduce_32,
81
- 4, 70, :_reduce_33,
82
- 1, 70, :_reduce_34,
83
- 4, 56, :_reduce_35,
84
- 6, 56, :_reduce_36,
85
- 0, 71, :_reduce_none,
86
- 2, 71, :_reduce_38,
87
- 3, 72, :_reduce_39,
88
- 4, 72, :_reduce_40,
89
- 4, 72, :_reduce_41,
90
- 4, 72, :_reduce_42,
91
- 4, 62, :_reduce_43,
92
- 0, 73, :_reduce_none,
93
- 2, 73, :_reduce_45,
94
- 1, 74, :_reduce_46,
95
- 3, 74, :_reduce_47,
96
- 3, 74, :_reduce_48,
97
- 4, 64, :_reduce_49,
98
- 0, 76, :_reduce_none,
99
- 2, 76, :_reduce_51,
100
- 4, 77, :_reduce_52,
101
- 4, 66, :_reduce_53,
102
- 0, 79, :_reduce_none,
103
- 2, 79, :_reduce_55,
104
- 1, 80, :_reduce_56,
105
- 2, 80, :_reduce_57,
106
- 2, 61, :_reduce_58,
107
- 4, 57, :_reduce_59,
108
- 6, 57, :_reduce_60,
109
- 0, 81, :_reduce_none,
110
- 2, 81, :_reduce_62,
111
- 3, 82, :_reduce_63,
112
- 3, 82, :_reduce_64,
113
- 3, 82, :_reduce_65,
114
- 3, 82, :_reduce_66,
115
- 3, 82, :_reduce_67,
116
- 2, 82, :_reduce_68,
117
- 1, 82, :_reduce_69,
118
- 1, 82, :_reduce_70,
119
- 1, 82, :_reduce_71,
120
- 1, 82, :_reduce_72,
121
- 2, 82, :_reduce_73,
122
- 2, 82, :_reduce_74,
123
- 2, 82, :_reduce_75,
124
- 2, 82, :_reduce_76,
125
- 1, 82, :_reduce_77,
126
- 3, 82, :_reduce_78,
127
- 4, 58, :_reduce_79,
128
- 0, 78, :_reduce_none,
129
- 2, 78, :_reduce_81,
130
- 2, 83, :_reduce_82,
131
- 2, 83, :_reduce_83,
132
- 3, 83, :_reduce_84,
133
- 3, 83, :_reduce_85,
134
- 1, 83, :_reduce_86,
135
- 1, 83, :_reduce_87,
136
- 4, 59, :_reduce_88,
137
- 0, 84, :_reduce_none,
138
- 2, 84, :_reduce_90,
139
- 2, 85, :_reduce_91,
140
- 2, 85, :_reduce_92,
141
- 2, 85, :_reduce_93,
142
- 3, 85, :_reduce_94,
143
- 1, 85, :_reduce_95,
144
- 4, 60, :_reduce_96,
145
- 0, 86, :_reduce_none,
146
- 2, 86, :_reduce_98,
147
- 2, 87, :_reduce_99,
148
- 4, 65, :_reduce_100,
149
- 0, 88, :_reduce_none,
150
- 2, 88, :_reduce_102,
151
- 2, 89, :_reduce_103,
152
- 0, 75, :_reduce_none,
153
- 2, 75, :_reduce_105 ]
154
-
155
- racc_reduce_n = 106
156
-
157
- racc_shift_n = 197
158
-
159
- racc_action_table = [
160
- 75, 129, 79, 15, 81, 125, 161, 45, 1, 165,
161
- 122, 36, 128, 130, 24, 165, 120, 26, 86, 67,
162
- 121, 74, 24, 37, 75, 26, 79, 15, 81, 161,
163
- 68, 3, 1, 123, 41, 161, 144, 131, 82, 37,
164
- 45, 70, 86, 67, 77, 74, 124, 172, 75, 38,
165
- 79, 15, 81, 95, 68, 3, 1, 126, 127, 118,
166
- 94, 39, 82, 132, 147, 70, 86, 67, 77, 74,
167
- 145, 24, 133, 146, 26, 175, 95, 24, 68, 3,
168
- 26, 173, 24, 94, 174, 26, 82, 117, 15, 70,
169
- 64, 65, 77, 1, 24, 7, 15, 26, 64, 65,
170
- 18, 1, 24, 7, 135, 26, 60, 9, 18, 104,
171
- 24, 116, 105, 26, 60, 9, 3, 6, 24, 61,
172
- 12, 26, 137, 24, 3, 6, 26, 61, 12, 15,
173
- 24, 20, 21, 26, 1, 15, 7, 20, 21, 55,
174
- 1, 18, 7, 138, 139, 88, 5, 18, 9, 141,
175
- 115, 56, 5, 59, 9, 113, 55, 3, 6, 24,
176
- 12, 12, 26, 3, 6, 52, 53, 12, 56, 52,
177
- 59, 6, 112, 52, 12, 6, 41, 12, 12, 6,
178
- 46, 47, 12, 53, 46, 47, 111, 24, 46, 47,
179
- 26, 24, 24, 24, 26, 26, 26, 24, 24, 24,
180
- 26, 26, 26, 24, 24, 24, 26, 26, 26, 110,
181
- 109, 153, 107, 41, 101, 100, 159, 39, 91, 170,
182
- 88, 35, 176, 177, 178, 179, 180, 180, 161, 182,
183
- 183, 184, 185, 186, 33, 188, 170, 190, 191, 192,
184
- 193, 194, 28, 196 ]
185
-
186
- racc_action_check = [
187
- 136, 77, 136, 136, 136, 70, 128, 25, 136, 167,
188
- 70, 20, 77, 77, 123, 130, 67, 123, 136, 136,
189
- 68, 136, 38, 20, 31, 38, 31, 31, 31, 167,
190
- 136, 136, 31, 70, 25, 130, 100, 77, 136, 64,
191
- 31, 136, 31, 31, 136, 31, 70, 143, 80, 21,
192
- 80, 80, 80, 34, 31, 31, 80, 74, 75, 62,
193
- 34, 21, 31, 78, 100, 31, 80, 80, 31, 80,
194
- 100, 39, 79, 100, 39, 143, 93, 125, 80, 80,
195
- 125, 143, 124, 93, 143, 124, 80, 61, 30, 80,
196
- 30, 30, 80, 30, 7, 30, 63, 7, 63, 63,
197
- 30, 63, 44, 63, 81, 44, 30, 30, 63, 46,
198
- 47, 60, 46, 47, 63, 63, 30, 30, 122, 30,
199
- 30, 122, 86, 36, 63, 63, 36, 63, 63, 22,
200
- 110, 22, 22, 110, 22, 0, 22, 0, 0, 58,
201
- 0, 22, 0, 88, 89, 90, 22, 0, 22, 92,
202
- 59, 58, 0, 58, 0, 57, 29, 22, 22, 105,
203
- 58, 22, 105, 0, 0, 27, 58, 0, 29, 182,
204
- 29, 27, 56, 51, 27, 182, 103, 29, 182, 51,
205
- 27, 27, 51, 29, 182, 182, 55, 104, 51, 51,
206
- 104, 6, 94, 9, 6, 94, 9, 12, 84, 15,
207
- 12, 84, 15, 3, 1, 37, 3, 1, 37, 53,
208
- 52, 117, 48, 43, 42, 41, 127, 65, 33, 131,
209
- 32, 18, 144, 145, 147, 148, 152, 158, 160, 161,
210
- 162, 163, 165, 166, 14, 168, 169, 170, 171, 172,
211
- 173, 175, 5, 195 ]
212
-
213
- racc_action_pointer = [
214
- 129, 165, nil, 164, nil, 203, 152, 55, nil, 154,
215
- nil, nil, 158, nil, 234, 160, nil, nil, 182, nil,
216
- -2, 36, 123, nil, nil, -12, nil, 136, nil, 139,
217
- 82, 21, 206, 218, 33, nil, 84, 166, -17, 32,
218
- nil, 173, 204, 167, 63, nil, 74, 71, 202, nil,
219
- nil, 144, 171, 171, nil, 147, 133, 145, 122, 111,
220
- 104, 80, 49, 90, 14, 192, nil, -23, -19, nil,
221
- -1, nil, nil, nil, 50, 30, nil, -3, 53, 33,
222
- 45, 65, nil, nil, 159, nil, 83, nil, 104, 134,
223
- 131, nil, 139, 56, 153, nil, nil, nil, nil, nil,
224
- 34, nil, nil, 130, 148, 120, nil, nil, nil, nil,
225
- 91, nil, nil, nil, nil, nil, nil, 172, nil, nil,
226
- nil, nil, 79, -25, 43, 38, nil, 177, -26, nil,
227
- 3, 193, nil, nil, nil, nil, -3, nil, nil, nil,
228
- nil, nil, nil, 45, 183, 184, nil, 185, 215, nil,
229
- nil, nil, 187, nil, nil, nil, nil, nil, 188, nil,
230
- 196, 190, 220, 221, nil, 193, 223, -3, 225, 210,
231
- 198, 228, 200, 201, nil, 202, nil, nil, nil, nil,
232
- nil, nil, 140, nil, nil, nil, nil, nil, nil, nil,
233
- nil, nil, nil, nil, nil, 233, nil ]
234
-
235
- racc_action_default = [
236
- -5, -106, -11, -106, -12, -106, -106, -106, -13, -106,
237
- -14, -15, -106, -16, -106, -106, -17, -1, -106, -18,
238
- -106, -106, -5, -10, -2, -37, -3, -80, -7, -89,
239
- -44, -61, -97, -106, -28, -58, -106, -106, -106, -106,
240
- -6, -106, -106, -37, -106, -4, -106, -106, -106, -87,
241
- -86, -80, -106, -106, -95, -106, -106, -106, -89, -106,
242
- -106, -106, -106, -44, -106, -106, -46, -106, -106, -69,
243
- -106, -23, -72, -24, -106, -106, -71, -106, -106, -106,
244
- -61, -106, -77, -70, -106, -21, -106, -22, -106, -106,
245
- -97, 197, -106, -28, -106, -34, -8, -19, -9, -20,
246
- -106, -35, -38, -37, -106, -106, -83, -79, -81, -82,
247
- -106, -91, -93, -88, -90, -92, -104, -106, -43, -45,
248
- -76, -75, -106, -106, -106, -106, -104, -106, -50, -26,
249
- -54, -101, -59, -74, -62, -68, -61, -73, -99, -96,
250
- -98, -27, -29, -106, -106, -106, -39, -106, -106, -85,
251
- -84, -94, -47, -48, -64, -65, -66, -63, -67, -78,
252
- -50, -106, -106, -106, -56, -106, -106, -54, -106, -101,
253
- -106, -106, -106, -106, -30, -106, -42, -40, -41, -36,
254
- -105, -51, -80, -49, -25, -57, -53, -55, -100, -102,
255
- -103, -60, -33, -31, -32, -106, -52 ]
256
-
257
- racc_goto_table = [
258
- 48, 50, 49, 54, 25, 69, 27, 78, 92, 29,
259
- 30, 72, 31, 76, 89, 32, 42, 168, 34, 66,
260
- 164, 166, 57, 17, 108, 50, 49, 162, 62, 44,
261
- 163, 14, 54, 152, 102, 84, nil, nil, nil, 96,
262
- 97, 98, 99, 158, nil, 40, nil, 103, nil, nil,
263
- 106, 114, 66, nil, 69, 189, 134, 164, 187, 181,
264
- 72, 119, 76, nil, nil, nil, nil, 142, nil, nil,
265
- nil, nil, 140, nil, nil, nil, nil, nil, nil, nil,
266
- nil, nil, nil, nil, nil, nil, nil, 136, nil, nil,
267
- nil, nil, nil, nil, 148, nil, nil, 143, nil, nil,
268
- nil, nil, nil, nil, nil, nil, nil, 149, 150, nil,
269
- 69, nil, 171, 151, nil, nil, 72, nil, 76, nil,
270
- nil, nil, nil, nil, nil, 154, 155, 156, 157, nil,
271
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
272
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
273
- nil, nil, nil, nil, nil, 195, 50, 49 ]
274
-
275
- racc_goto_check = [
276
- 30, 12, 11, 12, 3, 7, 3, 33, 21, 3,
277
- 3, 8, 3, 10, 38, 3, 23, 40, 3, 6,
278
- 29, 31, 36, 2, 30, 12, 11, 28, 25, 4,
279
- 20, 1, 12, 27, 23, 4, nil, nil, nil, 3,
280
- 3, 3, 3, 27, nil, 2, nil, 3, nil, nil,
281
- 3, 36, 6, nil, 7, 40, 33, 29, 31, 28,
282
- 8, 25, 10, nil, nil, nil, nil, 21, nil, nil,
283
- nil, nil, 38, nil, nil, nil, nil, nil, nil, nil,
284
- nil, nil, nil, nil, nil, nil, nil, 3, nil, nil,
285
- nil, nil, nil, nil, 23, nil, nil, 3, nil, nil,
286
- nil, nil, nil, nil, nil, nil, nil, 3, 3, nil,
287
- 7, nil, 33, 3, nil, nil, 8, nil, 10, nil,
288
- nil, nil, nil, nil, nil, 3, 3, 3, 3, nil,
289
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
290
- nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
291
- nil, nil, nil, nil, nil, 30, 12, 11 ]
292
-
293
- racc_goto_pointer = [
294
- nil, 31, 23, 3, 4, nil, -11, -26, -20, nil,
295
- -18, -25, -26, nil, nil, nil, nil, nil, nil, nil,
296
- -99, -26, nil, -9, nil, -2, nil, -83, -101, -110,
297
- -27, -109, nil, -24, nil, nil, -7, nil, -18, nil,
298
- -114, nil ]
299
-
300
- racc_goto_default = [
301
- nil, nil, nil, nil, nil, 22, 23, 2, 4, 8,
302
- 10, 11, 13, 16, 19, 83, 85, 87, 71, 73,
303
- nil, nil, 93, nil, 43, nil, 63, nil, nil, 160,
304
- nil, nil, 167, nil, 80, 51, nil, 58, nil, 90,
305
- nil, 169 ]
306
-
307
- racc_token_table = {
308
- false => 0,
309
- Object.new => 1,
310
- :APPEND => 2,
311
- :APPLY => 3,
312
- :ARCHIVE => 4,
313
- :BUILD_PREFIX => 5,
314
- :BUILD_SYSTEM => 6,
315
- :DESCRIPTION => 7,
316
- :DISABLE => 8,
317
- :ENABLE => 9,
318
- :END => 10,
319
- :ENVIRONMENT => 11,
320
- :EXTERNAL => 12,
321
- :FEATURE => 13,
322
- :FILE => 14,
323
- :GIT => 15,
324
- :GIT_SVN => 16,
325
- :HOST => 17,
326
- :INCLUDE => 18,
327
- :INHERITANCE => 19,
328
- :INPLACE => 20,
329
- :INSTALL_PREFIX => 21,
330
- :LOCAL_PATH => 22,
331
- :LOG_DIRECTORY => 23,
332
- :LONG => 24,
333
- :MODULE => 25,
334
- :ONLY => 26,
335
- :OPTION => 27,
336
- :PATCH => 28,
337
- :PATH => 29,
338
- :PREPEND => 30,
339
- :PROTOCOL => 31,
340
- :REMOTE => 32,
341
- :REMOTE_PATH => 33,
342
- :REPOSITORY => 34,
343
- :SERVER => 35,
344
- :SET => 36,
345
- :SHORT => 37,
346
- :SSH_KEY => 38,
347
- :STRING => 39,
348
- :SVN => 40,
349
- :TEMPLATE => 41,
350
- :TOKEN => 42,
351
- :TRACK_BRANCH => 43,
352
- :USE => 44,
353
- :USER => 45,
354
- :VAR => 46,
355
- :VCS => 47 }
356
-
357
- racc_use_result_var = true
358
-
359
- racc_nt_base = 48
360
-
361
- Racc_arg = [
362
- racc_action_table,
363
- racc_action_check,
364
- racc_action_default,
365
- racc_action_pointer,
366
- racc_goto_table,
367
- racc_goto_check,
368
- racc_goto_default,
369
- racc_goto_pointer,
370
- racc_nt_base,
371
- racc_reduce_table,
372
- racc_token_table,
373
- racc_shift_n,
374
- racc_reduce_n,
375
- racc_use_result_var ]
376
-
377
- Racc_token_to_s_table = [
378
- '$end',
379
- 'error',
380
- 'APPEND',
381
- 'APPLY',
382
- 'ARCHIVE',
383
- 'BUILD_PREFIX',
384
- 'BUILD_SYSTEM',
385
- 'DESCRIPTION',
386
- 'DISABLE',
387
- 'ENABLE',
388
- 'END',
389
- 'ENVIRONMENT',
390
- 'EXTERNAL',
391
- 'FEATURE',
392
- 'FILE',
393
- 'GIT',
394
- 'GIT_SVN',
395
- 'HOST',
396
- 'INCLUDE',
397
- 'INHERITANCE',
398
- 'INPLACE',
399
- 'INSTALL_PREFIX',
400
- 'LOCAL_PATH',
401
- 'LOG_DIRECTORY',
402
- 'LONG',
403
- 'MODULE',
404
- 'ONLY',
405
- 'OPTION',
406
- 'PATCH',
407
- 'PATH',
408
- 'PREPEND',
409
- 'PROTOCOL',
410
- 'REMOTE',
411
- 'REMOTE_PATH',
412
- 'REPOSITORY',
413
- 'SERVER',
414
- 'SET',
415
- 'SHORT',
416
- 'SSH_KEY',
417
- 'STRING',
418
- 'SVN',
419
- 'TEMPLATE',
420
- 'TOKEN',
421
- 'TRACK_BRANCH',
422
- 'USE',
423
- 'USER',
424
- 'VAR',
425
- 'VCS',
426
- '$start',
427
- 'main',
428
- 'top_level_statements',
429
- 'identifier',
430
- 'inheritance',
431
- 'top_level_statement',
432
- 'statement',
433
- 'build_system_declaration',
434
- 'environment_declaration',
435
- 'module_declaration',
436
- 'repository_declaration',
437
- 'server_declaration',
438
- 'ssh_key_declaration',
439
- 'include_directive',
440
- 'feature_declaration',
441
- 'vcs_declaration',
442
- 'git_declaration',
443
- 'svn_declaration',
444
- 'git_svn_declaration',
445
- 'archive_declaration',
446
- 'archive_statements',
447
- 'build_system_statements',
448
- 'build_system_statement',
449
- 'environment_statements',
450
- 'environment_statement',
451
- 'feature_statements',
452
- 'feature_statement',
453
- 'multiline_string',
454
- 'git_statements',
455
- 'git_statement',
456
- 'repository_statements',
457
- 'git_svn_statements',
458
- 'git_svn_statement',
459
- 'module_statements',
460
- 'module_statement',
461
- 'repository_statement',
462
- 'server_statements',
463
- 'server_statement',
464
- 'ssh_key_statements',
465
- 'ssh_key_statement',
466
- 'svn_statements',
467
- 'svn_statement']
468
-
469
- Racc_debug_parser = false
470
-
471
- ##### racc system variables end #####
472
-
473
- # reduce 0 omitted
474
-
475
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 52
476
- def _reduce_1( val, _values, result )
477
- result = ConfigurationFileList.new( val[0] );
478
- result
479
- end
480
- .,.,
481
-
482
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 60
483
- def _reduce_2( val, _values, result )
484
- result = val[0];
485
- result
486
- end
487
- .,.,
488
-
489
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 61
490
- def _reduce_3( val, _values, result )
491
- result = val[0];
492
- result
493
- end
494
- .,.,
495
-
496
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 65
497
- def _reduce_4( val, _values, result )
498
- result = :INHERITANCE;
499
- result
500
- end
501
- .,.,
502
-
503
- # reduce 5 omitted
504
-
505
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 73
506
- def _reduce_6( val, _values, result )
507
- result = val.flatten;
508
- result
509
- end
510
- .,.,
511
-
512
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 77
513
- def _reduce_7( val, _values, result )
514
- result = LogDirectoryNode.new( val[1] );
515
- result
516
- end
517
- .,.,
518
-
519
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 78
520
- def _reduce_8( val, _values, result )
521
- result = DisableFeatureNode.new( val[2] );
522
- result
523
- end
524
- .,.,
525
-
526
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 79
527
- def _reduce_9( val, _values, result )
528
- result = EnableFeatureNode.new( val[2] );
529
- result
530
- end
531
- .,.,
532
-
533
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 80
534
- def _reduce_10( val, _values, result )
535
- result = val[0];
536
- result
537
- end
538
- .,.,
539
-
540
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 88
541
- def _reduce_11( val, _values, result )
542
- result = val[0];
543
- result
544
- end
545
- .,.,
546
-
547
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 89
548
- def _reduce_12( val, _values, result )
549
- result = val[0];
550
- result
551
- end
552
- .,.,
553
-
554
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 90
555
- def _reduce_13( val, _values, result )
556
- result = val[0];
557
- result
558
- end
559
- .,.,
560
-
561
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 91
562
- def _reduce_14( val, _values, result )
563
- result = val[0];
564
- result
565
- end
566
- .,.,
567
-
568
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 92
569
- def _reduce_15( val, _values, result )
570
- result = val[0];
571
- result
572
- end
573
- .,.,
574
-
575
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 93
576
- def _reduce_16( val, _values, result )
577
- result = val[0];
578
- result
579
- end
580
- .,.,
581
-
582
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 94
583
- def _reduce_17( val, _values, result )
584
- result = val[0];
585
- result
586
- end
587
- .,.,
588
-
589
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 95
590
- def _reduce_18( val, _values, result )
591
- result = val[0];
592
- result
593
- end
594
- .,.,
595
-
596
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 96
597
- def _reduce_19( val, _values, result )
598
- result = DisableModuleNode.new( val[2] );
599
- result
600
- end
601
- .,.,
602
-
603
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 97
604
- def _reduce_20( val, _values, result )
605
- result = EnableModuleNode.new( val[2] );
606
- result
607
- end
608
- .,.,
609
-
610
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 101
611
- def _reduce_21( val, _values, result )
612
- result = val[0];
613
- result
614
- end
615
- .,.,
616
-
617
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 102
618
- def _reduce_22( val, _values, result )
619
- result = val[0];
620
- result
621
- end
622
- .,.,
623
-
624
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 103
625
- def _reduce_23( val, _values, result )
626
- result = val[0];
627
- result
628
- end
629
- .,.,
630
-
631
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 104
632
- def _reduce_24( val, _values, result )
633
- result = val[0];
634
- result
635
- end
636
- .,.,
637
-
638
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 111
639
- def _reduce_25( val, _values, result )
640
- result = ArchiveDeclarationNode.new( val[2] );
641
- result
642
- end
643
- .,.,
644
-
645
- # reduce 26 omitted
646
-
647
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 126
648
- def _reduce_27( val, _values, result )
649
- result = BuildSystemDeclarationNode.new( val[1,2] );
650
- result
651
- end
652
- .,.,
653
-
654
- # reduce 28 omitted
655
-
656
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 131
657
- def _reduce_29( val, _values, result )
658
- result = val.flatten;
659
- result
660
- end
661
- .,.,
662
-
663
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 135
664
- def _reduce_30( val, _values, result )
665
- result = BuildSystemOptionNode.new( val[1..-1] );
666
- result
667
- end
668
- .,.,
669
-
670
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 136
671
- def _reduce_31( val, _values, result )
672
- result = BuildSystemOptionNode.new( val[1..-1] );
673
- result
674
- end
675
- .,.,
676
-
677
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 137
678
- def _reduce_32( val, _values, result )
679
- result = BuildSystemOptionNode.new( val[1..-1] );
680
- result
681
- end
682
- .,.,
683
-
684
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 138
685
- def _reduce_33( val, _values, result )
686
- result = BuildSystemOptionNode.new( val[1..-1] );
687
- result
688
- end
689
- .,.,
690
-
691
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 139
692
- def _reduce_34( val, _values, result )
693
- result = BuildSystemInplaceNode.new();
694
- result
695
- end
696
- .,.,
697
-
698
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 146
699
- def _reduce_35( val, _values, result )
700
- result = EnvironmentDeclarationNode.new( val[1..-1] );
701
- result
702
- end
703
- .,.,
704
-
705
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 147
706
- def _reduce_36( val, _values, result )
707
- result = EnvironmentDeclarationNode.new( val[1..-1] );
708
- result
709
- end
710
- .,.,
711
-
712
- # reduce 37 omitted
713
-
714
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 152
715
- def _reduce_38( val, _values, result )
716
- result = val.flatten;
717
- result
718
- end
719
- .,.,
720
-
721
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 156
722
- def _reduce_39( val, _values, result )
723
- result = EnvironmentVariableNode.new( val[1..-1] );
724
- result
725
- end
726
- .,.,
727
-
728
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 157
729
- def _reduce_40( val, _values, result )
730
- result = EnvironmentVariableNode.new( val[1..-1] );
731
- result
732
- end
733
- .,.,
734
-
735
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 158
736
- def _reduce_41( val, _values, result )
737
- result = EnvironmentVariableNode.new( val[1..-1] );
738
- result
739
- end
740
- .,.,
741
-
742
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 159
743
- def _reduce_42( val, _values, result )
744
- result = EnvironmentVariableNode.new( val[1..-1] );
745
- result
746
- end
747
- .,.,
748
-
749
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 166
750
- def _reduce_43( val, _values, result )
751
- result = FeatureNode.new( val[1..-2] )
752
- result
753
- end
754
- .,.,
755
-
756
- # reduce 44 omitted
757
-
758
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 171
759
- def _reduce_45( val, _values, result )
760
- result = val.flatten;
761
- result
762
- end
763
- .,.,
764
-
765
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 175
766
- def _reduce_46( val, _values, result )
767
- result = val.flatten;
768
- result
769
- end
770
- .,.,
771
-
772
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 176
773
- def _reduce_47( val, _values, result )
774
- result = LongDescriptionNode.new( val[2] );
775
- result
776
- end
777
- .,.,
778
-
779
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 177
780
- def _reduce_48( val, _values, result )
781
- result = ShortDescriptionNode.new( val[2] );
782
- result
783
- end
784
- .,.,
785
-
786
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 184
787
- def _reduce_49( val, _values, result )
788
- result = GitDeclarationNode.new( val[2] );
789
- result
790
- end
791
- .,.,
792
-
793
- # reduce 50 omitted
794
-
795
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 189
796
- def _reduce_51( val, _values, result )
797
- result = val.flatten;
798
- result
799
- end
800
- .,.,
801
-
802
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 193
803
- def _reduce_52( val, _values, result )
804
- result = RemoteDeclarationNode.new( val[1..-1]);
805
- result
806
- end
807
- .,.,
808
-
809
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 200
810
- def _reduce_53( val, _values, result )
811
- result = GitSvnDeclarationNode.new( val[2] );
812
- result
813
- end
814
- .,.,
815
-
816
- # reduce 54 omitted
817
-
818
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 205
819
- def _reduce_55( val, _values, result )
820
- result = val.flatten;
821
- result
822
- end
823
- .,.,
824
-
825
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 209
826
- def _reduce_56( val, _values, result )
827
- result = val[0];
828
- result
829
- end
830
- .,.,
831
-
832
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 210
833
- def _reduce_57( val, _values, result )
834
- result = GitSvnExternalNode.new( val[1] );
835
- result
836
- end
837
- .,.,
838
-
839
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 217
840
- def _reduce_58( val, _values, result )
841
- result = IncludeNode.new( val[1] )
842
- result
843
- end
844
- .,.,
845
-
846
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 224
847
- def _reduce_59( val, _values, result )
848
- result = ModuleDeclarationNode.new( val[1..-1] );
849
- result
850
- end
851
- .,.,
852
-
853
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 225
854
- def _reduce_60( val, _values, result )
855
- result = ModuleDeclarationNode.new( val[1..-1] );
856
- result
857
- end
858
- .,.,
859
-
860
- # reduce 61 omitted
861
-
862
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 230
863
- def _reduce_62( val, _values, result )
864
- result = val.flatten;
865
- result
866
- end
867
- .,.,
868
-
869
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 234
870
- def _reduce_63( val, _values, result )
871
- result = UseBuildSystemNode.new( val[2] );
872
- result
873
- end
874
- .,.,
875
-
876
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 235
877
- def _reduce_64( val, _values, result )
878
- result = UseEnvironmentNode.new( val[2] );
879
- result
880
- end
881
- .,.,
882
-
883
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 236
884
- def _reduce_65( val, _values, result )
885
- result = UseRepositoryNode.new( val[2] );
886
- result
887
- end
888
- .,.,
889
-
890
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 237
891
- def _reduce_66( val, _values, result )
892
- result = UseVcsNode.new( val[2] );
893
- result
894
- end
895
- .,.,
896
-
897
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 238
898
- def _reduce_67( val, _values, result )
899
- result = LongDescriptionNode.new( val[2] );
900
- result
901
- end
902
- .,.,
903
-
904
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 239
905
- def _reduce_68( val, _values, result )
906
- result = ShortDescriptionNode.new( val[1] );
907
- result
908
- end
909
- .,.,
910
-
911
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 240
912
- def _reduce_69( val, _values, result )
913
- result = val[0];
914
- result
915
- end
916
- .,.,
917
-
918
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 241
919
- def _reduce_70( val, _values, result )
920
- result = val[0];
921
- result
922
- end
923
- .,.,
924
-
925
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 242
926
- def _reduce_71( val, _values, result )
927
- result = val[0];
928
- result
929
- end
930
- .,.,
931
-
932
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 243
933
- def _reduce_72( val, _values, result )
934
- result = val[0];
935
- result
936
- end
937
- .,.,
938
-
939
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 244
940
- def _reduce_73( val, _values, result )
941
- result = ModuleInstallPrefixNode.new( val[1] );
942
- result
943
- end
944
- .,.,
945
-
946
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 245
947
- def _reduce_74( val, _values, result )
948
- result = ModuleBuildPrefixNode.new( val[1] );
949
- result
950
- end
951
- .,.,
952
-
953
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 246
954
- def _reduce_75( val, _values, result )
955
- result = ModuleRemotePathNode.new( val[1] );
956
- result
957
- end
958
- .,.,
959
-
960
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 247
961
- def _reduce_76( val, _values, result )
962
- result = ModuleLocalPathNode.new( val[1] );
963
- result
964
- end
965
- .,.,
966
-
967
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 248
968
- def _reduce_77( val, _values, result )
969
- result = ModuleTemplateNode.new();
970
- result
971
- end
972
- .,.,
973
-
974
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 249
975
- def _reduce_78( val, _values, result )
976
- result = ApplyPatchesNode.new(val[2]);
977
- result
978
- end
979
- .,.,
980
-
981
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 256
982
- def _reduce_79( val, _values, result )
983
- result = RepositoryDeclarationNode.new( val[1..-1] );
984
- result
985
- end
986
- .,.,
987
-
988
- # reduce 80 omitted
989
-
990
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 261
991
- def _reduce_81( val, _values, result )
992
- result = val.flatten();
993
- result
994
- end
995
- .,.,
996
-
997
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 265
998
- def _reduce_82( val, _values, result )
999
- result = RepositoryPathNode.new( val[1] );
1000
- result
1001
- end
1002
- .,.,
1003
-
1004
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 266
1005
- def _reduce_83( val, _values, result )
1006
- result = RepositoryUserNode.new( val[1] );
1007
- result
1008
- end
1009
- .,.,
1010
-
1011
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 267
1012
- def _reduce_84( val, _values, result )
1013
- result = UseSshKeyNode.new( val[2] );
1014
- result
1015
- end
1016
- .,.,
1017
-
1018
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 268
1019
- def _reduce_85( val, _values, result )
1020
- result = UseServerNode.new( val[2] );
1021
- result
1022
- end
1023
- .,.,
1024
-
1025
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 269
1026
- def _reduce_86( val, _values, result )
1027
- result = val[0];
1028
- result
1029
- end
1030
- .,.,
1031
-
1032
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 270
1033
- def _reduce_87( val, _values, result )
1034
- result = val[0];
1035
- result
1036
- end
1037
- .,.,
1038
-
1039
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 277
1040
- def _reduce_88( val, _values, result )
1041
- result = ServerDeclarationNode.new( [ val[1], ServerStatementList.new( val[2] ) ] );
1042
- result
1043
- end
1044
- .,.,
1045
-
1046
- # reduce 89 omitted
1047
-
1048
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 282
1049
- def _reduce_90( val, _values, result )
1050
- result = val.flatten;
1051
- result
1052
- end
1053
- .,.,
1054
-
1055
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 286
1056
- def _reduce_91( val, _values, result )
1057
- result = ServerHostNode.new( val[1] );
1058
- result
1059
- end
1060
- .,.,
1061
-
1062
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 287
1063
- def _reduce_92( val, _values, result )
1064
- result = ServerProtocolNode.new( val[1] );
1065
- result
1066
- end
1067
- .,.,
1068
-
1069
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 288
1070
- def _reduce_93( val, _values, result )
1071
- result = ServerPathNode.new( val[1] );
1072
- result
1073
- end
1074
- .,.,
1075
-
1076
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 289
1077
- def _reduce_94( val, _values, result )
1078
- result = UseSshKeyNode.new( val[2] );
1079
- result
1080
- end
1081
- .,.,
1082
-
1083
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 290
1084
- def _reduce_95( val, _values, result )
1085
- result = val[0];
1086
- result
1087
- end
1088
- .,.,
1089
-
1090
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 297
1091
- def _reduce_96( val, _values, result )
1092
- result = SshKeyDeclarationNode.new( val[1..-1] );
1093
- result
1094
- end
1095
- .,.,
1096
-
1097
- # reduce 97 omitted
1098
-
1099
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 302
1100
- def _reduce_98( val, _values, result )
1101
- result = val.flatten;
1102
- result
1103
- end
1104
- .,.,
1105
-
1106
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 306
1107
- def _reduce_99( val, _values, result )
1108
- result = SshKeyFileNode.new( val[1] );
1109
- result
1110
- end
1111
- .,.,
1112
-
1113
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 313
1114
- def _reduce_100( val, _values, result )
1115
- result = SvnDeclarationNode.new( val[2] );
1116
- result
1117
- end
1118
- .,.,
1119
-
1120
- # reduce 101 omitted
1121
-
1122
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 318
1123
- def _reduce_102( val, _values, result )
1124
- result = val.flatten;
1125
- result
1126
- end
1127
- .,.,
1128
-
1129
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 322
1130
- def _reduce_103( val, _values, result )
1131
- result = SvnCheckoutOnlyNode.new(val[1]);
1132
- result
1133
- end
1134
- .,.,
1135
-
1136
- # reduce 104 omitted
1137
-
1138
- module_eval <<'.,.,', 'lib/build-tool/cfg/parser.y', 330
1139
- def _reduce_105( val, _values, result )
1140
- result = val[0] ? val[0] + "\n" + val[1] : val[1];
1141
- result
1142
- end
1143
- .,.,
1144
-
1145
- def _reduce_none( val, _values, result )
1146
- result
1147
- end
1148
-
1149
- end # class Parser
1150
-
1151
- end # module Cfg
1152
-
1153
- end # module BuildTool
1154
-
1155
- #
1156
- ### FOOTER
1157
- #
1158
-
1159
-