rdtool 0.6.34 → 0.6.35
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +3 -0
- data/README.html +22 -47
- data/README.ja.html +22 -39
- data/README.rd +21 -20
- data/README.rd.ja +21 -16
- data/doc/rd-draft.html +1 -1
- data/doc/rd-draft.ja.html +1 -1
- data/lib/rd/rd2man-lib.rb +40 -39
- data/lib/rd/rdblockparser.tab.rb +505 -494
- data/lib/rd/rdinlineparser.tab.rb +755 -755
- data/lib/rd/version.rb +1 -1
- data/rdtool.gemspec +2 -2
- metadata +17 -7
data/lib/rd/rdblockparser.tab.rb
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by
|
4
|
-
# from
|
3
|
+
# This file is automatically generated by Racc 1.4.8
|
4
|
+
# from Racc grammer file "".
|
5
5
|
#
|
6
6
|
|
7
|
-
require 'racc/parser'
|
8
|
-
|
7
|
+
require 'racc/parser.rb'
|
9
8
|
|
10
9
|
require "rd/rdinlineparser.tab.rb"
|
11
10
|
require "rd/parser-util"
|
12
11
|
|
13
12
|
module RD
|
14
|
-
|
15
13
|
class RDParser < Racc::Parser
|
16
14
|
|
17
|
-
module_eval
|
15
|
+
module_eval(<<'...end rdblockparser.ry/module_eval...', 'rdblockparser.ry', 231)
|
18
16
|
include ParserUtility
|
19
17
|
|
20
18
|
TMPFILE = ["rdtmp", $$, 0]
|
@@ -296,754 +294,767 @@ def format_line_num(*args)
|
|
296
294
|
end
|
297
295
|
private :format_line_num
|
298
296
|
|
299
|
-
|
300
|
-
|
301
|
-
##### racc 1.4.5 generates ###
|
302
|
-
|
303
|
-
racc_reduce_table = [
|
304
|
-
0, 0, :racc_error,
|
305
|
-
1, 15, :_reduce_1,
|
306
|
-
0, 15, :_reduce_2,
|
307
|
-
2, 16, :_reduce_3,
|
308
|
-
1, 16, :_reduce_none,
|
309
|
-
1, 17, :_reduce_5,
|
310
|
-
1, 17, :_reduce_6,
|
311
|
-
1, 17, :_reduce_none,
|
312
|
-
1, 17, :_reduce_8,
|
313
|
-
1, 17, :_reduce_9,
|
314
|
-
1, 17, :_reduce_10,
|
315
|
-
1, 17, :_reduce_11,
|
316
|
-
1, 21, :_reduce_12,
|
317
|
-
1, 22, :_reduce_13,
|
318
|
-
1, 18, :_reduce_14,
|
319
|
-
2, 23, :_reduce_15,
|
320
|
-
1, 23, :_reduce_16,
|
321
|
-
3, 19, :_reduce_17,
|
322
|
-
1, 25, :_reduce_18,
|
323
|
-
2, 24, :_reduce_19,
|
324
|
-
4, 24, :_reduce_20,
|
325
|
-
2, 24, :_reduce_21,
|
326
|
-
1, 24, :_reduce_22,
|
327
|
-
1, 26, :_reduce_none,
|
328
|
-
1, 26, :_reduce_none,
|
329
|
-
1, 26, :_reduce_none,
|
330
|
-
1, 26, :_reduce_none,
|
331
|
-
1, 20, :_reduce_none,
|
332
|
-
3, 20, :_reduce_28,
|
333
|
-
4, 20, :_reduce_29,
|
334
|
-
2, 31, :_reduce_30,
|
335
|
-
1, 31, :_reduce_31,
|
336
|
-
1, 27, :_reduce_32,
|
337
|
-
2, 32, :_reduce_33,
|
338
|
-
1, 32, :_reduce_34,
|
339
|
-
3, 33, :_reduce_35,
|
340
|
-
1, 28, :_reduce_36,
|
341
|
-
2, 36, :_reduce_37,
|
342
|
-
1, 36, :_reduce_38,
|
343
|
-
3, 37, :_reduce_39,
|
344
|
-
1, 29, :_reduce_40,
|
345
|
-
2, 39, :_reduce_41,
|
346
|
-
1, 39, :_reduce_42,
|
347
|
-
3, 40, :_reduce_43,
|
348
|
-
1, 30, :_reduce_44,
|
349
|
-
2, 42, :_reduce_45,
|
350
|
-
1, 42, :_reduce_46,
|
351
|
-
3, 43, :_reduce_47,
|
352
|
-
3, 41, :_reduce_48,
|
353
|
-
2, 41, :_reduce_49,
|
354
|
-
4, 41, :_reduce_50,
|
355
|
-
1, 41, :_reduce_51,
|
356
|
-
2, 45, :_reduce_52,
|
357
|
-
1, 45, :_reduce_none,
|
358
|
-
1, 46, :_reduce_54,
|
359
|
-
1, 46, :_reduce_55,
|
360
|
-
1, 46, :_reduce_none,
|
361
|
-
1, 46, :_reduce_57,
|
362
|
-
1, 44, :_reduce_none,
|
363
|
-
0, 44, :_reduce_none,
|
364
|
-
2, 47, :_reduce_none,
|
365
|
-
1, 47, :_reduce_none,
|
366
|
-
2, 34, :_reduce_62,
|
367
|
-
1, 34, :_reduce_63,
|
368
|
-
2, 38, :_reduce_64,
|
369
|
-
1, 38, :_reduce_65,
|
370
|
-
2, 35, :_reduce_66,
|
371
|
-
2, 35, :_reduce_67,
|
372
|
-
2, 35, :_reduce_68,
|
373
|
-
1, 35, :_reduce_69,
|
374
|
-
1, 35, :_reduce_none,
|
375
|
-
1, 35, :_reduce_71,
|
376
|
-
0, 35, :_reduce_72 ]
|
377
|
-
|
378
|
-
racc_reduce_n = 73
|
379
|
-
|
380
|
-
racc_shift_n = 89
|
297
|
+
...end rdblockparser.ry/module_eval...
|
298
|
+
##### State transition tables begin ###
|
381
299
|
|
382
300
|
racc_action_table = [
|
383
|
-
|
384
|
-
88,
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
nil,
|
393
|
-
nil,
|
394
|
-
|
395
|
-
nil,
|
396
|
-
|
397
|
-
nil,
|
398
|
-
nil,
|
399
|
-
|
301
|
+
34, 35, 30, 33, 14, 73, 38, 33, 76, 15,
|
302
|
+
88, 34, 35, 30, 33, 40, 34, 35, 30, 33,
|
303
|
+
40, 65, 34, 35, 30, 33, 14, 73, 77, 14,
|
304
|
+
54, 15, 34, 35, 30, 33, 14, 9, 10, 11,
|
305
|
+
12, 15, 34, 35, 30, 33, 14, 73, 81, 54,
|
306
|
+
38, 15, 34, 35, 30, 33, 14, 73, 40, 67,
|
307
|
+
83, 15, 34, 35, 30, 33, 14, 73, 54, 30,
|
308
|
+
35, 15, 34, 35, 30, 33, 34, 47, 36, 14,
|
309
|
+
59, 15, 34, 35, 30, 33, 14, 73, 38, nil,
|
310
|
+
nil, 15, 34, 35, 30, 33, nil, 47, nil, nil,
|
311
|
+
nil, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
312
|
+
nil, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
313
|
+
nil, 15, 34, 35, 30, 33, 14, 9, 10, 11,
|
314
|
+
12, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
315
|
+
nil, 15, 34, 35, 30, 33, 14, 73, 61, 63,
|
316
|
+
nil, 15, nil, 62, 60, 61, 63, 61, 63, 14,
|
317
|
+
62, 87, 62, nil, 79, 34, 35, 30, 33 ]
|
400
318
|
|
401
319
|
racc_action_check = [
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
nil,
|
412
|
-
nil,
|
413
|
-
|
414
|
-
nil,
|
415
|
-
|
416
|
-
nil,
|
417
|
-
nil,
|
418
|
-
|
320
|
+
86, 86, 86, 86, 86, 86, 57, 31, 49, 86,
|
321
|
+
86, 41, 41, 41, 41, 41, 15, 15, 15, 15,
|
322
|
+
15, 41, 45, 45, 45, 45, 45, 45, 51, 34,
|
323
|
+
54, 45, 0, 0, 0, 0, 0, 0, 0, 0,
|
324
|
+
0, 0, 85, 85, 85, 85, 85, 85, 56, 33,
|
325
|
+
58, 85, 79, 79, 79, 79, 79, 79, 62, 44,
|
326
|
+
66, 79, 78, 78, 78, 78, 78, 78, 30, 28,
|
327
|
+
25, 78, 24, 24, 24, 24, 22, 24, 1, 35,
|
328
|
+
36, 24, 75, 75, 75, 75, 75, 75, 13, nil,
|
329
|
+
nil, 75, 27, 27, 27, 27, nil, 27, nil, nil,
|
330
|
+
nil, 27, 74, 74, 74, 74, 74, 74, nil, nil,
|
331
|
+
nil, 74, 68, 68, 68, 68, 68, 68, nil, nil,
|
332
|
+
nil, 68, 2, 2, 2, 2, 2, 2, 2, 2,
|
333
|
+
2, 2, 46, 46, 46, 46, 46, 46, nil, nil,
|
334
|
+
nil, 46, 47, 47, 47, 47, 47, 47, 39, 39,
|
335
|
+
nil, 47, nil, 39, 39, 82, 82, 64, 64, 52,
|
336
|
+
82, 82, 64, nil, 52, 20, 20, 20, 20 ]
|
419
337
|
|
420
338
|
racc_action_pointer = [
|
421
|
-
|
422
|
-
nil, nil,
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
nil, nil, nil,
|
429
|
-
nil, nil,
|
339
|
+
29, 78, 119, nil, nil, nil, nil, nil, nil, nil,
|
340
|
+
nil, nil, nil, 81, nil, 13, nil, nil, nil, nil,
|
341
|
+
162, nil, 73, nil, 69, 66, nil, 89, 64, nil,
|
342
|
+
60, 1, nil, 41, 22, 72, 80, nil, nil, 141,
|
343
|
+
nil, 8, nil, nil, 46, 19, 129, 139, nil, -5,
|
344
|
+
nil, 15, 152, nil, 22, nil, 35, -1, 43, nil,
|
345
|
+
nil, nil, 51, nil, 150, nil, 47, nil, 109, nil,
|
346
|
+
nil, nil, nil, nil, 99, 79, nil, nil, 59, 49,
|
347
|
+
nil, nil, 148, nil, nil, 39, -3, nil, nil ]
|
430
348
|
|
431
349
|
racc_action_default = [
|
432
|
-
-2, -
|
433
|
-
-
|
434
|
-
|
435
|
-
-
|
436
|
-
-
|
437
|
-
-
|
438
|
-
-
|
439
|
-
-
|
440
|
-
-
|
350
|
+
-2, -73, -1, -4, -5, -6, -7, -8, -9, -10,
|
351
|
+
-11, -12, -13, -14, -16, -73, -23, -24, -25, -26,
|
352
|
+
-27, -31, -32, -34, -72, -36, -38, -72, -40, -42,
|
353
|
+
-59, -44, -46, -59, -63, -65, -73, -3, -15, -73,
|
354
|
+
-22, -73, -30, -33, -73, -69, -70, -71, -37, -73,
|
355
|
+
-41, -73, -51, -58, -61, -45, -73, -62, -64, 89,
|
356
|
+
-17, -19, -73, -21, -18, -28, -73, -35, -66, -53,
|
357
|
+
-54, -55, -56, -57, -67, -68, -39, -43, -49, -73,
|
358
|
+
-60, -47, -73, -29, -52, -48, -73, -20, -50 ]
|
441
359
|
|
442
360
|
racc_goto_table = [
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
nil, nil,
|
449
|
-
nil, nil, nil, 83 ]
|
361
|
+
4, 39, 4, 68, 74, 75, 5, 6, 5, 6,
|
362
|
+
51, 42, 44, 56, 3, 49, 37, 57, 58, 41,
|
363
|
+
43, 48, 84, 50, 66, 55, 1, 64, 84, 84,
|
364
|
+
45, 46, 42, 45, 46, 2, 85, 86, 80, 84,
|
365
|
+
84, nil, nil, nil, nil, nil, nil, nil, 82, nil,
|
366
|
+
nil, nil, 78 ]
|
450
367
|
|
451
368
|
racc_goto_check = [
|
452
|
-
10, 4, 31, 31, 31,
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
nil, nil,
|
458
|
-
nil, nil, nil, 10 ]
|
369
|
+
4, 10, 4, 31, 31, 31, 5, 6, 5, 6,
|
370
|
+
27, 12, 21, 27, 3, 21, 3, 9, 9, 17,
|
371
|
+
19, 23, 32, 26, 11, 29, 1, 10, 32, 32,
|
372
|
+
5, 6, 12, 5, 6, 2, 31, 31, 33, 32,
|
373
|
+
32, nil, nil, nil, nil, nil, nil, nil, 10, nil,
|
374
|
+
nil, nil, 4 ]
|
459
375
|
|
460
376
|
racc_goto_pointer = [
|
461
|
-
nil,
|
462
|
-
|
463
|
-
nil,
|
464
|
-
nil, -
|
377
|
+
nil, 26, 35, 14, 0, 6, 7, nil, nil, -17,
|
378
|
+
-14, -17, -9, nil, nil, nil, nil, 4, nil, -2,
|
379
|
+
nil, -12, nil, -4, nil, nil, -5, -20, nil, -6,
|
380
|
+
nil, -42, -46, -16 ]
|
465
381
|
|
466
382
|
racc_goto_default = [
|
467
|
-
nil, nil, nil, nil,
|
468
|
-
nil, nil,
|
469
|
-
|
470
|
-
|
383
|
+
nil, nil, nil, nil, 70, 71, 72, 7, 8, 13,
|
384
|
+
nil, nil, 21, 16, 17, 18, 19, 20, 22, 23,
|
385
|
+
24, nil, 25, 26, 27, 28, 29, nil, 31, 32,
|
386
|
+
52, nil, 69, 53 ]
|
471
387
|
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
:
|
476
|
-
:
|
477
|
-
:
|
478
|
-
:
|
479
|
-
:
|
480
|
-
:
|
481
|
-
:
|
482
|
-
:
|
483
|
-
:
|
484
|
-
:
|
485
|
-
:
|
486
|
-
:
|
388
|
+
racc_reduce_table = [
|
389
|
+
0, 0, :racc_error,
|
390
|
+
1, 15, :_reduce_1,
|
391
|
+
0, 15, :_reduce_2,
|
392
|
+
2, 16, :_reduce_3,
|
393
|
+
1, 16, :_reduce_none,
|
394
|
+
1, 17, :_reduce_5,
|
395
|
+
1, 17, :_reduce_6,
|
396
|
+
1, 17, :_reduce_none,
|
397
|
+
1, 17, :_reduce_8,
|
398
|
+
1, 17, :_reduce_9,
|
399
|
+
1, 17, :_reduce_10,
|
400
|
+
1, 17, :_reduce_11,
|
401
|
+
1, 21, :_reduce_12,
|
402
|
+
1, 22, :_reduce_13,
|
403
|
+
1, 18, :_reduce_14,
|
404
|
+
2, 23, :_reduce_15,
|
405
|
+
1, 23, :_reduce_16,
|
406
|
+
3, 19, :_reduce_17,
|
407
|
+
1, 25, :_reduce_18,
|
408
|
+
2, 24, :_reduce_19,
|
409
|
+
4, 24, :_reduce_20,
|
410
|
+
2, 24, :_reduce_21,
|
411
|
+
1, 24, :_reduce_22,
|
412
|
+
1, 26, :_reduce_none,
|
413
|
+
1, 26, :_reduce_none,
|
414
|
+
1, 26, :_reduce_none,
|
415
|
+
1, 26, :_reduce_none,
|
416
|
+
1, 20, :_reduce_none,
|
417
|
+
3, 20, :_reduce_28,
|
418
|
+
4, 20, :_reduce_29,
|
419
|
+
2, 31, :_reduce_30,
|
420
|
+
1, 31, :_reduce_31,
|
421
|
+
1, 27, :_reduce_32,
|
422
|
+
2, 32, :_reduce_33,
|
423
|
+
1, 32, :_reduce_34,
|
424
|
+
3, 33, :_reduce_35,
|
425
|
+
1, 28, :_reduce_36,
|
426
|
+
2, 36, :_reduce_37,
|
427
|
+
1, 36, :_reduce_38,
|
428
|
+
3, 37, :_reduce_39,
|
429
|
+
1, 29, :_reduce_40,
|
430
|
+
2, 39, :_reduce_41,
|
431
|
+
1, 39, :_reduce_42,
|
432
|
+
3, 40, :_reduce_43,
|
433
|
+
1, 30, :_reduce_44,
|
434
|
+
2, 42, :_reduce_45,
|
435
|
+
1, 42, :_reduce_46,
|
436
|
+
3, 43, :_reduce_47,
|
437
|
+
3, 41, :_reduce_48,
|
438
|
+
2, 41, :_reduce_49,
|
439
|
+
4, 41, :_reduce_50,
|
440
|
+
1, 41, :_reduce_51,
|
441
|
+
2, 45, :_reduce_52,
|
442
|
+
1, 45, :_reduce_none,
|
443
|
+
1, 46, :_reduce_54,
|
444
|
+
1, 46, :_reduce_55,
|
445
|
+
1, 46, :_reduce_none,
|
446
|
+
1, 46, :_reduce_57,
|
447
|
+
1, 44, :_reduce_none,
|
448
|
+
0, 44, :_reduce_none,
|
449
|
+
2, 47, :_reduce_none,
|
450
|
+
1, 47, :_reduce_none,
|
451
|
+
2, 34, :_reduce_62,
|
452
|
+
1, 34, :_reduce_63,
|
453
|
+
2, 38, :_reduce_64,
|
454
|
+
1, 38, :_reduce_65,
|
455
|
+
2, 35, :_reduce_66,
|
456
|
+
2, 35, :_reduce_67,
|
457
|
+
2, 35, :_reduce_68,
|
458
|
+
1, 35, :_reduce_69,
|
459
|
+
1, 35, :_reduce_none,
|
460
|
+
1, 35, :_reduce_71,
|
461
|
+
0, 35, :_reduce_72 ]
|
487
462
|
|
488
|
-
|
463
|
+
racc_reduce_n = 73
|
464
|
+
|
465
|
+
racc_shift_n = 89
|
466
|
+
|
467
|
+
racc_token_table = {
|
468
|
+
false => 0,
|
469
|
+
:error => 1,
|
470
|
+
:DUMMY => 2,
|
471
|
+
:ITEMLISTLINE => 3,
|
472
|
+
:ENUMLISTLINE => 4,
|
473
|
+
:DESCLISTLINE => 5,
|
474
|
+
:METHODLISTLINE => 6,
|
475
|
+
:STRINGLINE => 7,
|
476
|
+
:WHITELINE => 8,
|
477
|
+
:SUBTREE => 9,
|
478
|
+
:HEADLINE => 10,
|
479
|
+
:INCLUDE => 11,
|
480
|
+
:INDENT => 12,
|
481
|
+
:DEDENT => 13 }
|
489
482
|
|
490
483
|
racc_nt_base = 14
|
491
484
|
|
485
|
+
racc_use_result_var = true
|
486
|
+
|
492
487
|
Racc_arg = [
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
488
|
+
racc_action_table,
|
489
|
+
racc_action_check,
|
490
|
+
racc_action_default,
|
491
|
+
racc_action_pointer,
|
492
|
+
racc_goto_table,
|
493
|
+
racc_goto_check,
|
494
|
+
racc_goto_default,
|
495
|
+
racc_goto_pointer,
|
496
|
+
racc_nt_base,
|
497
|
+
racc_reduce_table,
|
498
|
+
racc_token_table,
|
499
|
+
racc_shift_n,
|
500
|
+
racc_reduce_n,
|
501
|
+
racc_use_result_var ]
|
507
502
|
|
508
503
|
Racc_token_to_s_table = [
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
504
|
+
"$end",
|
505
|
+
"error",
|
506
|
+
"DUMMY",
|
507
|
+
"ITEMLISTLINE",
|
508
|
+
"ENUMLISTLINE",
|
509
|
+
"DESCLISTLINE",
|
510
|
+
"METHODLISTLINE",
|
511
|
+
"STRINGLINE",
|
512
|
+
"WHITELINE",
|
513
|
+
"SUBTREE",
|
514
|
+
"HEADLINE",
|
515
|
+
"INCLUDE",
|
516
|
+
"INDENT",
|
517
|
+
"DEDENT",
|
518
|
+
"$start",
|
519
|
+
"document",
|
520
|
+
"blocks",
|
521
|
+
"block",
|
522
|
+
"textblock",
|
523
|
+
"verbatim",
|
524
|
+
"lists",
|
525
|
+
"headline",
|
526
|
+
"include",
|
527
|
+
"textblockcontent",
|
528
|
+
"verbatimcontent",
|
529
|
+
"verbatim_after_lists",
|
530
|
+
"list",
|
531
|
+
"itemlist",
|
532
|
+
"enumlist",
|
533
|
+
"desclist",
|
534
|
+
"methodlist",
|
535
|
+
"lists2",
|
536
|
+
"itemlistitems",
|
537
|
+
"itemlistitem",
|
538
|
+
"first_textblock_in_itemlist",
|
539
|
+
"other_blocks_in_list",
|
540
|
+
"enumlistitems",
|
541
|
+
"enumlistitem",
|
542
|
+
"first_textblock_in_enumlist",
|
543
|
+
"desclistitems",
|
544
|
+
"desclistitem",
|
545
|
+
"description_part",
|
546
|
+
"methodlistitems",
|
547
|
+
"methodlistitem",
|
548
|
+
"whitelines",
|
549
|
+
"blocks_in_list",
|
550
|
+
"block_in_list",
|
551
|
+
"whitelines2" ]
|
557
552
|
|
558
553
|
Racc_debug_parser = false
|
559
554
|
|
560
|
-
#####
|
555
|
+
##### State transition tables end #####
|
561
556
|
|
562
|
-
|
557
|
+
# reduce 0 omitted
|
563
558
|
|
564
|
-
module_eval
|
565
|
-
def _reduce_1(
|
566
|
-
|
559
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 12)
|
560
|
+
def _reduce_1(val, _values, result)
|
561
|
+
result = DocumentElement.new
|
567
562
|
add_children_to_element(result, *val[0])
|
568
|
-
|
563
|
+
|
564
|
+
result
|
569
565
|
end
|
570
566
|
.,.,
|
571
567
|
|
572
|
-
module_eval
|
573
|
-
def _reduce_2(
|
574
|
-
|
568
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 16)
|
569
|
+
def _reduce_2(val, _values, result)
|
570
|
+
raise ParseError,
|
575
571
|
"Error: file empty."
|
576
|
-
|
572
|
+
|
573
|
+
result
|
577
574
|
end
|
578
575
|
.,.,
|
579
576
|
|
580
|
-
module_eval
|
581
|
-
def _reduce_3(
|
582
|
-
|
583
|
-
|
577
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 20)
|
578
|
+
def _reduce_3(val, _values, result)
|
579
|
+
result.concat(val[1])
|
580
|
+
result
|
584
581
|
end
|
585
582
|
.,.,
|
586
583
|
|
587
|
-
|
584
|
+
# reduce 4 omitted
|
588
585
|
|
589
|
-
module_eval
|
590
|
-
def _reduce_5(
|
591
|
-
|
592
|
-
|
586
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 23)
|
587
|
+
def _reduce_5(val, _values, result)
|
588
|
+
result = val
|
589
|
+
result
|
593
590
|
end
|
594
591
|
.,.,
|
595
592
|
|
596
|
-
module_eval
|
597
|
-
def _reduce_6(
|
598
|
-
|
599
|
-
|
593
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 24)
|
594
|
+
def _reduce_6(val, _values, result)
|
595
|
+
result = val
|
596
|
+
result
|
600
597
|
end
|
601
598
|
.,.,
|
602
599
|
|
603
|
-
|
600
|
+
# reduce 7 omitted
|
604
601
|
|
605
|
-
module_eval
|
606
|
-
def _reduce_8(
|
607
|
-
|
608
|
-
|
602
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 26)
|
603
|
+
def _reduce_8(val, _values, result)
|
604
|
+
result = val
|
605
|
+
result
|
609
606
|
end
|
610
607
|
.,.,
|
611
608
|
|
612
|
-
module_eval
|
613
|
-
def _reduce_9(
|
614
|
-
|
615
|
-
|
609
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 27)
|
610
|
+
def _reduce_9(val, _values, result)
|
611
|
+
result = val
|
612
|
+
result
|
616
613
|
end
|
617
614
|
.,.,
|
618
615
|
|
619
|
-
module_eval
|
620
|
-
def _reduce_10(
|
621
|
-
|
622
|
-
|
616
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 28)
|
617
|
+
def _reduce_10(val, _values, result)
|
618
|
+
result = []
|
619
|
+
result
|
623
620
|
end
|
624
621
|
.,.,
|
625
622
|
|
626
|
-
module_eval
|
627
|
-
def _reduce_11(
|
628
|
-
|
629
|
-
|
623
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 29)
|
624
|
+
def _reduce_11(val, _values, result)
|
625
|
+
result = val[0].blocks
|
626
|
+
result
|
630
627
|
end
|
631
628
|
.,.,
|
632
629
|
|
633
|
-
module_eval
|
634
|
-
def _reduce_12(
|
635
|
-
|
630
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 32)
|
631
|
+
def _reduce_12(val, _values, result)
|
632
|
+
# val[0] is like [level, title]
|
636
633
|
title = @inline_parser.parse(val[0][1])
|
637
634
|
result = Headline.new(val[0][0])
|
638
635
|
add_children_to_element(result, *title)
|
639
|
-
|
636
|
+
|
637
|
+
result
|
640
638
|
end
|
641
639
|
.,.,
|
642
640
|
|
643
|
-
module_eval
|
644
|
-
def _reduce_13(
|
645
|
-
|
646
|
-
|
641
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 38)
|
642
|
+
def _reduce_13(val, _values, result)
|
643
|
+
result = Include.new(val[0])
|
644
|
+
result
|
647
645
|
end
|
648
646
|
.,.,
|
649
647
|
|
650
|
-
module_eval
|
651
|
-
def _reduce_14(
|
652
|
-
|
648
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 42)
|
649
|
+
def _reduce_14(val, _values, result)
|
650
|
+
# val[0] is Array of String
|
653
651
|
content = cut_off(val[0]).join("")
|
654
652
|
contents = @inline_parser.parse(content)
|
655
653
|
result = TextBlock.new()
|
656
654
|
add_children_to_element(result, *contents)
|
657
|
-
|
655
|
+
|
656
|
+
result
|
658
657
|
end
|
659
658
|
.,.,
|
660
659
|
|
661
|
-
module_eval
|
662
|
-
def _reduce_15(
|
663
|
-
|
664
|
-
|
660
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 50)
|
661
|
+
def _reduce_15(val, _values, result)
|
662
|
+
result.push(val[1])
|
663
|
+
result
|
665
664
|
end
|
666
665
|
.,.,
|
667
666
|
|
668
|
-
module_eval
|
669
|
-
def _reduce_16(
|
670
|
-
|
671
|
-
|
667
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 51)
|
668
|
+
def _reduce_16(val, _values, result)
|
669
|
+
result = val
|
670
|
+
result
|
672
671
|
end
|
673
672
|
.,.,
|
674
673
|
|
675
|
-
module_eval
|
676
|
-
def _reduce_17(
|
677
|
-
|
674
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 55)
|
675
|
+
def _reduce_17(val, _values, result)
|
676
|
+
# val[1] is Array of String
|
678
677
|
content = cut_off(val[1])
|
679
678
|
result = Verbatim.new(content)
|
680
679
|
# imform to lexer.
|
681
|
-
@in_verbatim = false
|
682
|
-
|
680
|
+
@in_verbatim = false
|
681
|
+
result
|
683
682
|
end
|
684
683
|
.,.,
|
685
684
|
|
686
|
-
module_eval
|
687
|
-
def _reduce_18(
|
688
|
-
|
685
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 62)
|
686
|
+
def _reduce_18(val, _values, result)
|
687
|
+
# val[0] is Array of String
|
689
688
|
content = cut_off(val[0])
|
690
689
|
result = Verbatim.new(content)
|
691
690
|
# imform to lexer.
|
692
|
-
@in_verbatim = false
|
693
|
-
|
691
|
+
@in_verbatim = false
|
692
|
+
result
|
694
693
|
end
|
695
694
|
.,.,
|
696
695
|
|
697
|
-
module_eval
|
698
|
-
def _reduce_19(
|
699
|
-
|
700
|
-
|
696
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 69)
|
697
|
+
def _reduce_19(val, _values, result)
|
698
|
+
result.push(val[1])
|
699
|
+
result
|
701
700
|
end
|
702
701
|
.,.,
|
703
702
|
|
704
|
-
module_eval
|
705
|
-
def _reduce_20(
|
706
|
-
|
707
|
-
|
703
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 71)
|
704
|
+
def _reduce_20(val, _values, result)
|
705
|
+
result.concat(val[2])
|
706
|
+
result
|
708
707
|
end
|
709
708
|
.,.,
|
710
709
|
|
711
|
-
module_eval
|
712
|
-
def _reduce_21(
|
713
|
-
|
714
|
-
|
710
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 73)
|
711
|
+
def _reduce_21(val, _values, result)
|
712
|
+
result.push("\n")
|
713
|
+
result
|
715
714
|
end
|
716
715
|
.,.,
|
717
716
|
|
718
|
-
module_eval
|
719
|
-
def _reduce_22(
|
720
|
-
|
717
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 74)
|
718
|
+
def _reduce_22(val, _values, result)
|
719
|
+
result = val
|
721
720
|
# imform to lexer.
|
722
|
-
@in_verbatim = true
|
723
|
-
|
721
|
+
@in_verbatim = true
|
722
|
+
result
|
724
723
|
end
|
725
724
|
.,.,
|
726
725
|
|
727
|
-
|
726
|
+
# reduce 23 omitted
|
728
727
|
|
729
|
-
|
728
|
+
# reduce 24 omitted
|
730
729
|
|
731
|
-
|
730
|
+
# reduce 25 omitted
|
732
731
|
|
733
|
-
|
732
|
+
# reduce 26 omitted
|
734
733
|
|
735
|
-
|
734
|
+
# reduce 27 omitted
|
736
735
|
|
737
|
-
module_eval
|
738
|
-
def _reduce_28(
|
739
|
-
|
740
|
-
|
736
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 85)
|
737
|
+
def _reduce_28(val, _values, result)
|
738
|
+
result = val[1]
|
739
|
+
result
|
741
740
|
end
|
742
741
|
.,.,
|
743
742
|
|
744
|
-
module_eval
|
745
|
-
def _reduce_29(
|
746
|
-
|
747
|
-
|
743
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 87)
|
744
|
+
def _reduce_29(val, _values, result)
|
745
|
+
result = val[1].push(val[2])
|
746
|
+
result
|
748
747
|
end
|
749
748
|
.,.,
|
750
749
|
|
751
|
-
module_eval
|
752
|
-
def _reduce_30(
|
753
|
-
|
754
|
-
|
750
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 90)
|
751
|
+
def _reduce_30(val, _values, result)
|
752
|
+
result.push(val[1])
|
753
|
+
result
|
755
754
|
end
|
756
755
|
.,.,
|
757
756
|
|
758
|
-
module_eval
|
759
|
-
def _reduce_31(
|
760
|
-
|
761
|
-
|
757
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 91)
|
758
|
+
def _reduce_31(val, _values, result)
|
759
|
+
result = val
|
760
|
+
result
|
762
761
|
end
|
763
762
|
.,.,
|
764
763
|
|
765
|
-
module_eval
|
766
|
-
def _reduce_32(
|
767
|
-
|
764
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 95)
|
765
|
+
def _reduce_32(val, _values, result)
|
766
|
+
result = ItemList.new
|
768
767
|
add_children_to_element(result, *val[0])
|
769
|
-
|
768
|
+
|
769
|
+
result
|
770
770
|
end
|
771
771
|
.,.,
|
772
772
|
|
773
|
-
module_eval
|
774
|
-
def _reduce_33(
|
775
|
-
|
776
|
-
|
773
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 100)
|
774
|
+
def _reduce_33(val, _values, result)
|
775
|
+
result.push(val[1])
|
776
|
+
result
|
777
777
|
end
|
778
778
|
.,.,
|
779
779
|
|
780
|
-
module_eval
|
781
|
-
def _reduce_34(
|
782
|
-
|
783
|
-
|
780
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 101)
|
781
|
+
def _reduce_34(val, _values, result)
|
782
|
+
result = val
|
783
|
+
result
|
784
784
|
end
|
785
785
|
.,.,
|
786
786
|
|
787
|
-
module_eval
|
788
|
-
def _reduce_35(
|
789
|
-
|
787
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 105)
|
788
|
+
def _reduce_35(val, _values, result)
|
789
|
+
result = ItemListItem.new
|
790
790
|
add_children_to_element(result, val[0], *val[1])
|
791
|
-
|
791
|
+
|
792
|
+
result
|
792
793
|
end
|
793
794
|
.,.,
|
794
795
|
|
795
|
-
module_eval
|
796
|
-
def _reduce_36(
|
797
|
-
|
796
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 111)
|
797
|
+
def _reduce_36(val, _values, result)
|
798
|
+
result = EnumList.new
|
798
799
|
add_children_to_element(result, *val[0])
|
799
|
-
|
800
|
+
|
801
|
+
result
|
800
802
|
end
|
801
803
|
.,.,
|
802
804
|
|
803
|
-
module_eval
|
804
|
-
def _reduce_37(
|
805
|
-
|
806
|
-
|
805
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 116)
|
806
|
+
def _reduce_37(val, _values, result)
|
807
|
+
result.push(val[1])
|
808
|
+
result
|
807
809
|
end
|
808
810
|
.,.,
|
809
811
|
|
810
|
-
module_eval
|
811
|
-
def _reduce_38(
|
812
|
-
|
813
|
-
|
812
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 117)
|
813
|
+
def _reduce_38(val, _values, result)
|
814
|
+
result = val
|
815
|
+
result
|
814
816
|
end
|
815
817
|
.,.,
|
816
818
|
|
817
|
-
module_eval
|
818
|
-
def _reduce_39(
|
819
|
-
|
819
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 121)
|
820
|
+
def _reduce_39(val, _values, result)
|
821
|
+
result = EnumListItem.new
|
820
822
|
add_children_to_element(result, val[0], *val[1])
|
821
|
-
|
823
|
+
|
824
|
+
result
|
822
825
|
end
|
823
826
|
.,.,
|
824
827
|
|
825
|
-
module_eval
|
826
|
-
def _reduce_40(
|
827
|
-
|
828
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 127)
|
829
|
+
def _reduce_40(val, _values, result)
|
830
|
+
result = DescList.new
|
828
831
|
add_children_to_element(result, *val[0])
|
829
|
-
|
832
|
+
|
833
|
+
result
|
830
834
|
end
|
831
835
|
.,.,
|
832
836
|
|
833
|
-
module_eval
|
834
|
-
def _reduce_41(
|
835
|
-
|
836
|
-
|
837
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 132)
|
838
|
+
def _reduce_41(val, _values, result)
|
839
|
+
result.push(val[1])
|
840
|
+
result
|
837
841
|
end
|
838
842
|
.,.,
|
839
843
|
|
840
|
-
module_eval
|
841
|
-
def _reduce_42(
|
842
|
-
|
843
|
-
|
844
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 133)
|
845
|
+
def _reduce_42(val, _values, result)
|
846
|
+
result = val
|
847
|
+
result
|
844
848
|
end
|
845
849
|
.,.,
|
846
850
|
|
847
|
-
module_eval
|
848
|
-
def _reduce_43(
|
849
|
-
|
851
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 137)
|
852
|
+
def _reduce_43(val, _values, result)
|
853
|
+
term = DescListItem::Term.new
|
850
854
|
term_contents = @inline_parser.parse(val[0].strip)
|
851
855
|
add_children_to_element(term, *term_contents)
|
852
856
|
|
853
857
|
result = DescListItem.new
|
854
858
|
set_term_to_element(result, term)
|
855
859
|
add_children_to_element(result, *val[1])
|
856
|
-
|
860
|
+
|
861
|
+
result
|
857
862
|
end
|
858
863
|
.,.,
|
859
864
|
|
860
|
-
module_eval
|
861
|
-
def _reduce_44(
|
862
|
-
|
865
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 148)
|
866
|
+
def _reduce_44(val, _values, result)
|
867
|
+
result = MethodList.new
|
863
868
|
add_children_to_element(result, *val[0])
|
864
|
-
|
869
|
+
|
870
|
+
result
|
865
871
|
end
|
866
872
|
.,.,
|
867
873
|
|
868
|
-
module_eval
|
869
|
-
def _reduce_45(
|
870
|
-
|
871
|
-
|
874
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 153)
|
875
|
+
def _reduce_45(val, _values, result)
|
876
|
+
result.push(val[1])
|
877
|
+
result
|
872
878
|
end
|
873
879
|
.,.,
|
874
880
|
|
875
|
-
module_eval
|
876
|
-
def _reduce_46(
|
877
|
-
|
878
|
-
|
881
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 154)
|
882
|
+
def _reduce_46(val, _values, result)
|
883
|
+
result = val
|
884
|
+
result
|
879
885
|
end
|
880
886
|
.,.,
|
881
887
|
|
882
|
-
module_eval
|
883
|
-
def _reduce_47(
|
884
|
-
|
888
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 158)
|
889
|
+
def _reduce_47(val, _values, result)
|
890
|
+
term = MethodListItem::Term.new(val[0].strip)
|
885
891
|
result = MethodListItem.new
|
886
892
|
set_term_to_element(result, term)
|
887
893
|
add_children_to_element(result, *val[1])
|
888
|
-
|
894
|
+
|
895
|
+
result
|
889
896
|
end
|
890
897
|
.,.,
|
891
898
|
|
892
|
-
module_eval
|
893
|
-
def _reduce_48(
|
894
|
-
|
895
|
-
|
899
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 166)
|
900
|
+
def _reduce_48(val, _values, result)
|
901
|
+
result = [val[1]].concat(val[2])
|
902
|
+
result
|
896
903
|
end
|
897
904
|
.,.,
|
898
905
|
|
899
|
-
module_eval
|
900
|
-
def _reduce_49(
|
901
|
-
|
902
|
-
|
906
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 167)
|
907
|
+
def _reduce_49(val, _values, result)
|
908
|
+
result = [val[1]]
|
909
|
+
result
|
903
910
|
end
|
904
911
|
.,.,
|
905
912
|
|
906
|
-
module_eval
|
907
|
-
def _reduce_50(
|
908
|
-
|
909
|
-
|
913
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 169)
|
914
|
+
def _reduce_50(val, _values, result)
|
915
|
+
result = val[2]
|
916
|
+
result
|
910
917
|
end
|
911
918
|
.,.,
|
912
919
|
|
913
|
-
module_eval
|
914
|
-
def _reduce_51(
|
915
|
-
|
916
|
-
|
920
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 170)
|
921
|
+
def _reduce_51(val, _values, result)
|
922
|
+
result = []
|
923
|
+
result
|
917
924
|
end
|
918
925
|
.,.,
|
919
926
|
|
920
|
-
module_eval
|
921
|
-
def _reduce_52(
|
922
|
-
|
923
|
-
|
927
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 173)
|
928
|
+
def _reduce_52(val, _values, result)
|
929
|
+
result.concat(val[1])
|
930
|
+
result
|
924
931
|
end
|
925
932
|
.,.,
|
926
933
|
|
927
|
-
|
934
|
+
# reduce 53 omitted
|
928
935
|
|
929
|
-
module_eval
|
930
|
-
def _reduce_54(
|
931
|
-
|
932
|
-
|
936
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 176)
|
937
|
+
def _reduce_54(val, _values, result)
|
938
|
+
result = val
|
939
|
+
result
|
933
940
|
end
|
934
941
|
.,.,
|
935
942
|
|
936
|
-
module_eval
|
937
|
-
def _reduce_55(
|
938
|
-
|
939
|
-
|
943
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 177)
|
944
|
+
def _reduce_55(val, _values, result)
|
945
|
+
result = val
|
946
|
+
result
|
940
947
|
end
|
941
948
|
.,.,
|
942
949
|
|
943
|
-
|
950
|
+
# reduce 56 omitted
|
944
951
|
|
945
|
-
module_eval
|
946
|
-
def _reduce_57(
|
947
|
-
|
948
|
-
|
952
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 179)
|
953
|
+
def _reduce_57(val, _values, result)
|
954
|
+
result = []
|
955
|
+
result
|
949
956
|
end
|
950
957
|
.,.,
|
951
958
|
|
952
|
-
|
959
|
+
# reduce 58 omitted
|
953
960
|
|
954
|
-
|
961
|
+
# reduce 59 omitted
|
955
962
|
|
956
|
-
|
963
|
+
# reduce 60 omitted
|
957
964
|
|
958
|
-
|
965
|
+
# reduce 61 omitted
|
959
966
|
|
960
|
-
module_eval
|
961
|
-
def _reduce_62(
|
962
|
-
|
967
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 190)
|
968
|
+
def _reduce_62(val, _values, result)
|
969
|
+
content = cut_off([val[0]].concat(val[1])).join("")
|
963
970
|
contents = @inline_parser.parse(content)
|
964
971
|
result = TextBlock.new()
|
965
972
|
add_children_to_element(result, *contents)
|
966
|
-
|
973
|
+
|
974
|
+
result
|
967
975
|
end
|
968
976
|
.,.,
|
969
977
|
|
970
|
-
module_eval
|
971
|
-
def _reduce_63(
|
972
|
-
|
978
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 197)
|
979
|
+
def _reduce_63(val, _values, result)
|
980
|
+
content = cut_off([val[0]]).join("")
|
973
981
|
contents = @inline_parser.parse(content)
|
974
982
|
result = TextBlock.new()
|
975
983
|
add_children_to_element(result, *contents)
|
976
|
-
|
984
|
+
|
985
|
+
result
|
977
986
|
end
|
978
987
|
.,.,
|
979
988
|
|
980
|
-
module_eval
|
981
|
-
def _reduce_64(
|
982
|
-
|
989
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 205)
|
990
|
+
def _reduce_64(val, _values, result)
|
991
|
+
content = cut_off([val[0]].concat(val[1])).join("")
|
983
992
|
contents = @inline_parser.parse(content)
|
984
993
|
result = TextBlock.new()
|
985
994
|
add_children_to_element(result, *contents)
|
986
|
-
|
995
|
+
|
996
|
+
result
|
987
997
|
end
|
988
998
|
.,.,
|
989
999
|
|
990
|
-
module_eval
|
991
|
-
def _reduce_65(
|
992
|
-
|
1000
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 212)
|
1001
|
+
def _reduce_65(val, _values, result)
|
1002
|
+
content = cut_off([val[0]]).join("")
|
993
1003
|
contents = @inline_parser.parse(content)
|
994
1004
|
result = TextBlock.new()
|
995
1005
|
add_children_to_element(result, *contents)
|
996
|
-
|
1006
|
+
|
1007
|
+
result
|
997
1008
|
end
|
998
1009
|
.,.,
|
999
1010
|
|
1000
|
-
module_eval
|
1001
|
-
def _reduce_66(
|
1002
|
-
|
1003
|
-
|
1011
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 219)
|
1012
|
+
def _reduce_66(val, _values, result)
|
1013
|
+
result = [val[0]].concat(val[1])
|
1014
|
+
result
|
1004
1015
|
end
|
1005
1016
|
.,.,
|
1006
1017
|
|
1007
|
-
module_eval
|
1008
|
-
def _reduce_67(
|
1009
|
-
|
1010
|
-
|
1018
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 220)
|
1019
|
+
def _reduce_67(val, _values, result)
|
1020
|
+
result.concat(val[1])
|
1021
|
+
result
|
1011
1022
|
end
|
1012
1023
|
.,.,
|
1013
1024
|
|
1014
|
-
module_eval
|
1015
|
-
def _reduce_68(
|
1016
|
-
|
1017
|
-
|
1025
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 221)
|
1026
|
+
def _reduce_68(val, _values, result)
|
1027
|
+
result = val[1]
|
1028
|
+
result
|
1018
1029
|
end
|
1019
1030
|
.,.,
|
1020
1031
|
|
1021
|
-
module_eval
|
1022
|
-
def _reduce_69(
|
1023
|
-
|
1024
|
-
|
1032
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 222)
|
1033
|
+
def _reduce_69(val, _values, result)
|
1034
|
+
result = val
|
1035
|
+
result
|
1025
1036
|
end
|
1026
1037
|
.,.,
|
1027
1038
|
|
1028
|
-
|
1039
|
+
# reduce 70 omitted
|
1029
1040
|
|
1030
|
-
module_eval
|
1031
|
-
def _reduce_71(
|
1032
|
-
|
1033
|
-
|
1041
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 224)
|
1042
|
+
def _reduce_71(val, _values, result)
|
1043
|
+
result = []
|
1044
|
+
result
|
1034
1045
|
end
|
1035
1046
|
.,.,
|
1036
1047
|
|
1037
|
-
module_eval
|
1038
|
-
def _reduce_72(
|
1039
|
-
|
1040
|
-
|
1048
|
+
module_eval(<<'.,.,', 'rdblockparser.ry', 225)
|
1049
|
+
def _reduce_72(val, _values, result)
|
1050
|
+
result = []
|
1051
|
+
result
|
1041
1052
|
end
|
1042
1053
|
.,.,
|
1043
1054
|
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1055
|
+
def _reduce_none(val, _values, result)
|
1056
|
+
val[0]
|
1057
|
+
end
|
1047
1058
|
|
1048
1059
|
end # class RDParser
|
1049
1060
|
|