Class: Parser::MacRuby

Inherits:
Base
  • Object
show all
Defined in:
lib/parser/macruby.rb

Constant Summary collapse

Racc_arg =
[
racc_action_table,
racc_action_check,
racc_action_default,
racc_action_pointer,
racc_goto_table,
racc_goto_check,
racc_goto_default,
racc_goto_pointer,
racc_nt_base,
racc_reduce_table,
racc_token_table,
racc_shift_n,
racc_reduce_n,
racc_use_result_var ]
Racc_token_to_s_table =
[
"$end",
"error",
"kCLASS",
"kMODULE",
"kDEF",
"kUNDEF",
"kBEGIN",
"kRESCUE",
"kENSURE",
"kEND",
"kIF",
"kUNLESS",
"kTHEN",
"kELSIF",
"kELSE",
"kCASE",
"kWHEN",
"kWHILE",
"kUNTIL",
"kFOR",
"kBREAK",
"kNEXT",
"kREDO",
"kRETRY",
"kIN",
"kDO",
"kDO_COND",
"kDO_BLOCK",
"kDO_LAMBDA",
"kRETURN",
"kYIELD",
"kSUPER",
"kSELF",
"kNIL",
"kTRUE",
"kFALSE",
"kAND",
"kOR",
"kNOT",
"kIF_MOD",
"kUNLESS_MOD",
"kWHILE_MOD",
"kUNTIL_MOD",
"kRESCUE_MOD",
"kALIAS",
"kDEFINED",
"klBEGIN",
"klEND",
"k__LINE__",
"k__FILE__",
"k__ENCODING__",
"tIDENTIFIER",
"tFID",
"tGVAR",
"tIVAR",
"tCONSTANT",
"tLABEL",
"tCVAR",
"tNTH_REF",
"tBACK_REF",
"tSTRING_CONTENT",
"tINTEGER",
"tFLOAT",
"tUPLUS",
"tUMINUS",
"tUNARY_NUM",
"tPOW",
"tCMP",
"tEQ",
"tEQQ",
"tNEQ",
"tGEQ",
"tLEQ",
"tANDOP",
"tOROP",
"tMATCH",
"tNMATCH",
"tDOT",
"tDOT2",
"tDOT3",
"tAREF",
"tASET",
"tLSHFT",
"tRSHFT",
"tCOLON2",
"tCOLON3",
"tOP_ASGN",
"tASSOC",
"tLPAREN",
"tLPAREN2",
"tRPAREN",
"tLPAREN_ARG",
"tLBRACK",
"tLBRACK2",
"tRBRACK",
"tLBRACE",
"tLBRACE_ARG",
"tSTAR",
"tSTAR2",
"tAMPER",
"tAMPER2",
"tTILDE",
"tPERCENT",
"tDIVIDE",
"tPLUS",
"tMINUS",
"tLT",
"tGT",
"tPIPE",
"tBANG",
"tCARET",
"tLCURLY",
"tRCURLY",
"tBACK_REF2",
"tSYMBEG",
"tSTRING_BEG",
"tXSTRING_BEG",
"tREGEXP_BEG",
"tREGEXP_OPT",
"tWORDS_BEG",
"tQWORDS_BEG",
"tSTRING_DBEG",
"tSTRING_DVAR",
"tSTRING_END",
"tSTRING",
"tSYMBOL",
"tNL",
"tEH",
"tCOLON",
"tCOMMA",
"tSPACE",
"tSEMI",
"tLAMBDA",
"tLAMBEG",
"tCHARACTER",
"tEQL",
"tLOWEST",
"$start",
"program",
"top_compstmt",
"top_stmts",
"opt_terms",
"top_stmt",
"terms",
"stmt",
"bodystmt",
"compstmt",
"opt_rescue",
"opt_else",
"opt_ensure",
"stmts",
"fitem",
"undef_list",
"expr_value",
"lhs",
"command_call",
"mlhs",
"var_lhs",
"primary_value",
"opt_call_args",
"rbracket",
"backref",
"mrhs",
"arg_value",
"expr",
"@1",
"opt_nl",
"arg",
"command",
"block_command",
"block_call",
"operation2",
"command_args",
"cmd_brace_block",
"opt_block_param",
"@2",
"operation",
"call_args",
"mlhs_basic",
"mlhs_inner",
"rparen",
"mlhs_head",
"mlhs_item",
"mlhs_node",
"mlhs_post",
"variable",
"cname",
"cpath",
"fname",
"op",
"reswords",
"fsym",
"symbol",
"dsym",
"@3",
"primary",
"aref_args",
"none",
"args",
"trailer",
"assocs",
"paren_args",
"opt_paren_args",
"opt_block_arg",
"block_arg",
"call_args2",
"open_args",
"@4",
"@5",
"@6",
"literal",
"strings",
"xstring",
"regexp",
"words",
"qwords",
"var_ref",
"assoc_list",
"brace_block",
"method_call",
"lambda",
"then",
"if_tail",
"do",
"case_body",
"for_var",
"k_class",
"superclass",
"term",
"k_module",
"f_arglist",
"singleton",
"dot_or_colon",
"@7",
"@8",
"@9",
"@10",
"@11",
"@12",
"@13",
"@14",
"@15",
"@16",
"@17",
"@18",
"@19",
"@20",
"f_marg",
"f_norm_arg",
"f_margs",
"f_marg_list",
"block_param",
"f_arg",
"f_block_optarg",
"f_rest_arg",
"opt_f_block_arg",
"f_block_arg",
"block_param_def",
"opt_bv_decl",
"bv_decls",
"bvar",
"f_bad_arg",
"f_larglist",
"lambda_body",
"@21",
"f_args",
"do_block",
"@22",
"@23",
"@24",
"operation3",
"@25",
"@26",
"cases",
"exc_list",
"exc_var",
"numeric",
"string",
"string1",
"string_contents",
"xstring_contents",
"regexp_contents",
"word_list",
"word",
"string_content",
"qword_list",
"string_dvar",
"@27",
"f_optarg",
"f_arg_item",
"f_opt",
"f_block_opt",
"restarg_mark",
"blkarg_mark",
"assoc" ]
Racc_debug_parser =
false

Instance Attribute Summary

Attributes inherited from Base

#builder, #context, #current_arg_stack, #diagnostics, #lexer, #max_numparam_stack, #pattern_hash_keys, #pattern_variables, #source_buffer, #static_env

Instance Method Summary collapse

Methods inherited from Base

default_parser, #initialize, parse, #parse, parse_file, parse_file_with_comments, parse_with_comments, #parse_with_comments, #reset, #tokenize

Constructor Details

This class inherits a constructor from Parser::Base

Instance Method Details

#_reduce_10(val, _values, result) ⇒ Object



6622
6623
6624
6625
6626
# File 'lib/parser/macruby.rb', line 6622

def _reduce_10(val, _values, result)
                      result = @builder.compstmt(val[0])

    result
end

#_reduce_100(val, _values, result) ⇒ Object



7193
7194
7195
7196
7197
# File 'lib/parser/macruby.rb', line 7193

def _reduce_100(val, _values, result)
                      result = @builder.assignable(val[0])

    result
end

#_reduce_101(val, _values, result) ⇒ Object



7199
7200
7201
7202
7203
# File 'lib/parser/macruby.rb', line 7199

def _reduce_101(val, _values, result)
                      diagnostic :error, :module_name_const, nil, val[0]

    result
end

#_reduce_103(val, _values, result) ⇒ Object

reduce 102 omitted



7207
7208
7209
7210
7211
# File 'lib/parser/macruby.rb', line 7207

def _reduce_103(val, _values, result)
                      result = @builder.const_global(val[0], val[1])

    result
end

#_reduce_104(val, _values, result) ⇒ Object



7213
7214
7215
7216
7217
# File 'lib/parser/macruby.rb', line 7213

def _reduce_104(val, _values, result)
                      result = @builder.const(val[0])

    result
end

#_reduce_105(val, _values, result) ⇒ Object



7219
7220
7221
7222
7223
# File 'lib/parser/macruby.rb', line 7219

def _reduce_105(val, _values, result)
                      result = @builder.const_fetch(val[0], val[1], val[2])

    result
end

#_reduce_11(val, _values, result) ⇒ Object



6628
6629
6630
6631
6632
# File 'lib/parser/macruby.rb', line 6628

def _reduce_11(val, _values, result)
                      result = []

    result
end

#_reduce_111(val, _values, result) ⇒ Object

reduce 110 omitted



7235
7236
7237
7238
7239
# File 'lib/parser/macruby.rb', line 7235

def _reduce_111(val, _values, result)
                      result = @builder.symbol_internal(val[0])

    result
end

#_reduce_115(val, _values, result) ⇒ Object

reduce 114 omitted



7247
7248
7249
7250
7251
# File 'lib/parser/macruby.rb', line 7247

def _reduce_115(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_116(val, _values, result) ⇒ Object



7253
7254
7255
7256
7257
# File 'lib/parser/macruby.rb', line 7253

def _reduce_116(val, _values, result)
                      @lexer.state = :expr_fname

    result
end

#_reduce_117(val, _values, result) ⇒ Object



7259
7260
7261
7262
7263
# File 'lib/parser/macruby.rb', line 7259

def _reduce_117(val, _values, result)
                      result = val[0] << val[3]

    result
end

#_reduce_12(val, _values, result) ⇒ Object



6634
6635
6636
6637
6638
# File 'lib/parser/macruby.rb', line 6634

def _reduce_12(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_13(val, _values, result) ⇒ Object



6640
6641
6642
6643
6644
# File 'lib/parser/macruby.rb', line 6640

def _reduce_13(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_14(val, _values, result) ⇒ Object



6646
6647
6648
6649
6650
# File 'lib/parser/macruby.rb', line 6646

def _reduce_14(val, _values, result)
                      result = [ val[1] ]

    result
end

#_reduce_15(val, _values, result) ⇒ Object



6652
6653
6654
6655
6656
# File 'lib/parser/macruby.rb', line 6652

def _reduce_15(val, _values, result)
                      @lexer.state = :expr_fname

    result
end

#_reduce_16(val, _values, result) ⇒ Object



6658
6659
6660
6661
6662
# File 'lib/parser/macruby.rb', line 6658

def _reduce_16(val, _values, result)
                      result = @builder.alias(val[0], val[1], val[3])

    result
end

#_reduce_17(val, _values, result) ⇒ Object



6664
6665
6666
6667
6668
6669
6670
# File 'lib/parser/macruby.rb', line 6664

def _reduce_17(val, _values, result)
                      result = @builder.alias(val[0],
                                  @builder.gvar(val[1]),
                                  @builder.gvar(val[2]))

    result
end

#_reduce_18(val, _values, result) ⇒ Object



6672
6673
6674
6675
6676
6677
6678
# File 'lib/parser/macruby.rb', line 6672

def _reduce_18(val, _values, result)
                      result = @builder.alias(val[0],
                                  @builder.gvar(val[1]),
                                  @builder.back_ref(val[2]))

    result
end

#_reduce_188(val, _values, result) ⇒ Object

reduce 187 omitted



7405
7406
7407
7408
7409
# File 'lib/parser/macruby.rb', line 7405

def _reduce_188(val, _values, result)
                      result = @builder.assign(val[0], val[1], val[2])

    result
end

#_reduce_189(val, _values, result) ⇒ Object



7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
# File 'lib/parser/macruby.rb', line 7411

def _reduce_189(val, _values, result)
                      rescue_body = @builder.rescue_body(val[3],
                                        nil, nil, nil,
                                        nil, val[4])

                      rescue_ = @builder.begin_body(val[2], [ rescue_body ])

                      result  = @builder.assign(val[0], val[1], rescue_)

    result
end

#_reduce_19(val, _values, result) ⇒ Object



6680
6681
6682
6683
6684
# File 'lib/parser/macruby.rb', line 6680

def _reduce_19(val, _values, result)
                      diagnostic :error, :nth_ref_alias, nil, val[2]

    result
end

#_reduce_190(val, _values, result) ⇒ Object



7423
7424
7425
7426
7427
# File 'lib/parser/macruby.rb', line 7423

def _reduce_190(val, _values, result)
                      result = @builder.op_assign(val[0], val[1], val[2])

    result
end

#_reduce_191(val, _values, result) ⇒ Object



7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
# File 'lib/parser/macruby.rb', line 7429

def _reduce_191(val, _values, result)
                      rescue_body = @builder.rescue_body(val[3],
                                        nil, nil, nil,
                                        nil, val[4])

                      rescue_ = @builder.begin_body(val[2], [ rescue_body ])

                      result = @builder.op_assign(val[0], val[1], rescue_)

    result
end

#_reduce_192(val, _values, result) ⇒ Object



7441
7442
7443
7444
7445
7446
7447
7448
# File 'lib/parser/macruby.rb', line 7441

def _reduce_192(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.index(
                                    val[0], val[1], val[2], val[3]),
                                  val[4], val[5])

    result
end

#_reduce_193(val, _values, result) ⇒ Object



7450
7451
7452
7453
7454
7455
7456
7457
# File 'lib/parser/macruby.rb', line 7450

def _reduce_193(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.call_method(
                                    val[0], val[1], val[2]),
                                  val[3], val[4])

    result
end

#_reduce_194(val, _values, result) ⇒ Object



7459
7460
7461
7462
7463
7464
7465
7466
# File 'lib/parser/macruby.rb', line 7459

def _reduce_194(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.call_method(
                                    val[0], val[1], val[2]),
                                  val[3], val[4])

    result
end

#_reduce_195(val, _values, result) ⇒ Object



7468
7469
7470
7471
7472
7473
7474
7475
# File 'lib/parser/macruby.rb', line 7468

def _reduce_195(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.call_method(
                                    val[0], val[1], val[2]),
                                  val[3], val[4])

    result
end

#_reduce_196(val, _values, result) ⇒ Object



7477
7478
7479
7480
7481
# File 'lib/parser/macruby.rb', line 7477

def _reduce_196(val, _values, result)
                      diagnostic :error, :dynamic_const, nil, val[2], [ val[3] ]

    result
end

#_reduce_197(val, _values, result) ⇒ Object



7483
7484
7485
7486
7487
# File 'lib/parser/macruby.rb', line 7483

def _reduce_197(val, _values, result)
                      diagnostic :error, :dynamic_const, nil, val[1], [ val[2] ]

    result
end

#_reduce_198(val, _values, result) ⇒ Object



7489
7490
7491
7492
7493
# File 'lib/parser/macruby.rb', line 7489

def _reduce_198(val, _values, result)
                      result = @builder.op_assign(val[0], val[1], val[2])

    result
end

#_reduce_199(val, _values, result) ⇒ Object



7495
7496
7497
7498
7499
# File 'lib/parser/macruby.rb', line 7495

def _reduce_199(val, _values, result)
                      result = @builder.range_inclusive(val[0], val[1], val[2])

    result
end

#_reduce_2(val, _values, result) ⇒ Object

reduce 1 omitted



6567
6568
6569
6570
6571
# File 'lib/parser/macruby.rb', line 6567

def _reduce_2(val, _values, result)
                      result = @builder.compstmt(val[0])

    result
end

#_reduce_20(val, _values, result) ⇒ Object



6686
6687
6688
6689
6690
# File 'lib/parser/macruby.rb', line 6686

def _reduce_20(val, _values, result)
                      result = @builder.undef_method(val[0], val[1])

    result
end

#_reduce_200(val, _values, result) ⇒ Object



7501
7502
7503
7504
7505
# File 'lib/parser/macruby.rb', line 7501

def _reduce_200(val, _values, result)
                      result = @builder.range_exclusive(val[0], val[1], val[2])

    result
end

#_reduce_201(val, _values, result) ⇒ Object



7507
7508
7509
7510
7511
# File 'lib/parser/macruby.rb', line 7507

def _reduce_201(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_202(val, _values, result) ⇒ Object



7513
7514
7515
7516
7517
# File 'lib/parser/macruby.rb', line 7513

def _reduce_202(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_203(val, _values, result) ⇒ Object



7519
7520
7521
7522
7523
# File 'lib/parser/macruby.rb', line 7519

def _reduce_203(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_204(val, _values, result) ⇒ Object



7525
7526
7527
7528
7529
# File 'lib/parser/macruby.rb', line 7525

def _reduce_204(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_205(val, _values, result) ⇒ Object



7531
7532
7533
7534
7535
# File 'lib/parser/macruby.rb', line 7531

def _reduce_205(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_206(val, _values, result) ⇒ Object



7537
7538
7539
7540
7541
# File 'lib/parser/macruby.rb', line 7537

def _reduce_206(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_207(val, _values, result) ⇒ Object



7543
7544
7545
7546
7547
7548
7549
7550
# File 'lib/parser/macruby.rb', line 7543

def _reduce_207(val, _values, result)
                      result = @builder.unary_op(val[0],
                                  @builder.binary_op(
                                    @builder.integer(val[1]),
                                      val[2], val[3]))

    result
end

#_reduce_208(val, _values, result) ⇒ Object



7552
7553
7554
7555
7556
7557
7558
7559
# File 'lib/parser/macruby.rb', line 7552

def _reduce_208(val, _values, result)
                      result = @builder.unary_op(val[0],
                                  @builder.binary_op(
                                    @builder.float(val[1]),
                                      val[2], val[3]))

    result
end

#_reduce_209(val, _values, result) ⇒ Object



7561
7562
7563
7564
7565
# File 'lib/parser/macruby.rb', line 7561

def _reduce_209(val, _values, result)
                      result = @builder.unary_op(val[0], val[1])

    result
end

#_reduce_21(val, _values, result) ⇒ Object



6692
6693
6694
6695
6696
6697
# File 'lib/parser/macruby.rb', line 6692

def _reduce_21(val, _values, result)
                      result = @builder.condition_mod(val[0], nil,
                                                      val[1], val[2])

    result
end

#_reduce_210(val, _values, result) ⇒ Object



7567
7568
7569
7570
7571
# File 'lib/parser/macruby.rb', line 7567

def _reduce_210(val, _values, result)
                      result = @builder.unary_op(val[0], val[1])

    result
end

#_reduce_211(val, _values, result) ⇒ Object



7573
7574
7575
7576
7577
# File 'lib/parser/macruby.rb', line 7573

def _reduce_211(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_212(val, _values, result) ⇒ Object



7579
7580
7581
7582
7583
# File 'lib/parser/macruby.rb', line 7579

def _reduce_212(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_213(val, _values, result) ⇒ Object



7585
7586
7587
7588
7589
# File 'lib/parser/macruby.rb', line 7585

def _reduce_213(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_214(val, _values, result) ⇒ Object



7591
7592
7593
7594
7595
# File 'lib/parser/macruby.rb', line 7591

def _reduce_214(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_215(val, _values, result) ⇒ Object



7597
7598
7599
7600
7601
# File 'lib/parser/macruby.rb', line 7597

def _reduce_215(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_216(val, _values, result) ⇒ Object



7603
7604
7605
7606
7607
# File 'lib/parser/macruby.rb', line 7603

def _reduce_216(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_217(val, _values, result) ⇒ Object



7609
7610
7611
7612
7613
# File 'lib/parser/macruby.rb', line 7609

def _reduce_217(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_218(val, _values, result) ⇒ Object



7615
7616
7617
7618
7619
# File 'lib/parser/macruby.rb', line 7615

def _reduce_218(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_219(val, _values, result) ⇒ Object



7621
7622
7623
7624
7625
# File 'lib/parser/macruby.rb', line 7621

def _reduce_219(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_22(val, _values, result) ⇒ Object



6699
6700
6701
6702
6703
6704
# File 'lib/parser/macruby.rb', line 6699

def _reduce_22(val, _values, result)
                      result = @builder.condition_mod(nil, val[0],
                                                      val[1], val[2])

    result
end

#_reduce_220(val, _values, result) ⇒ Object



7627
7628
7629
7630
7631
# File 'lib/parser/macruby.rb', line 7627

def _reduce_220(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_221(val, _values, result) ⇒ Object



7633
7634
7635
7636
7637
# File 'lib/parser/macruby.rb', line 7633

def _reduce_221(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_222(val, _values, result) ⇒ Object



7639
7640
7641
7642
7643
# File 'lib/parser/macruby.rb', line 7639

def _reduce_222(val, _values, result)
                      result = @builder.match_op(val[0], val[1], val[2])

    result
end

#_reduce_223(val, _values, result) ⇒ Object



7645
7646
7647
7648
7649
# File 'lib/parser/macruby.rb', line 7645

def _reduce_223(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_224(val, _values, result) ⇒ Object



7651
7652
7653
7654
7655
# File 'lib/parser/macruby.rb', line 7651

def _reduce_224(val, _values, result)
                      result = @builder.not_op(val[0], nil, val[1], nil)

    result
end

#_reduce_225(val, _values, result) ⇒ Object



7657
7658
7659
7660
7661
# File 'lib/parser/macruby.rb', line 7657

def _reduce_225(val, _values, result)
                      result = @builder.unary_op(val[0], val[1])

    result
end

#_reduce_226(val, _values, result) ⇒ Object



7663
7664
7665
7666
7667
# File 'lib/parser/macruby.rb', line 7663

def _reduce_226(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_227(val, _values, result) ⇒ Object



7669
7670
7671
7672
7673
# File 'lib/parser/macruby.rb', line 7669

def _reduce_227(val, _values, result)
                      result = @builder.binary_op(val[0], val[1], val[2])

    result
end

#_reduce_228(val, _values, result) ⇒ Object



7675
7676
7677
7678
7679
# File 'lib/parser/macruby.rb', line 7675

def _reduce_228(val, _values, result)
                      result = @builder.logical_op(:and, val[0], val[1], val[2])

    result
end

#_reduce_229(val, _values, result) ⇒ Object



7681
7682
7683
7684
7685
# File 'lib/parser/macruby.rb', line 7681

def _reduce_229(val, _values, result)
                      result = @builder.logical_op(:or, val[0], val[1], val[2])

    result
end

#_reduce_23(val, _values, result) ⇒ Object



6706
6707
6708
6709
6710
# File 'lib/parser/macruby.rb', line 6706

def _reduce_23(val, _values, result)
                      result = @builder.loop_mod(:while, val[0], val[1], val[2])

    result
end

#_reduce_230(val, _values, result) ⇒ Object



7687
7688
7689
7690
7691
# File 'lib/parser/macruby.rb', line 7687

def _reduce_230(val, _values, result)
                      result = @builder.keyword_cmd(:defined?, val[0], nil, [ val[2] ], nil)

    result
end

#_reduce_231(val, _values, result) ⇒ Object



7693
7694
7695
7696
7697
7698
# File 'lib/parser/macruby.rb', line 7693

def _reduce_231(val, _values, result)
                      result = @builder.ternary(val[0], val[1],
                                                val[2], val[4], val[5])

    result
end

#_reduce_236(val, _values, result) ⇒ Object

reduce 235 omitted



7708
7709
7710
7711
7712
# File 'lib/parser/macruby.rb', line 7708

def _reduce_236(val, _values, result)
                      result = val[0] << @builder.associate(nil, val[2], nil)

    result
end

#_reduce_237(val, _values, result) ⇒ Object



7714
7715
7716
7717
7718
# File 'lib/parser/macruby.rb', line 7714

def _reduce_237(val, _values, result)
                      result = [ @builder.associate(nil, val[0], nil) ]

    result
end

#_reduce_238(val, _values, result) ⇒ Object



7720
7721
7722
7723
7724
# File 'lib/parser/macruby.rb', line 7720

def _reduce_238(val, _values, result)
                      result = val

    result
end

#_reduce_239(val, _values, result) ⇒ Object



7726
7727
7728
7729
7730
# File 'lib/parser/macruby.rb', line 7726

def _reduce_239(val, _values, result)
                      result = [ nil, [], nil ]

    result
end

#_reduce_24(val, _values, result) ⇒ Object



6712
6713
6714
6715
6716
# File 'lib/parser/macruby.rb', line 6712

def _reduce_24(val, _values, result)
                      result = @builder.loop_mod(:until, val[0], val[1], val[2])

    result
end

#_reduce_241(val, _values, result) ⇒ Object

reduce 240 omitted



7734
7735
7736
7737
7738
# File 'lib/parser/macruby.rb', line 7734

def _reduce_241(val, _values, result)
                      result = []

    result
end

#_reduce_243(val, _values, result) ⇒ Object

reduce 242 omitted



7742
7743
7744
7745
7746
# File 'lib/parser/macruby.rb', line 7742

def _reduce_243(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_244(val, _values, result) ⇒ Object



7748
7749
7750
7751
7752
# File 'lib/parser/macruby.rb', line 7748

def _reduce_244(val, _values, result)
                      result = val[0].concat(val[1])

    result
end

#_reduce_245(val, _values, result) ⇒ Object



7754
7755
7756
7757
7758
7759
# File 'lib/parser/macruby.rb', line 7754

def _reduce_245(val, _values, result)
                      result = [ @builder.associate(nil, val[0], nil) ]
                      result.concat(val[1])

    result
end

#_reduce_246(val, _values, result) ⇒ Object



7761
7762
7763
7764
7765
7766
7767
# File 'lib/parser/macruby.rb', line 7761

def _reduce_246(val, _values, result)
                      assocs = @builder.associate(nil, val[2], nil)
                      result = val[0] << assocs
                      result.concat(val[3])

    result
end

#_reduce_247(val, _values, result) ⇒ Object



7769
7770
7771
7772
7773
7774
7775
7776
# File 'lib/parser/macruby.rb', line 7769

def _reduce_247(val, _values, result)
                      val[2][-1] = @builder.objc_varargs(val[2][-1], val[4])
                      assocs = @builder.associate(nil, val[2], nil)
                      result = val[0] << assocs
                      result.concat(val[5])

    result
end

#_reduce_248(val, _values, result) ⇒ Object



7778
7779
7780
7781
7782
# File 'lib/parser/macruby.rb', line 7778

def _reduce_248(val, _values, result)
                      result =  [ val[0] ]

    result
end

#_reduce_249(val, _values, result) ⇒ Object



7784
7785
7786
7787
7788
# File 'lib/parser/macruby.rb', line 7784

def _reduce_249(val, _values, result)
                      result = [ val[0], *val[2].concat(val[3]) ]

    result
end

#_reduce_25(val, _values, result) ⇒ Object



6718
6719
6720
6721
6722
6723
6724
6725
6726
# File 'lib/parser/macruby.rb', line 6718

def _reduce_25(val, _values, result)
                      rescue_body = @builder.rescue_body(val[1],
                                        nil, nil, nil,
                                        nil, val[2])

                      result = @builder.begin_body(val[0], [ rescue_body ])

    result
end

#_reduce_250(val, _values, result) ⇒ Object



7790
7791
7792
7793
7794
# File 'lib/parser/macruby.rb', line 7790

def _reduce_250(val, _values, result)
                      result = [ val[0], val[2] ]

    result
end

#_reduce_251(val, _values, result) ⇒ Object



7796
7797
7798
7799
7800
7801
# File 'lib/parser/macruby.rb', line 7796

def _reduce_251(val, _values, result)
                      result =  [ @builder.associate(nil, val[0], nil),
                                  *val[1] ]

    result
end

#_reduce_252(val, _values, result) ⇒ Object



7803
7804
7805
7806
7807
7808
7809
# File 'lib/parser/macruby.rb', line 7803

def _reduce_252(val, _values, result)
                      result =  [ val[0],
                                  @builder.associate(nil, val[2], nil),
                                  *val[3] ]

    result
end

#_reduce_253(val, _values, result) ⇒ Object



7811
7812
7813
7814
7815
7816
7817
7818
# File 'lib/parser/macruby.rb', line 7811

def _reduce_253(val, _values, result)
                      result =  [ val[0],
                                  *val[2].
                                    push(@builder.associate(nil, val[4], nil)).
                                    concat(val[5]) ]

    result
end

#_reduce_254(val, _values, result) ⇒ Object



7820
7821
7822
7823
7824
# File 'lib/parser/macruby.rb', line 7820

def _reduce_254(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_255(val, _values, result) ⇒ Object



7826
7827
7828
7829
7830
7831
# File 'lib/parser/macruby.rb', line 7826

def _reduce_255(val, _values, result)
                      result = @lexer.cmdarg.dup
                      @lexer.cmdarg.push(true)

    result
end

#_reduce_256(val, _values, result) ⇒ Object



7833
7834
7835
7836
7837
7838
7839
# File 'lib/parser/macruby.rb', line 7833

def _reduce_256(val, _values, result)
                      @lexer.cmdarg = val[0]

                      result = val[1]

    result
end

#_reduce_257(val, _values, result) ⇒ Object



7841
7842
7843
7844
7845
# File 'lib/parser/macruby.rb', line 7841

def _reduce_257(val, _values, result)
                      result = [ nil, val[0], nil ]

    result
end

#_reduce_258(val, _values, result) ⇒ Object



7847
7848
7849
7850
7851
# File 'lib/parser/macruby.rb', line 7847

def _reduce_258(val, _values, result)
                      @lexer.state = :expr_endarg

    result
end

#_reduce_259(val, _values, result) ⇒ Object



7853
7854
7855
7856
7857
# File 'lib/parser/macruby.rb', line 7853

def _reduce_259(val, _values, result)
                      result = [ val[0], [], val[2] ]

    result
end

#_reduce_26(val, _values, result) ⇒ Object



6728
6729
6730
6731
6732
# File 'lib/parser/macruby.rb', line 6728

def _reduce_26(val, _values, result)
                      result = @builder.postexe(val[0], val[1], val[2], val[3])

    result
end

#_reduce_260(val, _values, result) ⇒ Object



7859
7860
7861
7862
7863
# File 'lib/parser/macruby.rb', line 7859

def _reduce_260(val, _values, result)
                      @lexer.state = :expr_endarg

    result
end

#_reduce_261(val, _values, result) ⇒ Object



7865
7866
7867
7868
7869
# File 'lib/parser/macruby.rb', line 7865

def _reduce_261(val, _values, result)
                      result = [ val[0], val[1], val[3] ]

    result
end

#_reduce_262(val, _values, result) ⇒ Object



7871
7872
7873
7874
7875
# File 'lib/parser/macruby.rb', line 7871

def _reduce_262(val, _values, result)
                      result = @builder.block_pass(val[0], val[1])

    result
end

#_reduce_263(val, _values, result) ⇒ Object



7877
7878
7879
7880
7881
# File 'lib/parser/macruby.rb', line 7877

def _reduce_263(val, _values, result)
                      result = [ val[1] ]

    result
end

#_reduce_264(val, _values, result) ⇒ Object



7883
7884
7885
7886
7887
# File 'lib/parser/macruby.rb', line 7883

def _reduce_264(val, _values, result)
                      result = []

    result
end

#_reduce_265(val, _values, result) ⇒ Object



7889
7890
7891
7892
7893
# File 'lib/parser/macruby.rb', line 7889

def _reduce_265(val, _values, result)
                      result = []

    result
end

#_reduce_266(val, _values, result) ⇒ Object



7895
7896
7897
7898
7899
# File 'lib/parser/macruby.rb', line 7895

def _reduce_266(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_267(val, _values, result) ⇒ Object



7901
7902
7903
7904
7905
# File 'lib/parser/macruby.rb', line 7901

def _reduce_267(val, _values, result)
                      result = [ @builder.splat(val[0], val[1]) ]

    result
end

#_reduce_268(val, _values, result) ⇒ Object



7907
7908
7909
7910
7911
# File 'lib/parser/macruby.rb', line 7907

def _reduce_268(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_269(val, _values, result) ⇒ Object



7913
7914
7915
7916
7917
# File 'lib/parser/macruby.rb', line 7913

def _reduce_269(val, _values, result)
                      result = val[0] << @builder.splat(val[2], val[3])

    result
end

#_reduce_27(val, _values, result) ⇒ Object



6734
6735
6736
6737
6738
# File 'lib/parser/macruby.rb', line 6734

def _reduce_27(val, _values, result)
                      result = @builder.assign(val[0], val[1], val[2])

    result
end

#_reduce_270(val, _values, result) ⇒ Object



7919
7920
7921
7922
7923
# File 'lib/parser/macruby.rb', line 7919

def _reduce_270(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_271(val, _values, result) ⇒ Object



7925
7926
7927
7928
7929
# File 'lib/parser/macruby.rb', line 7925

def _reduce_271(val, _values, result)
                      result = val[0] << @builder.splat(val[2], val[3])

    result
end

#_reduce_272(val, _values, result) ⇒ Object



7931
7932
7933
7934
7935
# File 'lib/parser/macruby.rb', line 7931

def _reduce_272(val, _values, result)
                      result = [ @builder.splat(val[0], val[1]) ]

    result
end

#_reduce_28(val, _values, result) ⇒ Object



6740
6741
6742
6743
6744
# File 'lib/parser/macruby.rb', line 6740

def _reduce_28(val, _values, result)
                      result = @builder.multi_assign(val[0], val[1], val[2])

    result
end

#_reduce_281(val, _values, result) ⇒ Object

reduce 280 omitted



7953
7954
7955
7956
7957
# File 'lib/parser/macruby.rb', line 7953

def _reduce_281(val, _values, result)
                      result = @builder.call_method(nil, nil, val[0])

    result
end

#_reduce_282(val, _values, result) ⇒ Object



7959
7960
7961
7962
7963
# File 'lib/parser/macruby.rb', line 7959

def _reduce_282(val, _values, result)
                      result = @builder.begin_keyword(val[0], val[1], val[2])

    result
end

#_reduce_283(val, _values, result) ⇒ Object



7965
7966
7967
7968
7969
# File 'lib/parser/macruby.rb', line 7965

def _reduce_283(val, _values, result)
                      @lexer.state = :expr_endarg

    result
end

#_reduce_284(val, _values, result) ⇒ Object



7971
7972
7973
7974
7975
# File 'lib/parser/macruby.rb', line 7971

def _reduce_284(val, _values, result)
                      result = @builder.begin(val[0], val[1], val[3])

    result
end

#_reduce_285(val, _values, result) ⇒ Object



7977
7978
7979
7980
7981
# File 'lib/parser/macruby.rb', line 7977

def _reduce_285(val, _values, result)
                      result = @builder.begin(val[0], val[1], val[2])

    result
end

#_reduce_286(val, _values, result) ⇒ Object



7983
7984
7985
7986
7987
# File 'lib/parser/macruby.rb', line 7983

def _reduce_286(val, _values, result)
                      result = @builder.const_fetch(val[0], val[1], val[2])

    result
end

#_reduce_287(val, _values, result) ⇒ Object



7989
7990
7991
7992
7993
# File 'lib/parser/macruby.rb', line 7989

def _reduce_287(val, _values, result)
                      result = @builder.const_global(val[0], val[1])

    result
end

#_reduce_288(val, _values, result) ⇒ Object



7995
7996
7997
7998
7999
# File 'lib/parser/macruby.rb', line 7995

def _reduce_288(val, _values, result)
                      result = @builder.array(val[0], val[1], val[2])

    result
end

#_reduce_289(val, _values, result) ⇒ Object



8001
8002
8003
8004
8005
# File 'lib/parser/macruby.rb', line 8001

def _reduce_289(val, _values, result)
                      result = @builder.associate(val[0], val[1], val[2])

    result
end

#_reduce_29(val, _values, result) ⇒ Object



6746
6747
6748
6749
6750
# File 'lib/parser/macruby.rb', line 6746

def _reduce_29(val, _values, result)
                      result = @builder.op_assign(val[0], val[1], val[2])

    result
end

#_reduce_290(val, _values, result) ⇒ Object



8007
8008
8009
8010
8011
# File 'lib/parser/macruby.rb', line 8007

def _reduce_290(val, _values, result)
                      result = @builder.keyword_cmd(:return, val[0])

    result
end

#_reduce_291(val, _values, result) ⇒ Object



8013
8014
8015
8016
8017
# File 'lib/parser/macruby.rb', line 8013

def _reduce_291(val, _values, result)
                      result = @builder.keyword_cmd(:yield, val[0], val[1], val[2], val[3])

    result
end

#_reduce_292(val, _values, result) ⇒ Object



8019
8020
8021
8022
8023
# File 'lib/parser/macruby.rb', line 8019

def _reduce_292(val, _values, result)
                      result = @builder.keyword_cmd(:yield, val[0], val[1], [], val[2])

    result
end

#_reduce_293(val, _values, result) ⇒ Object



8025
8026
8027
8028
8029
# File 'lib/parser/macruby.rb', line 8025

def _reduce_293(val, _values, result)
                      result = @builder.keyword_cmd(:yield, val[0])

    result
end

#_reduce_294(val, _values, result) ⇒ Object



8031
8032
8033
8034
8035
8036
# File 'lib/parser/macruby.rb', line 8031

def _reduce_294(val, _values, result)
                      result = @builder.keyword_cmd(:defined?, val[0],
                                                    val[2], [ val[3] ], val[4])

    result
end

#_reduce_295(val, _values, result) ⇒ Object



8038
8039
8040
8041
8042
# File 'lib/parser/macruby.rb', line 8038

def _reduce_295(val, _values, result)
                      result = @builder.not_op(val[0], val[1], val[2], val[3])

    result
end

#_reduce_296(val, _values, result) ⇒ Object



8044
8045
8046
8047
8048
# File 'lib/parser/macruby.rb', line 8044

def _reduce_296(val, _values, result)
                      result = @builder.not_op(val[0], val[1], nil, val[2])

    result
end

#_reduce_297(val, _values, result) ⇒ Object



8050
8051
8052
8053
8054
8055
8056
8057
8058
# File 'lib/parser/macruby.rb', line 8050

def _reduce_297(val, _values, result)
                      method_call = @builder.call_method(nil, nil, val[0])

                      begin_t, args, body, end_t = val[1]
                      result      = @builder.block(method_call,
                                      begin_t, args, body, end_t)

    result
end

#_reduce_299(val, _values, result) ⇒ Object

reduce 298 omitted



8062
8063
8064
8065
8066
8067
8068
# File 'lib/parser/macruby.rb', line 8062

def _reduce_299(val, _values, result)
                      begin_t, args, body, end_t = val[1]
                      result      = @builder.block(val[0],
                                      begin_t, args, body, end_t)

    result
end

#_reduce_3(val, _values, result) ⇒ Object



6573
6574
6575
6576
6577
# File 'lib/parser/macruby.rb', line 6573

def _reduce_3(val, _values, result)
                      result = []

    result
end

#_reduce_30(val, _values, result) ⇒ Object



6752
6753
6754
6755
6756
6757
6758
6759
# File 'lib/parser/macruby.rb', line 6752

def _reduce_30(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.index(
                                    val[0], val[1], val[2], val[3]),
                                  val[4], val[5])

    result
end

#_reduce_300(val, _values, result) ⇒ Object



8070
8071
8072
8073
8074
8075
# File 'lib/parser/macruby.rb', line 8070

def _reduce_300(val, _values, result)
                      result = @context.dup
                      @context.in_lambda = true

    result
end

#_reduce_301(val, _values, result) ⇒ Object



8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
# File 'lib/parser/macruby.rb', line 8077

def _reduce_301(val, _values, result)
                      lambda_call = @builder.call_lambda(val[0])

                      args, (begin_t, body, end_t) = val[2]
                      result      = @builder.block(lambda_call,
                                      begin_t, args, body, end_t)

                      @context.in_lambda = val[1].in_lambda

    result
end

#_reduce_302(val, _values, result) ⇒ Object



8089
8090
8091
8092
8093
8094
8095
8096
# File 'lib/parser/macruby.rb', line 8089

def _reduce_302(val, _values, result)
                      else_t, else_ = val[4]
                      result = @builder.condition(val[0], val[1], val[2],
                                                  val[3], else_t,
                                                  else_,  val[5])

    result
end

#_reduce_303(val, _values, result) ⇒ Object



8098
8099
8100
8101
8102
8103
8104
8105
# File 'lib/parser/macruby.rb', line 8098

def _reduce_303(val, _values, result)
                      else_t, else_ = val[4]
                      result = @builder.condition(val[0], val[1], val[2],
                                                  else_,  else_t,
                                                  val[3], val[5])

    result
end

#_reduce_304(val, _values, result) ⇒ Object



8107
8108
8109
8110
8111
# File 'lib/parser/macruby.rb', line 8107

def _reduce_304(val, _values, result)
                      @lexer.cond.push(true)

    result
end

#_reduce_305(val, _values, result) ⇒ Object



8113
8114
8115
8116
8117
# File 'lib/parser/macruby.rb', line 8113

def _reduce_305(val, _values, result)
                      @lexer.cond.pop

    result
end

#_reduce_306(val, _values, result) ⇒ Object



8119
8120
8121
8122
8123
8124
# File 'lib/parser/macruby.rb', line 8119

def _reduce_306(val, _values, result)
                      result = @builder.loop(:while, val[0], val[2], val[3],
                                             val[5], val[6])

    result
end

#_reduce_307(val, _values, result) ⇒ Object



8126
8127
8128
8129
8130
# File 'lib/parser/macruby.rb', line 8126

def _reduce_307(val, _values, result)
                      @lexer.cond.push(true)

    result
end

#_reduce_308(val, _values, result) ⇒ Object



8132
8133
8134
8135
8136
# File 'lib/parser/macruby.rb', line 8132

def _reduce_308(val, _values, result)
                      @lexer.cond.pop

    result
end

#_reduce_309(val, _values, result) ⇒ Object



8138
8139
8140
8141
8142
8143
# File 'lib/parser/macruby.rb', line 8138

def _reduce_309(val, _values, result)
                      result = @builder.loop(:until, val[0], val[2], val[3],
                                             val[5], val[6])

    result
end

#_reduce_31(val, _values, result) ⇒ Object



6761
6762
6763
6764
6765
6766
6767
6768
# File 'lib/parser/macruby.rb', line 6761

def _reduce_31(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.call_method(
                                    val[0], val[1], val[2]),
                                  val[3], val[4])

    result
end

#_reduce_310(val, _values, result) ⇒ Object



8145
8146
8147
8148
8149
8150
8151
8152
8153
# File 'lib/parser/macruby.rb', line 8145

def _reduce_310(val, _values, result)
                      *when_bodies, (else_t, else_body) = *val[3]

                      result = @builder.case(val[0], val[1],
                                             when_bodies, else_t, else_body,
                                             val[4])

    result
end

#_reduce_311(val, _values, result) ⇒ Object



8155
8156
8157
8158
8159
8160
8161
8162
8163
# File 'lib/parser/macruby.rb', line 8155

def _reduce_311(val, _values, result)
                      *when_bodies, (else_t, else_body) = *val[2]

                      result = @builder.case(val[0], nil,
                                             when_bodies, else_t, else_body,
                                             val[3])

    result
end

#_reduce_312(val, _values, result) ⇒ Object



8165
8166
8167
8168
8169
# File 'lib/parser/macruby.rb', line 8165

def _reduce_312(val, _values, result)
                      @lexer.cond.push(true)

    result
end

#_reduce_313(val, _values, result) ⇒ Object



8171
8172
8173
8174
8175
# File 'lib/parser/macruby.rb', line 8171

def _reduce_313(val, _values, result)
                      @lexer.cond.pop

    result
end

#_reduce_314(val, _values, result) ⇒ Object



8177
8178
8179
8180
8181
8182
8183
# File 'lib/parser/macruby.rb', line 8177

def _reduce_314(val, _values, result)
                      result = @builder.for(val[0], val[1],
                                            val[2], val[4],
                                            val[5], val[7], val[8])

    result
end

#_reduce_315(val, _values, result) ⇒ Object



8185
8186
8187
8188
8189
8190
# File 'lib/parser/macruby.rb', line 8185

def _reduce_315(val, _values, result)
                      local_push
                      @context.in_class = true

    result
end

#_reduce_316(val, _values, result) ⇒ Object



8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
# File 'lib/parser/macruby.rb', line 8192

def _reduce_316(val, _values, result)
                      k_class, ctx = val[0]
                      if @context.in_def
                        diagnostic :error, :class_in_def, nil, k_class
                      end

                      lt_t, superclass = val[2]
                      result = @builder.def_class(k_class, val[1],
                                                  lt_t, superclass,
                                                  val[4], val[5])

                      local_pop
                      @context.in_class = ctx.in_class

    result
end

#_reduce_317(val, _values, result) ⇒ Object



8209
8210
8211
8212
8213
8214
8215
# File 'lib/parser/macruby.rb', line 8209

def _reduce_317(val, _values, result)
                      @context.in_def = false
                      @context.in_class = false
                      local_push

    result
end

#_reduce_318(val, _values, result) ⇒ Object



8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
# File 'lib/parser/macruby.rb', line 8217

def _reduce_318(val, _values, result)
                      k_class, ctx = val[0]
                      result = @builder.def_sclass(k_class, val[1], val[2],
                                                   val[5], val[6])

                      local_pop
                      @context.in_def = ctx.in_def
                      @context.in_class = ctx.in_class

    result
end

#_reduce_319(val, _values, result) ⇒ Object



8229
8230
8231
8232
8233
8234
# File 'lib/parser/macruby.rb', line 8229

def _reduce_319(val, _values, result)
                      @context.in_class = true
                      local_push

    result
end

#_reduce_32(val, _values, result) ⇒ Object



6770
6771
6772
6773
6774
6775
6776
6777
# File 'lib/parser/macruby.rb', line 6770

def _reduce_32(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.call_method(
                                    val[0], val[1], val[2]),
                                  val[3], val[4])

    result
end

#_reduce_320(val, _values, result) ⇒ Object



8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
# File 'lib/parser/macruby.rb', line 8236

def _reduce_320(val, _values, result)
                      k_mod, ctx = val[0]
                      if @context.in_def
                        diagnostic :error, :module_in_def, nil, k_mod
                      end

                      result = @builder.def_module(k_mod, val[1],
                                                   val[3], val[4])

                      local_pop
                      @context.in_class = ctx.in_class

    result
end

#_reduce_321(val, _values, result) ⇒ Object



8251
8252
8253
8254
8255
8256
8257
# File 'lib/parser/macruby.rb', line 8251

def _reduce_321(val, _values, result)
                      local_push
                      result = context.dup
                      @context.in_def = true

    result
end

#_reduce_322(val, _values, result) ⇒ Object



8259
8260
8261
8262
8263
8264
8265
8266
8267
# File 'lib/parser/macruby.rb', line 8259

def _reduce_322(val, _values, result)
                      result = @builder.def_method(val[0], val[1],
                                  val[3], val[4], val[5])

                      local_pop
                      @context.in_def = val[2].in_def

    result
end

#_reduce_323(val, _values, result) ⇒ Object



8269
8270
8271
8272
8273
# File 'lib/parser/macruby.rb', line 8269

def _reduce_323(val, _values, result)
                      @lexer.state = :expr_fname

    result
end

#_reduce_324(val, _values, result) ⇒ Object



8275
8276
8277
8278
8279
8280
8281
# File 'lib/parser/macruby.rb', line 8275

def _reduce_324(val, _values, result)
                      local_push
                      result = context.dup
                      @context.in_def = true

    result
end

#_reduce_325(val, _values, result) ⇒ Object



8283
8284
8285
8286
8287
8288
8289
8290
8291
# File 'lib/parser/macruby.rb', line 8283

def _reduce_325(val, _values, result)
                      result = @builder.def_singleton(val[0], val[1], val[2],
                                  val[4], val[6], val[7], val[8])

                      local_pop
                      @context.in_def = val[5].in_def

    result
end

#_reduce_326(val, _values, result) ⇒ Object



8293
8294
8295
8296
8297
# File 'lib/parser/macruby.rb', line 8293

def _reduce_326(val, _values, result)
                      result = @builder.keyword_cmd(:break, val[0])

    result
end

#_reduce_327(val, _values, result) ⇒ Object



8299
8300
8301
8302
8303
# File 'lib/parser/macruby.rb', line 8299

def _reduce_327(val, _values, result)
                      result = @builder.keyword_cmd(:next, val[0])

    result
end

#_reduce_328(val, _values, result) ⇒ Object



8305
8306
8307
8308
8309
# File 'lib/parser/macruby.rb', line 8305

def _reduce_328(val, _values, result)
                      result = @builder.keyword_cmd(:redo, val[0])

    result
end

#_reduce_329(val, _values, result) ⇒ Object



8311
8312
8313
8314
8315
# File 'lib/parser/macruby.rb', line 8311

def _reduce_329(val, _values, result)
                      result = @builder.keyword_cmd(:retry, val[0])

    result
end

#_reduce_33(val, _values, result) ⇒ Object



6779
6780
6781
6782
6783
# File 'lib/parser/macruby.rb', line 6779

def _reduce_33(val, _values, result)
                      diagnostic :error, :const_reassignment, nil, val[3]

    result
end

#_reduce_331(val, _values, result) ⇒ Object

reduce 330 omitted



8319
8320
8321
8322
8323
# File 'lib/parser/macruby.rb', line 8319

def _reduce_331(val, _values, result)
                      result = [ val[0], @context.dup ]

    result
end

#_reduce_332(val, _values, result) ⇒ Object



8325
8326
8327
8328
8329
# File 'lib/parser/macruby.rb', line 8325

def _reduce_332(val, _values, result)
                      result = [ val[0], @context.dup ]

    result
end

#_reduce_335(val, _values, result) ⇒ Object

reduce 334 omitted



8335
8336
8337
8338
8339
# File 'lib/parser/macruby.rb', line 8335

def _reduce_335(val, _values, result)
                      result = val[1]

    result
end

#_reduce_339(val, _values, result) ⇒ Object

reduce 338 omitted



8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
# File 'lib/parser/macruby.rb', line 8347

def _reduce_339(val, _values, result)
                      else_t, else_ = val[4]
                      result = [ val[0],
                                 @builder.condition(val[0], val[1], val[2],
                                                    val[3], else_t,
                                                    else_,  nil),
                               ]

    result
end

#_reduce_34(val, _values, result) ⇒ Object



6785
6786
6787
6788
6789
6790
6791
6792
# File 'lib/parser/macruby.rb', line 6785

def _reduce_34(val, _values, result)
                      result = @builder.op_assign(
                                  @builder.call_method(
                                    val[0], val[1], val[2]),
                                  val[3], val[4])

    result
end

#_reduce_341(val, _values, result) ⇒ Object

reduce 340 omitted



8360
8361
8362
8363
8364
# File 'lib/parser/macruby.rb', line 8360

def _reduce_341(val, _values, result)
                      result = val

    result
end

#_reduce_345(val, _values, result) ⇒ Object

reduce 344 omitted



8372
8373
8374
8375
8376
# File 'lib/parser/macruby.rb', line 8372

def _reduce_345(val, _values, result)
                      result = @builder.multi_lhs(val[0], val[1], val[2])

    result
end

#_reduce_346(val, _values, result) ⇒ Object



8378
8379
8380
8381
8382
# File 'lib/parser/macruby.rb', line 8378

def _reduce_346(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_347(val, _values, result) ⇒ Object



8384
8385
8386
8387
8388
# File 'lib/parser/macruby.rb', line 8384

def _reduce_347(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_349(val, _values, result) ⇒ Object

reduce 348 omitted



8392
8393
8394
8395
8396
8397
# File 'lib/parser/macruby.rb', line 8392

def _reduce_349(val, _values, result)
                      result = val[0].
                                  push(@builder.objc_restarg(val[2], val[3]))

    result
end

#_reduce_35(val, _values, result) ⇒ Object



6794
6795
6796
6797
6798
# File 'lib/parser/macruby.rb', line 6794

def _reduce_35(val, _values, result)
                      @builder.op_assign(val[0], val[1], val[2])

    result
end

#_reduce_350(val, _values, result) ⇒ Object



8399
8400
8401
8402
8403
8404
8405
# File 'lib/parser/macruby.rb', line 8399

def _reduce_350(val, _values, result)
                      result = val[0].
                                  push(@builder.objc_restarg(val[2], val[3])).
                                  concat(val[5])

    result
end

#_reduce_351(val, _values, result) ⇒ Object



8407
8408
8409
8410
8411
8412
# File 'lib/parser/macruby.rb', line 8407

def _reduce_351(val, _values, result)
                      result = val[0].
                                  push(@builder.objc_restarg(val[2]))

    result
end

#_reduce_352(val, _values, result) ⇒ Object



8414
8415
8416
8417
8418
8419
8420
# File 'lib/parser/macruby.rb', line 8414

def _reduce_352(val, _values, result)
                      result = val[0].
                                  push(@builder.objc_restarg(val[2])).
                                  concat(val[4])

    result
end

#_reduce_353(val, _values, result) ⇒ Object



8422
8423
8424
8425
8426
# File 'lib/parser/macruby.rb', line 8422

def _reduce_353(val, _values, result)
                      result = [ @builder.objc_restarg(val[0], val[1]) ]

    result
end

#_reduce_354(val, _values, result) ⇒ Object



8428
8429
8430
8431
8432
8433
# File 'lib/parser/macruby.rb', line 8428

def _reduce_354(val, _values, result)
                      result = [ @builder.objc_restarg(val[0], val[1]),
                                 *val[3] ]

    result
end

#_reduce_355(val, _values, result) ⇒ Object



8435
8436
8437
8438
8439
# File 'lib/parser/macruby.rb', line 8435

def _reduce_355(val, _values, result)
                      result = [ @builder.objc_restarg(val[0]) ]

    result
end

#_reduce_356(val, _values, result) ⇒ Object



8441
8442
8443
8444
8445
8446
# File 'lib/parser/macruby.rb', line 8441

def _reduce_356(val, _values, result)
                      result = [ @builder.objc_restarg(val[0]),
                                 *val[2] ]

    result
end

#_reduce_357(val, _values, result) ⇒ Object



8448
8449
8450
8451
8452
8453
8454
8455
# File 'lib/parser/macruby.rb', line 8448

def _reduce_357(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_358(val, _values, result) ⇒ Object



8457
8458
8459
8460
8461
8462
8463
8464
8465
# File 'lib/parser/macruby.rb', line 8457

def _reduce_358(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[6]).
                                  concat(val[7])

    result
end

#_reduce_359(val, _values, result) ⇒ Object



8467
8468
8469
8470
8471
8472
8473
# File 'lib/parser/macruby.rb', line 8467

def _reduce_359(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_36(val, _values, result) ⇒ Object



6800
6801
6802
6803
6804
6805
# File 'lib/parser/macruby.rb', line 6800

def _reduce_36(val, _values, result)
                      result = @builder.assign(val[0], val[1],
                                  @builder.array(nil, val[2], nil))

    result
end

#_reduce_360(val, _values, result) ⇒ Object



8475
8476
8477
8478
8479
8480
8481
8482
# File 'lib/parser/macruby.rb', line 8475

def _reduce_360(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_361(val, _values, result) ⇒ Object



8484
8485
8486
8487
8488
8489
8490
# File 'lib/parser/macruby.rb', line 8484

def _reduce_361(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_363(val, _values, result) ⇒ Object

reduce 362 omitted



8494
8495
8496
8497
8498
8499
8500
8501
# File 'lib/parser/macruby.rb', line 8494

def _reduce_363(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_364(val, _values, result) ⇒ Object



8503
8504
8505
8506
8507
8508
8509
8510
8511
# File 'lib/parser/macruby.rb', line 8503

def _reduce_364(val, _values, result)
                      if val[1].empty? && val[0].size == 1
                        result = [@builder.procarg0(val[0][0])]
                      else
                        result = val[0].concat(val[1])
                      end

    result
end

#_reduce_365(val, _values, result) ⇒ Object



8513
8514
8515
8516
8517
8518
8519
# File 'lib/parser/macruby.rb', line 8513

def _reduce_365(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_366(val, _values, result) ⇒ Object



8521
8522
8523
8524
8525
8526
8527
8528
# File 'lib/parser/macruby.rb', line 8521

def _reduce_366(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_367(val, _values, result) ⇒ Object



8530
8531
8532
8533
8534
8535
# File 'lib/parser/macruby.rb', line 8530

def _reduce_367(val, _values, result)
                      result = val[0].
                                  concat(val[1])

    result
end

#_reduce_368(val, _values, result) ⇒ Object



8537
8538
8539
8540
8541
8542
8543
# File 'lib/parser/macruby.rb', line 8537

def _reduce_368(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_369(val, _values, result) ⇒ Object



8545
8546
8547
8548
8549
8550
# File 'lib/parser/macruby.rb', line 8545

def _reduce_369(val, _values, result)
                      result = val[0].
                                  concat(val[1])

    result
end

#_reduce_37(val, _values, result) ⇒ Object



6807
6808
6809
6810
6811
# File 'lib/parser/macruby.rb', line 6807

def _reduce_37(val, _values, result)
                      result = @builder.multi_assign(val[0], val[1], val[2])

    result
end

#_reduce_370(val, _values, result) ⇒ Object



8552
8553
8554
8555
8556
8557
8558
# File 'lib/parser/macruby.rb', line 8552

def _reduce_370(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_371(val, _values, result) ⇒ Object



8560
8561
8562
8563
8564
# File 'lib/parser/macruby.rb', line 8560

def _reduce_371(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_372(val, _values, result) ⇒ Object



8566
8567
8568
8569
8570
# File 'lib/parser/macruby.rb', line 8566

def _reduce_372(val, _values, result)
                      result = @builder.args(nil, [], nil)

    result
end

#_reduce_373(val, _values, result) ⇒ Object



8572
8573
8574
8575
8576
# File 'lib/parser/macruby.rb', line 8572

def _reduce_373(val, _values, result)
                      @lexer.state = :expr_value

    result
end

#_reduce_374(val, _values, result) ⇒ Object



8578
8579
8580
8581
8582
# File 'lib/parser/macruby.rb', line 8578

def _reduce_374(val, _values, result)
                      result = @builder.args(val[0], val[1], val[2])

    result
end

#_reduce_375(val, _values, result) ⇒ Object



8584
8585
8586
8587
8588
# File 'lib/parser/macruby.rb', line 8584

def _reduce_375(val, _values, result)
                      result = @builder.args(val[0], [], val[0])

    result
end

#_reduce_376(val, _values, result) ⇒ Object



8590
8591
8592
8593
8594
# File 'lib/parser/macruby.rb', line 8590

def _reduce_376(val, _values, result)
                      result = @builder.args(val[0], val[1].concat(val[2]), val[3])

    result
end

#_reduce_377(val, _values, result) ⇒ Object



8596
8597
8598
8599
8600
# File 'lib/parser/macruby.rb', line 8596

def _reduce_377(val, _values, result)
                      result = []

    result
end

#_reduce_378(val, _values, result) ⇒ Object



8602
8603
8604
8605
8606
# File 'lib/parser/macruby.rb', line 8602

def _reduce_378(val, _values, result)
                      result = val[1]

    result
end

#_reduce_379(val, _values, result) ⇒ Object



8608
8609
8610
8611
8612
# File 'lib/parser/macruby.rb', line 8608

def _reduce_379(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_38(val, _values, result) ⇒ Object



6813
6814
6815
6816
6817
6818
# File 'lib/parser/macruby.rb', line 6813

def _reduce_38(val, _values, result)
                      result = @builder.multi_assign(val[0], val[1],
                                  @builder.array(nil, val[2], nil))

    result
end

#_reduce_380(val, _values, result) ⇒ Object



8614
8615
8616
8617
8618
# File 'lib/parser/macruby.rb', line 8614

def _reduce_380(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_381(val, _values, result) ⇒ Object



8620
8621
8622
8623
8624
8625
# File 'lib/parser/macruby.rb', line 8620

def _reduce_381(val, _values, result)
                      @static_env.declare val[0][0]
                      result = @builder.shadowarg(val[0])

    result
end

#_reduce_383(val, _values, result) ⇒ Object

reduce 382 omitted



8629
8630
8631
8632
8633
# File 'lib/parser/macruby.rb', line 8629

def _reduce_383(val, _values, result)
                      @static_env.extend_dynamic

    result
end

#_reduce_384(val, _values, result) ⇒ Object



8635
8636
8637
8638
8639
8640
8641
# File 'lib/parser/macruby.rb', line 8635

def _reduce_384(val, _values, result)
                      result = [ val[1], val[2] ]

                      @static_env.unextend

    result
end

#_reduce_385(val, _values, result) ⇒ Object



8643
8644
8645
8646
8647
# File 'lib/parser/macruby.rb', line 8643

def _reduce_385(val, _values, result)
                      result = @builder.args(val[0], val[1].concat(val[2]), val[3])

    result
end

#_reduce_386(val, _values, result) ⇒ Object



8649
8650
8651
8652
8653
# File 'lib/parser/macruby.rb', line 8649

def _reduce_386(val, _values, result)
                      result = @builder.args(nil, val[0], nil)

    result
end

#_reduce_387(val, _values, result) ⇒ Object



8655
8656
8657
8658
8659
8660
# File 'lib/parser/macruby.rb', line 8655

def _reduce_387(val, _values, result)
                      result = @context.dup
                      @context.in_lambda = true

    result
end

#_reduce_388(val, _values, result) ⇒ Object



8662
8663
8664
8665
8666
8667
# File 'lib/parser/macruby.rb', line 8662

def _reduce_388(val, _values, result)
                      result = [ val[0], val[2], val[3] ]
                      @context.in_lambda = val[1].in_lambda

    result
end

#_reduce_389(val, _values, result) ⇒ Object



8669
8670
8671
8672
8673
8674
# File 'lib/parser/macruby.rb', line 8669

def _reduce_389(val, _values, result)
                      result = @context.dup
                      @context.in_lambda = true

    result
end

#_reduce_390(val, _values, result) ⇒ Object



8676
8677
8678
8679
8680
8681
# File 'lib/parser/macruby.rb', line 8676

def _reduce_390(val, _values, result)
                      result = [ val[0], val[2], val[3] ]
                      @context.in_lambda = val[1].in_lambda

    result
end

#_reduce_391(val, _values, result) ⇒ Object



8683
8684
8685
8686
8687
8688
8689
# File 'lib/parser/macruby.rb', line 8683

def _reduce_391(val, _values, result)
                      @static_env.extend_dynamic
                      result = @context.dup
                      @context.in_block = true

    result
end

#_reduce_392(val, _values, result) ⇒ Object



8691
8692
8693
8694
8695
8696
8697
8698
# File 'lib/parser/macruby.rb', line 8691

def _reduce_392(val, _values, result)
                      result = [ val[0], val[2], val[3], val[4] ]

                      @static_env.unextend
                      @context.in_block = val[1].in_block

    result
end

#_reduce_393(val, _values, result) ⇒ Object



8700
8701
8702
8703
8704
8705
8706
# File 'lib/parser/macruby.rb', line 8700

def _reduce_393(val, _values, result)
                      begin_t, block_args, body, end_t = val[1]
                      result      = @builder.block(val[0],
                                      begin_t, block_args, body, end_t)

    result
end

#_reduce_394(val, _values, result) ⇒ Object



8708
8709
8710
8711
8712
8713
8714
# File 'lib/parser/macruby.rb', line 8708

def _reduce_394(val, _values, result)
                      lparen_t, args, rparen_t = val[3]
                      result = @builder.call_method(val[0], val[1], val[2],
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_395(val, _values, result) ⇒ Object



8716
8717
8718
8719
8720
8721
8722
# File 'lib/parser/macruby.rb', line 8716

def _reduce_395(val, _values, result)
                      lparen_t, args, rparen_t = val[3]
                      result = @builder.call_method(val[0], val[1], val[2],
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_396(val, _values, result) ⇒ Object



8724
8725
8726
8727
8728
8729
8730
# File 'lib/parser/macruby.rb', line 8724

def _reduce_396(val, _values, result)
                      lparen_t, args, rparen_t = val[1]
                      result = @builder.call_method(nil, nil, val[0],
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_397(val, _values, result) ⇒ Object



8732
8733
8734
8735
8736
8737
8738
# File 'lib/parser/macruby.rb', line 8732

def _reduce_397(val, _values, result)
                      lparen_t, args, rparen_t = val[3]
                      result = @builder.call_method(val[0], val[1], val[2],
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_398(val, _values, result) ⇒ Object



8740
8741
8742
8743
8744
8745
8746
# File 'lib/parser/macruby.rb', line 8740

def _reduce_398(val, _values, result)
                      lparen_t, args, rparen_t = val[3]
                      result = @builder.call_method(val[0], val[1], val[2],
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_399(val, _values, result) ⇒ Object



8748
8749
8750
8751
8752
# File 'lib/parser/macruby.rb', line 8748

def _reduce_399(val, _values, result)
                      result = @builder.call_method(val[0], val[1], val[2])

    result
end

#_reduce_4(val, _values, result) ⇒ Object



6579
6580
6581
6582
6583
# File 'lib/parser/macruby.rb', line 6579

def _reduce_4(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_400(val, _values, result) ⇒ Object



8754
8755
8756
8757
8758
8759
8760
# File 'lib/parser/macruby.rb', line 8754

def _reduce_400(val, _values, result)
                      lparen_t, args, rparen_t = val[2]
                      result = @builder.call_method(val[0], val[1], nil,
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_401(val, _values, result) ⇒ Object



8762
8763
8764
8765
8766
8767
8768
# File 'lib/parser/macruby.rb', line 8762

def _reduce_401(val, _values, result)
                      lparen_t, args, rparen_t = val[2]
                      result = @builder.call_method(val[0], val[1], nil,
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_402(val, _values, result) ⇒ Object



8770
8771
8772
8773
8774
8775
8776
# File 'lib/parser/macruby.rb', line 8770

def _reduce_402(val, _values, result)
                      lparen_t, args, rparen_t = val[1]
                      result = @builder.keyword_cmd(:super, val[0],
                                  lparen_t, args, rparen_t)

    result
end

#_reduce_403(val, _values, result) ⇒ Object



8778
8779
8780
8781
8782
# File 'lib/parser/macruby.rb', line 8778

def _reduce_403(val, _values, result)
                      result = @builder.keyword_cmd(:zsuper, val[0])

    result
end

#_reduce_404(val, _values, result) ⇒ Object



8784
8785
8786
8787
8788
# File 'lib/parser/macruby.rb', line 8784

def _reduce_404(val, _values, result)
                      result = @builder.index(val[0], val[1], val[2], val[3])

    result
end

#_reduce_405(val, _values, result) ⇒ Object



8790
8791
8792
8793
8794
8795
8796
# File 'lib/parser/macruby.rb', line 8790

def _reduce_405(val, _values, result)
                      @static_env.extend_dynamic
                      result = @context.dup
                      @context.in_block = true

    result
end

#_reduce_406(val, _values, result) ⇒ Object



8798
8799
8800
8801
8802
8803
8804
8805
# File 'lib/parser/macruby.rb', line 8798

def _reduce_406(val, _values, result)
                      result = [ val[0], val[2], val[3], val[4] ]

                      @static_env.unextend
                      @context.in_block = val[1].in_block

    result
end

#_reduce_407(val, _values, result) ⇒ Object



8807
8808
8809
8810
8811
8812
8813
# File 'lib/parser/macruby.rb', line 8807

def _reduce_407(val, _values, result)
                      @static_env.extend_dynamic
                      result = @context.dup
                      @context.in_block = true

    result
end

#_reduce_408(val, _values, result) ⇒ Object



8815
8816
8817
8818
8819
8820
8821
8822
# File 'lib/parser/macruby.rb', line 8815

def _reduce_408(val, _values, result)
                      result = [ val[0], val[2], val[3], val[4] ]

                      @static_env.unextend
                      @context.in_block = val[1].in_block

    result
end

#_reduce_409(val, _values, result) ⇒ Object



8824
8825
8826
8827
8828
8829
# File 'lib/parser/macruby.rb', line 8824

def _reduce_409(val, _values, result)
                      result = [ @builder.when(val[0], val[1], val[2], val[3]),
                                 *val[4] ]

    result
end

#_reduce_41(val, _values, result) ⇒ Object

reduce 40 omitted



6824
6825
6826
6827
6828
# File 'lib/parser/macruby.rb', line 6824

def _reduce_41(val, _values, result)
                      result = @builder.logical_op(:and, val[0], val[1], val[2])

    result
end

#_reduce_410(val, _values, result) ⇒ Object



8831
8832
8833
8834
8835
# File 'lib/parser/macruby.rb', line 8831

def _reduce_410(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_412(val, _values, result) ⇒ Object

reduce 411 omitted



8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
# File 'lib/parser/macruby.rb', line 8839

def _reduce_412(val, _values, result)
                      assoc_t, exc_var = val[2]

                      if val[1]
                        exc_list = @builder.array(nil, val[1], nil)
                      end

                      result = [ @builder.rescue_body(val[0],
                                      exc_list, assoc_t, exc_var,
                                      val[3], val[4]),
                                 *val[5] ]

    result
end

#_reduce_413(val, _values, result) ⇒ Object



8854
8855
8856
8857
8858
# File 'lib/parser/macruby.rb', line 8854

def _reduce_413(val, _values, result)
                      result = []

    result
end

#_reduce_414(val, _values, result) ⇒ Object



8860
8861
8862
8863
8864
# File 'lib/parser/macruby.rb', line 8860

def _reduce_414(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_417(val, _values, result) ⇒ Object

reduce 416 omitted



8870
8871
8872
8873
8874
# File 'lib/parser/macruby.rb', line 8870

def _reduce_417(val, _values, result)
                      result = [ val[0], val[1] ]

    result
end

#_reduce_419(val, _values, result) ⇒ Object

reduce 418 omitted



8878
8879
8880
8881
8882
# File 'lib/parser/macruby.rb', line 8878

def _reduce_419(val, _values, result)
                      result = [ val[0], val[1] ]

    result
end

#_reduce_42(val, _values, result) ⇒ Object



6830
6831
6832
6833
6834
# File 'lib/parser/macruby.rb', line 6830

def _reduce_42(val, _values, result)
                      result = @builder.logical_op(:or, val[0], val[1], val[2])

    result
end

#_reduce_424(val, _values, result) ⇒ Object

reduce 423 omitted



8892
8893
8894
8895
8896
# File 'lib/parser/macruby.rb', line 8892

def _reduce_424(val, _values, result)
                      result = @builder.string_compose(nil, val[0], nil)

    result
end

#_reduce_425(val, _values, result) ⇒ Object



8898
8899
8900
8901
8902
# File 'lib/parser/macruby.rb', line 8898

def _reduce_425(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_426(val, _values, result) ⇒ Object



8904
8905
8906
8907
8908
# File 'lib/parser/macruby.rb', line 8904

def _reduce_426(val, _values, result)
                      result = val[0] << val[1]

    result
end

#_reduce_427(val, _values, result) ⇒ Object



8910
8911
8912
8913
8914
# File 'lib/parser/macruby.rb', line 8910

def _reduce_427(val, _values, result)
                      result = @builder.string_compose(val[0], val[1], val[2])

    result
end

#_reduce_428(val, _values, result) ⇒ Object



8916
8917
8918
8919
8920
# File 'lib/parser/macruby.rb', line 8916

def _reduce_428(val, _values, result)
                      result = @builder.string(val[0])

    result
end

#_reduce_429(val, _values, result) ⇒ Object



8922
8923
8924
8925
8926
# File 'lib/parser/macruby.rb', line 8922

def _reduce_429(val, _values, result)
                      result = @builder.character(val[0])

    result
end

#_reduce_43(val, _values, result) ⇒ Object



6836
6837
6838
6839
6840
# File 'lib/parser/macruby.rb', line 6836

def _reduce_43(val, _values, result)
                      result = @builder.not_op(val[0], nil, val[2], nil)

    result
end

#_reduce_430(val, _values, result) ⇒ Object



8928
8929
8930
8931
8932
# File 'lib/parser/macruby.rb', line 8928

def _reduce_430(val, _values, result)
                      result = @builder.xstring_compose(val[0], val[1], val[2])

    result
end

#_reduce_431(val, _values, result) ⇒ Object



8934
8935
8936
8937
8938
8939
# File 'lib/parser/macruby.rb', line 8934

def _reduce_431(val, _values, result)
                      opts   = @builder.regexp_options(val[3])
                      result = @builder.regexp_compose(val[0], val[1], val[2], opts)

    result
end

#_reduce_432(val, _values, result) ⇒ Object



8941
8942
8943
8944
8945
# File 'lib/parser/macruby.rb', line 8941

def _reduce_432(val, _values, result)
                      result = @builder.words_compose(val[0], val[1], val[2])

    result
end

#_reduce_433(val, _values, result) ⇒ Object



8947
8948
8949
8950
8951
# File 'lib/parser/macruby.rb', line 8947

def _reduce_433(val, _values, result)
                      result = []

    result
end

#_reduce_434(val, _values, result) ⇒ Object



8953
8954
8955
8956
8957
# File 'lib/parser/macruby.rb', line 8953

def _reduce_434(val, _values, result)
                      result = val[0] << @builder.word(val[1])

    result
end

#_reduce_435(val, _values, result) ⇒ Object



8959
8960
8961
8962
8963
# File 'lib/parser/macruby.rb', line 8959

def _reduce_435(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_436(val, _values, result) ⇒ Object



8965
8966
8967
8968
8969
# File 'lib/parser/macruby.rb', line 8965

def _reduce_436(val, _values, result)
                      result = val[0] << val[1]

    result
end

#_reduce_437(val, _values, result) ⇒ Object



8971
8972
8973
8974
8975
# File 'lib/parser/macruby.rb', line 8971

def _reduce_437(val, _values, result)
                      result = @builder.words_compose(val[0], val[1], val[2])

    result
end

#_reduce_438(val, _values, result) ⇒ Object



8977
8978
8979
8980
8981
# File 'lib/parser/macruby.rb', line 8977

def _reduce_438(val, _values, result)
                      result = []

    result
end

#_reduce_439(val, _values, result) ⇒ Object



8983
8984
8985
8986
8987
# File 'lib/parser/macruby.rb', line 8983

def _reduce_439(val, _values, result)
                      result = val[0] << @builder.string_internal(val[1])

    result
end

#_reduce_44(val, _values, result) ⇒ Object



6842
6843
6844
6845
6846
# File 'lib/parser/macruby.rb', line 6842

def _reduce_44(val, _values, result)
                      result = @builder.not_op(val[0], nil, val[1], nil)

    result
end

#_reduce_440(val, _values, result) ⇒ Object



8989
8990
8991
8992
8993
# File 'lib/parser/macruby.rb', line 8989

def _reduce_440(val, _values, result)
                      result = []

    result
end

#_reduce_441(val, _values, result) ⇒ Object



8995
8996
8997
8998
8999
# File 'lib/parser/macruby.rb', line 8995

def _reduce_441(val, _values, result)
                      result = val[0] << val[1]

    result
end

#_reduce_442(val, _values, result) ⇒ Object



9001
9002
9003
9004
9005
# File 'lib/parser/macruby.rb', line 9001

def _reduce_442(val, _values, result)
                      result = []

    result
end

#_reduce_443(val, _values, result) ⇒ Object



9007
9008
9009
9010
9011
# File 'lib/parser/macruby.rb', line 9007

def _reduce_443(val, _values, result)
                      result = val[0] << val[1]

    result
end

#_reduce_444(val, _values, result) ⇒ Object



9013
9014
9015
9016
9017
# File 'lib/parser/macruby.rb', line 9013

def _reduce_444(val, _values, result)
                      result = []

    result
end

#_reduce_445(val, _values, result) ⇒ Object



9019
9020
9021
9022
9023
# File 'lib/parser/macruby.rb', line 9019

def _reduce_445(val, _values, result)
                      result = val[0] << val[1]

    result
end

#_reduce_446(val, _values, result) ⇒ Object



9025
9026
9027
9028
9029
# File 'lib/parser/macruby.rb', line 9025

def _reduce_446(val, _values, result)
                      result = @builder.string_internal(val[0])

    result
end

#_reduce_447(val, _values, result) ⇒ Object



9031
9032
9033
9034
9035
# File 'lib/parser/macruby.rb', line 9031

def _reduce_447(val, _values, result)
                      result = val[1]

    result
end

#_reduce_448(val, _values, result) ⇒ Object



9037
9038
9039
9040
9041
9042
# File 'lib/parser/macruby.rb', line 9037

def _reduce_448(val, _values, result)
                      @lexer.cond.push(false)
                      @lexer.cmdarg.push(false)

    result
end

#_reduce_449(val, _values, result) ⇒ Object



9044
9045
9046
9047
9048
9049
9050
9051
# File 'lib/parser/macruby.rb', line 9044

def _reduce_449(val, _values, result)
                      @lexer.cond.lexpop
                      @lexer.cmdarg.lexpop

                      result = @builder.begin(val[0], val[2], val[3])

    result
end

#_reduce_450(val, _values, result) ⇒ Object



9053
9054
9055
9056
9057
# File 'lib/parser/macruby.rb', line 9053

def _reduce_450(val, _values, result)
                      result = @builder.gvar(val[0])

    result
end

#_reduce_451(val, _values, result) ⇒ Object



9059
9060
9061
9062
9063
# File 'lib/parser/macruby.rb', line 9059

def _reduce_451(val, _values, result)
                      result = @builder.ivar(val[0])

    result
end

#_reduce_452(val, _values, result) ⇒ Object



9065
9066
9067
9068
9069
# File 'lib/parser/macruby.rb', line 9065

def _reduce_452(val, _values, result)
                      result = @builder.cvar(val[0])

    result
end

#_reduce_454(val, _values, result) ⇒ Object

reduce 453 omitted



9073
9074
9075
9076
9077
# File 'lib/parser/macruby.rb', line 9073

def _reduce_454(val, _values, result)
                      result = @builder.symbol(val[0])

    result
end

#_reduce_455(val, _values, result) ⇒ Object



9079
9080
9081
9082
9083
# File 'lib/parser/macruby.rb', line 9079

def _reduce_455(val, _values, result)
                      result = @builder.symbol_compose(val[0], val[1], val[2])

    result
end

#_reduce_456(val, _values, result) ⇒ Object



9085
9086
9087
9088
9089
# File 'lib/parser/macruby.rb', line 9085

def _reduce_456(val, _values, result)
                      result = @builder.integer(val[0])

    result
end

#_reduce_457(val, _values, result) ⇒ Object



9091
9092
9093
9094
9095
# File 'lib/parser/macruby.rb', line 9091

def _reduce_457(val, _values, result)
                      result = @builder.float(val[0])

    result
end

#_reduce_458(val, _values, result) ⇒ Object



9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
# File 'lib/parser/macruby.rb', line 9097

def _reduce_458(val, _values, result)
                      num = @builder.integer(val[1])
                      if @builder.respond_to? :negate
                        # AST builder interface compatibility
                        result = @builder.negate(val[0], num)
                      else
                        result = @builder.unary_num(val[0], num)
                      end

    result
end

#_reduce_459(val, _values, result) ⇒ Object



9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
# File 'lib/parser/macruby.rb', line 9109

def _reduce_459(val, _values, result)
                      num = @builder.float(val[1])
                      if @builder.respond_to? :negate
                        # AST builder interface compatibility
                        result = @builder.negate(val[0], num)
                      else
                        result = @builder.unary_num(val[0], num)
                      end

    result
end

#_reduce_460(val, _values, result) ⇒ Object



9121
9122
9123
9124
9125
# File 'lib/parser/macruby.rb', line 9121

def _reduce_460(val, _values, result)
                      result = @builder.ident(val[0])

    result
end

#_reduce_461(val, _values, result) ⇒ Object



9127
9128
9129
9130
9131
# File 'lib/parser/macruby.rb', line 9127

def _reduce_461(val, _values, result)
                      result = @builder.ivar(val[0])

    result
end

#_reduce_462(val, _values, result) ⇒ Object



9133
9134
9135
9136
9137
# File 'lib/parser/macruby.rb', line 9133

def _reduce_462(val, _values, result)
                      result = @builder.gvar(val[0])

    result
end

#_reduce_463(val, _values, result) ⇒ Object



9139
9140
9141
9142
9143
# File 'lib/parser/macruby.rb', line 9139

def _reduce_463(val, _values, result)
                      result = @builder.const(val[0])

    result
end

#_reduce_464(val, _values, result) ⇒ Object



9145
9146
9147
9148
9149
# File 'lib/parser/macruby.rb', line 9145

def _reduce_464(val, _values, result)
                      result = @builder.cvar(val[0])

    result
end

#_reduce_465(val, _values, result) ⇒ Object



9151
9152
9153
9154
9155
# File 'lib/parser/macruby.rb', line 9151

def _reduce_465(val, _values, result)
                      result = @builder.nil(val[0])

    result
end

#_reduce_466(val, _values, result) ⇒ Object



9157
9158
9159
9160
9161
# File 'lib/parser/macruby.rb', line 9157

def _reduce_466(val, _values, result)
                      result = @builder.self(val[0])

    result
end

#_reduce_467(val, _values, result) ⇒ Object



9163
9164
9165
9166
9167
# File 'lib/parser/macruby.rb', line 9163

def _reduce_467(val, _values, result)
                      result = @builder.true(val[0])

    result
end

#_reduce_468(val, _values, result) ⇒ Object



9169
9170
9171
9172
9173
# File 'lib/parser/macruby.rb', line 9169

def _reduce_468(val, _values, result)
                      result = @builder.false(val[0])

    result
end

#_reduce_469(val, _values, result) ⇒ Object



9175
9176
9177
9178
9179
# File 'lib/parser/macruby.rb', line 9175

def _reduce_469(val, _values, result)
                      result = @builder.__FILE__(val[0])

    result
end

#_reduce_470(val, _values, result) ⇒ Object



9181
9182
9183
9184
9185
# File 'lib/parser/macruby.rb', line 9181

def _reduce_470(val, _values, result)
                      result = @builder.__LINE__(val[0])

    result
end

#_reduce_471(val, _values, result) ⇒ Object



9187
9188
9189
9190
9191
# File 'lib/parser/macruby.rb', line 9187

def _reduce_471(val, _values, result)
                      result = @builder.__ENCODING__(val[0])

    result
end

#_reduce_472(val, _values, result) ⇒ Object



9193
9194
9195
9196
9197
# File 'lib/parser/macruby.rb', line 9193

def _reduce_472(val, _values, result)
                      result = @builder.accessible(val[0])

    result
end

#_reduce_473(val, _values, result) ⇒ Object



9199
9200
9201
9202
9203
# File 'lib/parser/macruby.rb', line 9199

def _reduce_473(val, _values, result)
                      result = @builder.assignable(val[0])

    result
end

#_reduce_474(val, _values, result) ⇒ Object



9205
9206
9207
9208
9209
# File 'lib/parser/macruby.rb', line 9205

def _reduce_474(val, _values, result)
                      result = @builder.nth_ref(val[0])

    result
end

#_reduce_475(val, _values, result) ⇒ Object



9211
9212
9213
9214
9215
# File 'lib/parser/macruby.rb', line 9211

def _reduce_475(val, _values, result)
                      result = @builder.back_ref(val[0])

    result
end

#_reduce_476(val, _values, result) ⇒ Object



9217
9218
9219
9220
9221
# File 'lib/parser/macruby.rb', line 9217

def _reduce_476(val, _values, result)
                      result = nil

    result
end

#_reduce_477(val, _values, result) ⇒ Object



9223
9224
9225
9226
9227
# File 'lib/parser/macruby.rb', line 9223

def _reduce_477(val, _values, result)
                      result = [ val[0], val[1] ]

    result
end

#_reduce_478(val, _values, result) ⇒ Object



9229
9230
9231
9232
9233
9234
# File 'lib/parser/macruby.rb', line 9229

def _reduce_478(val, _values, result)
                      yyerrok
                      result = nil

    result
end

#_reduce_479(val, _values, result) ⇒ Object



9236
9237
9238
9239
9240
9241
9242
# File 'lib/parser/macruby.rb', line 9236

def _reduce_479(val, _values, result)
                      result = @builder.args(val[0], val[1], val[2])

                      @lexer.state = :expr_value

    result
end

#_reduce_480(val, _values, result) ⇒ Object



9244
9245
9246
9247
9248
# File 'lib/parser/macruby.rb', line 9244

def _reduce_480(val, _values, result)
                      result = @builder.args(nil, val[0], nil)

    result
end

#_reduce_481(val, _values, result) ⇒ Object



9250
9251
9252
9253
9254
9255
9256
9257
# File 'lib/parser/macruby.rb', line 9250

def _reduce_481(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_482(val, _values, result) ⇒ Object



9259
9260
9261
9262
9263
9264
9265
9266
9267
# File 'lib/parser/macruby.rb', line 9259

def _reduce_482(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[6]).
                                  concat(val[7])

    result
end

#_reduce_483(val, _values, result) ⇒ Object



9269
9270
9271
9272
9273
9274
9275
# File 'lib/parser/macruby.rb', line 9269

def _reduce_483(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_484(val, _values, result) ⇒ Object



9277
9278
9279
9280
9281
9282
9283
9284
# File 'lib/parser/macruby.rb', line 9277

def _reduce_484(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_485(val, _values, result) ⇒ Object



9286
9287
9288
9289
9290
9291
9292
# File 'lib/parser/macruby.rb', line 9286

def _reduce_485(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_486(val, _values, result) ⇒ Object



9294
9295
9296
9297
9298
9299
9300
9301
# File 'lib/parser/macruby.rb', line 9294

def _reduce_486(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_487(val, _values, result) ⇒ Object



9303
9304
9305
9306
9307
9308
# File 'lib/parser/macruby.rb', line 9303

def _reduce_487(val, _values, result)
                      result = val[0].
                                  concat(val[1])

    result
end

#_reduce_488(val, _values, result) ⇒ Object



9310
9311
9312
9313
9314
9315
9316
# File 'lib/parser/macruby.rb', line 9310

def _reduce_488(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_489(val, _values, result) ⇒ Object



9318
9319
9320
9321
9322
9323
9324
9325
# File 'lib/parser/macruby.rb', line 9318

def _reduce_489(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[4]).
                                  concat(val[5])

    result
end

#_reduce_490(val, _values, result) ⇒ Object



9327
9328
9329
9330
9331
9332
# File 'lib/parser/macruby.rb', line 9327

def _reduce_490(val, _values, result)
                      result = val[0].
                                  concat(val[1])

    result
end

#_reduce_491(val, _values, result) ⇒ Object



9334
9335
9336
9337
9338
9339
9340
# File 'lib/parser/macruby.rb', line 9334

def _reduce_491(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_492(val, _values, result) ⇒ Object



9342
9343
9344
9345
9346
9347
# File 'lib/parser/macruby.rb', line 9342

def _reduce_492(val, _values, result)
                      result = val[0].
                                  concat(val[1])

    result
end

#_reduce_493(val, _values, result) ⇒ Object



9349
9350
9351
9352
9353
9354
9355
# File 'lib/parser/macruby.rb', line 9349

def _reduce_493(val, _values, result)
                      result = val[0].
                                  concat(val[2]).
                                  concat(val[3])

    result
end

#_reduce_494(val, _values, result) ⇒ Object



9357
9358
9359
9360
9361
# File 'lib/parser/macruby.rb', line 9357

def _reduce_494(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_495(val, _values, result) ⇒ Object



9363
9364
9365
9366
9367
# File 'lib/parser/macruby.rb', line 9363

def _reduce_495(val, _values, result)
                      result = []

    result
end

#_reduce_496(val, _values, result) ⇒ Object



9369
9370
9371
9372
9373
# File 'lib/parser/macruby.rb', line 9369

def _reduce_496(val, _values, result)
                      diagnostic :error, :argument_const, nil, val[0]

    result
end

#_reduce_497(val, _values, result) ⇒ Object



9375
9376
9377
9378
9379
# File 'lib/parser/macruby.rb', line 9375

def _reduce_497(val, _values, result)
                      diagnostic :error, :argument_ivar, nil, val[0]

    result
end

#_reduce_498(val, _values, result) ⇒ Object



9381
9382
9383
9384
9385
# File 'lib/parser/macruby.rb', line 9381

def _reduce_498(val, _values, result)
                      diagnostic :error, :argument_gvar, nil, val[0]

    result
end

#_reduce_499(val, _values, result) ⇒ Object



9387
9388
9389
9390
9391
# File 'lib/parser/macruby.rb', line 9387

def _reduce_499(val, _values, result)
                      diagnostic :error, :argument_cvar, nil, val[0]

    result
end

#_reduce_5(val, _values, result) ⇒ Object



6585
6586
6587
6588
6589
# File 'lib/parser/macruby.rb', line 6585

def _reduce_5(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_50(val, _values, result) ⇒ Object

reduce 49 omitted



6858
6859
6860
6861
6862
6863
# File 'lib/parser/macruby.rb', line 6858

def _reduce_50(val, _values, result)
                      result = @builder.call_method(val[0], val[1], val[2],
                                  *val[3])

    result
end

#_reduce_501(val, _values, result) ⇒ Object

reduce 500 omitted



9395
9396
9397
9398
9399
9400
9401
# File 'lib/parser/macruby.rb', line 9395

def _reduce_501(val, _values, result)
                      @static_env.declare val[0][0]

                      result = @builder.arg(val[0])

    result
end

#_reduce_502(val, _values, result) ⇒ Object



9403
9404
9405
9406
9407
9408
9409
# File 'lib/parser/macruby.rb', line 9403

def _reduce_502(val, _values, result)
                      @static_env.declare val[2][0]

                      result = @builder.objc_kwarg(val[0], val[1], val[2])

    result
end

#_reduce_503(val, _values, result) ⇒ Object



9411
9412
9413
9414
9415
9416
9417
# File 'lib/parser/macruby.rb', line 9411

def _reduce_503(val, _values, result)
                      @static_env.declare val[1][0]

                      result = @builder.objc_kwarg(val[0], nil, val[1])

    result
end

#_reduce_505(val, _values, result) ⇒ Object

reduce 504 omitted



9421
9422
9423
9424
9425
# File 'lib/parser/macruby.rb', line 9421

def _reduce_505(val, _values, result)
                      result = @builder.multi_lhs(val[0], val[1], val[2])

    result
end

#_reduce_506(val, _values, result) ⇒ Object



9427
9428
9429
9430
9431
# File 'lib/parser/macruby.rb', line 9427

def _reduce_506(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_507(val, _values, result) ⇒ Object



9433
9434
9435
9436
9437
# File 'lib/parser/macruby.rb', line 9433

def _reduce_507(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_508(val, _values, result) ⇒ Object



9439
9440
9441
9442
9443
9444
9445
# File 'lib/parser/macruby.rb', line 9439

def _reduce_508(val, _values, result)
                      @static_env.declare val[0][0]

                      result = @builder.optarg(val[0], val[1], val[2])

    result
end

#_reduce_509(val, _values, result) ⇒ Object



9447
9448
9449
9450
9451
9452
9453
# File 'lib/parser/macruby.rb', line 9447

def _reduce_509(val, _values, result)
                      @static_env.declare val[0][0]

                      result = @builder.optarg(val[0], val[1], val[2])

    result
end

#_reduce_51(val, _values, result) ⇒ Object



6865
6866
6867
6868
6869
6870
# File 'lib/parser/macruby.rb', line 6865

def _reduce_51(val, _values, result)
                      result = @builder.call_method(val[0], val[1], val[2],
                                  *val[3])

    result
end

#_reduce_510(val, _values, result) ⇒ Object



9455
9456
9457
9458
9459
# File 'lib/parser/macruby.rb', line 9455

def _reduce_510(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_511(val, _values, result) ⇒ Object



9461
9462
9463
9464
9465
# File 'lib/parser/macruby.rb', line 9461

def _reduce_511(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_512(val, _values, result) ⇒ Object



9467
9468
9469
9470
9471
# File 'lib/parser/macruby.rb', line 9467

def _reduce_512(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_513(val, _values, result) ⇒ Object



9473
9474
9475
9476
9477
# File 'lib/parser/macruby.rb', line 9473

def _reduce_513(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_516(val, _values, result) ⇒ Object

reduce 515 omitted



9483
9484
9485
9486
9487
9488
9489
# File 'lib/parser/macruby.rb', line 9483

def _reduce_516(val, _values, result)
                      @static_env.declare val[1][0]

                      result = [ @builder.restarg(val[0], val[1]) ]

    result
end

#_reduce_517(val, _values, result) ⇒ Object



9491
9492
9493
9494
9495
# File 'lib/parser/macruby.rb', line 9491

def _reduce_517(val, _values, result)
                      result = [ @builder.restarg(val[0]) ]

    result
end

#_reduce_52(val, _values, result) ⇒ Object



6872
6873
6874
6875
6876
6877
6878
# File 'lib/parser/macruby.rb', line 6872

def _reduce_52(val, _values, result)
                      @static_env.extend_dynamic
                      result = @context.dup
                      @context.in_block = true

    result
end

#_reduce_520(val, _values, result) ⇒ Object

reduce 519 omitted



9501
9502
9503
9504
9505
9506
9507
# File 'lib/parser/macruby.rb', line 9501

def _reduce_520(val, _values, result)
                      @static_env.declare val[1][0]

                      result = @builder.blockarg(val[0], val[1])

    result
end

#_reduce_521(val, _values, result) ⇒ Object



9509
9510
9511
9512
9513
# File 'lib/parser/macruby.rb', line 9509

def _reduce_521(val, _values, result)
                      result = [ val[1] ]

    result
end

#_reduce_522(val, _values, result) ⇒ Object



9515
9516
9517
9518
9519
# File 'lib/parser/macruby.rb', line 9515

def _reduce_522(val, _values, result)
                      result = []

    result
end

#_reduce_524(val, _values, result) ⇒ Object

reduce 523 omitted



9523
9524
9525
9526
9527
# File 'lib/parser/macruby.rb', line 9523

def _reduce_524(val, _values, result)
                      result = val[1]

    result
end

#_reduce_525(val, _values, result) ⇒ Object



9529
9530
9531
9532
9533
# File 'lib/parser/macruby.rb', line 9529

def _reduce_525(val, _values, result)
                      result = []

    result
end

#_reduce_527(val, _values, result) ⇒ Object

reduce 526 omitted



9537
9538
9539
9540
9541
# File 'lib/parser/macruby.rb', line 9537

def _reduce_527(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_528(val, _values, result) ⇒ Object



9543
9544
9545
9546
9547
# File 'lib/parser/macruby.rb', line 9543

def _reduce_528(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_529(val, _values, result) ⇒ Object



9549
9550
9551
9552
9553
# File 'lib/parser/macruby.rb', line 9549

def _reduce_529(val, _values, result)
                      result = @builder.pair(val[0], val[1], val[2])

    result
end

#_reduce_53(val, _values, result) ⇒ Object



6880
6881
6882
6883
6884
6885
6886
6887
# File 'lib/parser/macruby.rb', line 6880

def _reduce_53(val, _values, result)
                      result = [ val[0], val[2], val[3], val[4] ]

                      @static_env.unextend
                      @context.in_block = val[1].in_block

    result
end

#_reduce_530(val, _values, result) ⇒ Object



9555
9556
9557
9558
9559
# File 'lib/parser/macruby.rb', line 9555

def _reduce_530(val, _values, result)
                      result = @builder.pair_keyword(val[0], val[1])

    result
end

#_reduce_54(val, _values, result) ⇒ Object



6889
6890
6891
6892
6893
6894
# File 'lib/parser/macruby.rb', line 6889

def _reduce_54(val, _values, result)
                      result = @builder.call_method(nil, nil, val[0],
                                  *val[1])

    result
end

#_reduce_547(val, _values, result) ⇒ Object

reduce 546 omitted



9593
9594
9595
9596
9597
# File 'lib/parser/macruby.rb', line 9593

def _reduce_547(val, _values, result)
                      result = val[1]

    result
end

#_reduce_548(val, _values, result) ⇒ Object



9599
9600
9601
9602
9603
# File 'lib/parser/macruby.rb', line 9599

def _reduce_548(val, _values, result)
                      result = val[1]

    result
end

#_reduce_55(val, _values, result) ⇒ Object



6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
# File 'lib/parser/macruby.rb', line 6896

def _reduce_55(val, _values, result)
                      method_call = @builder.call_method(nil, nil, val[0],
                                        *val[1])

                      begin_t, args, body, end_t = val[2]
                      result      = @builder.block(method_call,
                                      begin_t, args, body, end_t)

    result
end

#_reduce_552(val, _values, result) ⇒ Object

reduce 551 omitted



9611
9612
9613
9614
9615
# File 'lib/parser/macruby.rb', line 9611

def _reduce_552(val, _values, result)
                    yyerrok

    result
end

#_reduce_556(val, _values, result) ⇒ Object

reduce 555 omitted



9623
9624
9625
9626
9627
# File 'lib/parser/macruby.rb', line 9623

def _reduce_556(val, _values, result)
                    result = nil

    result
end

#_reduce_56(val, _values, result) ⇒ Object



6907
6908
6909
6910
6911
6912
# File 'lib/parser/macruby.rb', line 6907

def _reduce_56(val, _values, result)
                      result = @builder.call_method(val[0], val[1], val[2],
                                  *val[3])

    result
end

#_reduce_57(val, _values, result) ⇒ Object



6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
# File 'lib/parser/macruby.rb', line 6914

def _reduce_57(val, _values, result)
                      method_call = @builder.call_method(val[0], val[1], val[2],
                                        *val[3])

                      begin_t, args, body, end_t = val[4]
                      result      = @builder.block(method_call,
                                      begin_t, args, body, end_t)

    result
end

#_reduce_58(val, _values, result) ⇒ Object



6925
6926
6927
6928
6929
6930
# File 'lib/parser/macruby.rb', line 6925

def _reduce_58(val, _values, result)
                      result = @builder.call_method(val[0], val[1], val[2],
                                  *val[3])

    result
end

#_reduce_59(val, _values, result) ⇒ Object



6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
# File 'lib/parser/macruby.rb', line 6932

def _reduce_59(val, _values, result)
                      method_call = @builder.call_method(val[0], val[1], val[2],
                                        *val[3])

                      begin_t, args, body, end_t = val[4]
                      result      = @builder.block(method_call,
                                      begin_t, args, body, end_t)

    result
end

#_reduce_6(val, _values, result) ⇒ Object



6591
6592
6593
6594
6595
# File 'lib/parser/macruby.rb', line 6591

def _reduce_6(val, _values, result)
                      result = [ val[1] ]

    result
end

#_reduce_60(val, _values, result) ⇒ Object



6943
6944
6945
6946
6947
6948
# File 'lib/parser/macruby.rb', line 6943

def _reduce_60(val, _values, result)
                      result = @builder.keyword_cmd(:super, val[0],
                                  *val[1])

    result
end

#_reduce_61(val, _values, result) ⇒ Object



6950
6951
6952
6953
6954
6955
# File 'lib/parser/macruby.rb', line 6950

def _reduce_61(val, _values, result)
                      result = @builder.keyword_cmd(:yield, val[0],
                                  *val[1])

    result
end

#_reduce_62(val, _values, result) ⇒ Object



6957
6958
6959
6960
6961
6962
# File 'lib/parser/macruby.rb', line 6957

def _reduce_62(val, _values, result)
                      result = @builder.keyword_cmd(:return, val[0],
                                  nil, val[1], nil)

    result
end

#_reduce_63(val, _values, result) ⇒ Object



6964
6965
6966
6967
6968
6969
# File 'lib/parser/macruby.rb', line 6964

def _reduce_63(val, _values, result)
                      result = @builder.keyword_cmd(:break, val[0],
                                  nil, val[1], nil)

    result
end

#_reduce_64(val, _values, result) ⇒ Object



6971
6972
6973
6974
6975
6976
# File 'lib/parser/macruby.rb', line 6971

def _reduce_64(val, _values, result)
                      result = @builder.keyword_cmd(:next, val[0],
                                  nil, val[1], nil)

    result
end

#_reduce_65(val, _values, result) ⇒ Object



6978
6979
6980
6981
6982
# File 'lib/parser/macruby.rb', line 6978

def _reduce_65(val, _values, result)
                      result = @builder.multi_lhs(nil, val[0], nil)

    result
end

#_reduce_66(val, _values, result) ⇒ Object



6984
6985
6986
6987
6988
# File 'lib/parser/macruby.rb', line 6984

def _reduce_66(val, _values, result)
                      result = @builder.begin(val[0], val[1], val[2])

    result
end

#_reduce_67(val, _values, result) ⇒ Object



6990
6991
6992
6993
6994
# File 'lib/parser/macruby.rb', line 6990

def _reduce_67(val, _values, result)
                      result = @builder.multi_lhs(nil, val[0], nil)

    result
end

#_reduce_68(val, _values, result) ⇒ Object



6996
6997
6998
6999
7000
# File 'lib/parser/macruby.rb', line 6996

def _reduce_68(val, _values, result)
                      result = @builder.multi_lhs(val[0], val[1], val[2])

    result
end

#_reduce_70(val, _values, result) ⇒ Object

reduce 69 omitted



7004
7005
7006
7007
7008
7009
# File 'lib/parser/macruby.rb', line 7004

def _reduce_70(val, _values, result)
                      result = val[0].
                                  push(val[1])

    result
end

#_reduce_71(val, _values, result) ⇒ Object



7011
7012
7013
7014
7015
7016
# File 'lib/parser/macruby.rb', line 7011

def _reduce_71(val, _values, result)
                      result = val[0].
                                  push(@builder.splat(val[1], val[2]))

    result
end

#_reduce_72(val, _values, result) ⇒ Object



7018
7019
7020
7021
7022
7023
7024
# File 'lib/parser/macruby.rb', line 7018

def _reduce_72(val, _values, result)
                      result = val[0].
                                  push(@builder.splat(val[1], val[2])).
                                  concat(val[4])

    result
end

#_reduce_73(val, _values, result) ⇒ Object



7026
7027
7028
7029
7030
7031
# File 'lib/parser/macruby.rb', line 7026

def _reduce_73(val, _values, result)
                      result = val[0].
                                  push(@builder.splat(val[1]))

    result
end

#_reduce_74(val, _values, result) ⇒ Object



7033
7034
7035
7036
7037
7038
7039
# File 'lib/parser/macruby.rb', line 7033

def _reduce_74(val, _values, result)
                      result = val[0].
                                  push(@builder.splat(val[1])).
                                  concat(val[3])

    result
end

#_reduce_75(val, _values, result) ⇒ Object



7041
7042
7043
7044
7045
# File 'lib/parser/macruby.rb', line 7041

def _reduce_75(val, _values, result)
                      result = [ @builder.splat(val[0], val[1]) ]

    result
end

#_reduce_76(val, _values, result) ⇒ Object



7047
7048
7049
7050
7051
7052
# File 'lib/parser/macruby.rb', line 7047

def _reduce_76(val, _values, result)
                      result = [ @builder.splat(val[0], val[1]),
                                 *val[3] ]

    result
end

#_reduce_77(val, _values, result) ⇒ Object



7054
7055
7056
7057
7058
# File 'lib/parser/macruby.rb', line 7054

def _reduce_77(val, _values, result)
                      result = [ @builder.splat(val[0]) ]

    result
end

#_reduce_78(val, _values, result) ⇒ Object



7060
7061
7062
7063
7064
7065
# File 'lib/parser/macruby.rb', line 7060

def _reduce_78(val, _values, result)
                      result = [ @builder.splat(val[0]),
                                 *val[2] ]

    result
end

#_reduce_8(val, _values, result) ⇒ Object

reduce 7 omitted



6599
6600
6601
6602
6603
# File 'lib/parser/macruby.rb', line 6599

def _reduce_8(val, _values, result)
                      result = @builder.preexe(val[0], val[1], val[2], val[3])

    result
end

#_reduce_80(val, _values, result) ⇒ Object

reduce 79 omitted



7069
7070
7071
7072
7073
# File 'lib/parser/macruby.rb', line 7069

def _reduce_80(val, _values, result)
                      result = @builder.begin(val[0], val[1], val[2])

    result
end

#_reduce_81(val, _values, result) ⇒ Object



7075
7076
7077
7078
7079
# File 'lib/parser/macruby.rb', line 7075

def _reduce_81(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_82(val, _values, result) ⇒ Object



7081
7082
7083
7084
7085
# File 'lib/parser/macruby.rb', line 7081

def _reduce_82(val, _values, result)
                      result = val[0] << val[1]

    result
end

#_reduce_83(val, _values, result) ⇒ Object



7087
7088
7089
7090
7091
# File 'lib/parser/macruby.rb', line 7087

def _reduce_83(val, _values, result)
                      result = [ val[0] ]

    result
end

#_reduce_84(val, _values, result) ⇒ Object



7093
7094
7095
7096
7097
# File 'lib/parser/macruby.rb', line 7093

def _reduce_84(val, _values, result)
                      result = val[0] << val[2]

    result
end

#_reduce_85(val, _values, result) ⇒ Object



7099
7100
7101
7102
7103
# File 'lib/parser/macruby.rb', line 7099

def _reduce_85(val, _values, result)
                      result = @builder.assignable(val[0])

    result
end

#_reduce_86(val, _values, result) ⇒ Object



7105
7106
7107
7108
7109
# File 'lib/parser/macruby.rb', line 7105

def _reduce_86(val, _values, result)
                      result = @builder.index_asgn(val[0], val[1], val[2], val[3])

    result
end

#_reduce_87(val, _values, result) ⇒ Object



7111
7112
7113
7114
7115
# File 'lib/parser/macruby.rb', line 7111

def _reduce_87(val, _values, result)
                      result = @builder.attr_asgn(val[0], val[1], val[2])

    result
end

#_reduce_88(val, _values, result) ⇒ Object



7117
7118
7119
7120
7121
# File 'lib/parser/macruby.rb', line 7117

def _reduce_88(val, _values, result)
                      result = @builder.attr_asgn(val[0], val[1], val[2])

    result
end

#_reduce_89(val, _values, result) ⇒ Object



7123
7124
7125
7126
7127
# File 'lib/parser/macruby.rb', line 7123

def _reduce_89(val, _values, result)
                      result = @builder.attr_asgn(val[0], val[1], val[2])

    result
end

#_reduce_9(val, _values, result) ⇒ Object



6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
# File 'lib/parser/macruby.rb', line 6605

def _reduce_9(val, _values, result)
                      rescue_bodies     = val[1]
                      else_t,   else_   = val[2]
                      ensure_t, ensure_ = val[3]

                      if rescue_bodies.empty? && !else_t.nil?
                        diagnostic :warning, :useless_else, nil, else_t
                      end

                      result = @builder.begin_body(val[0],
                                  rescue_bodies,
                                  else_t,   else_,
                                  ensure_t, ensure_)

    result
end

#_reduce_90(val, _values, result) ⇒ Object



7129
7130
7131
7132
7133
7134
# File 'lib/parser/macruby.rb', line 7129

def _reduce_90(val, _values, result)
                      result = @builder.assignable(
                                  @builder.const_fetch(val[0], val[1], val[2]))

    result
end

#_reduce_91(val, _values, result) ⇒ Object



7136
7137
7138
7139
7140
7141
# File 'lib/parser/macruby.rb', line 7136

def _reduce_91(val, _values, result)
                      result = @builder.assignable(
                                  @builder.const_global(val[0], val[1]))

    result
end

#_reduce_92(val, _values, result) ⇒ Object



7143
7144
7145
7146
7147
# File 'lib/parser/macruby.rb', line 7143

def _reduce_92(val, _values, result)
                      result = @builder.assignable(val[0])

    result
end

#_reduce_93(val, _values, result) ⇒ Object



7149
7150
7151
7152
7153
# File 'lib/parser/macruby.rb', line 7149

def _reduce_93(val, _values, result)
                      result = @builder.assignable(val[0])

    result
end

#_reduce_94(val, _values, result) ⇒ Object



7155
7156
7157
7158
7159
# File 'lib/parser/macruby.rb', line 7155

def _reduce_94(val, _values, result)
                      result = @builder.index_asgn(val[0], val[1], val[2], val[3])

    result
end

#_reduce_95(val, _values, result) ⇒ Object



7161
7162
7163
7164
7165
# File 'lib/parser/macruby.rb', line 7161

def _reduce_95(val, _values, result)
                      result = @builder.attr_asgn(val[0], val[1], val[2])

    result
end

#_reduce_96(val, _values, result) ⇒ Object



7167
7168
7169
7170
7171
# File 'lib/parser/macruby.rb', line 7167

def _reduce_96(val, _values, result)
                      result = @builder.attr_asgn(val[0], val[1], val[2])

    result
end

#_reduce_97(val, _values, result) ⇒ Object



7173
7174
7175
7176
7177
# File 'lib/parser/macruby.rb', line 7173

def _reduce_97(val, _values, result)
                      result = @builder.attr_asgn(val[0], val[1], val[2])

    result
end

#_reduce_98(val, _values, result) ⇒ Object



7179
7180
7181
7182
7183
7184
# File 'lib/parser/macruby.rb', line 7179

def _reduce_98(val, _values, result)
                      result = @builder.assignable(
                                  @builder.const_fetch(val[0], val[1], val[2]))

    result
end

#_reduce_99(val, _values, result) ⇒ Object



7186
7187
7188
7189
7190
7191
# File 'lib/parser/macruby.rb', line 7186

def _reduce_99(val, _values, result)
                      result = @builder.assignable(
                                  @builder.const_global(val[0], val[1]))

    result
end

#_reduce_none(val, _values, result) ⇒ Object



9629
9630
9631
# File 'lib/parser/macruby.rb', line 9629

def _reduce_none(val, _values, result)
  val[0]
end

#default_encodingObject



21
22
23
# File 'lib/parser/macruby.rb', line 21

def default_encoding
  Encoding::BINARY
end

#local_popObject



31
32
33
34
35
# File 'lib/parser/macruby.rb', line 31

def local_pop
  @static_env.unextend
  @lexer.cmdarg.pop
  @lexer.cond.pop
end

#local_pushObject



25
26
27
28
29
# File 'lib/parser/macruby.rb', line 25

def local_push
  @static_env.extend_static
  @lexer.cmdarg.push(false)
  @lexer.cond.push(false)
end

#versionObject



17
18
19
# File 'lib/parser/macruby.rb', line 17

def version
  19 # closest released match: v1_9_0_2
end