Class: Parser::Ruby33

Inherits:
Base
  • Object
show all
Defined in:
lib/parser/ruby33.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",
"tDSTAR",
"tPLUS",
"tMINUS",
"tLT",
"tGT",
"tPIPE",
"tBANG",
"tCARET",
"tLCURLY",
"tRCURLY",
"tBACK_REF2",
"tSYMBEG",
"tSTRING_BEG",
"tXSTRING_BEG",
"tREGEXP_BEG",
"tREGEXP_OPT",
"tWORDS_BEG",
"tQWORDS_BEG",
"tSYMBOLS_BEG",
"tQSYMBOLS_BEG",
"tSTRING_DBEG",
"tSTRING_DVAR",
"tSTRING_END",
"tSTRING_DEND",
"tSTRING",
"tSYMBOL",
"tNL",
"tEH",
"tCOLON",
"tCOMMA",
"tSPACE",
"tSEMI",
"tLAMBDA",
"tLAMBEG",
"tCHARACTER",
"tRATIONAL",
"tIMAGINARY",
"tLABEL_END",
"tANDDOT",
"tBDOT2",
"tBDOT3",
"tEQL",
"tLOWEST",
"$start",
"program",
"top_compstmt",
"@1",
"top_stmts",
"opt_terms",
"top_stmt",
"terms",
"stmt",
"begin_block",
"bodystmt",
"compstmt",
"opt_rescue",
"opt_else",
"opt_ensure",
"stmts",
"stmt_or_begin",
"fitem",
"undef_list",
"expr_value",
"command_asgn",
"mlhs",
"command_call",
"lhs",
"mrhs",
"mrhs_arg",
"expr",
"@2",
"command_rhs",
"var_lhs",
"primary_value",
"opt_call_args",
"rbracket",
"call_op",
"defn_head",
"f_opt_paren_args",
"command",
"arg",
"defs_head",
"backref",
"opt_nl",
"p_top_expr_body",
"@3",
"@4",
"expr_value_do",
"do",
"def_name",
"@5",
"fname",
"k_def",
"singleton",
"dot_or_colon",
"@6",
"block_command",
"block_call",
"operation2",
"command_args",
"cmd_brace_block",
"brace_body",
"fcall",
"@7",
"operation",
"k_return",
"call_args",
"mlhs_basic",
"mlhs_inner",
"rparen",
"mlhs_head",
"mlhs_item",
"mlhs_node",
"mlhs_post",
"user_variable",
"keyword_variable",
"cname",
"cpath",
"op",
"reswords",
"symbol",
"@8",
"arg_rhs",
"simple_numeric",
"rel_expr",
"primary",
"relop",
"@9",
"arg_value",
"aref_args",
"none",
"args",
"trailer",
"assocs",
"paren_args",
"args_forward",
"opt_paren_args",
"opt_block_arg",
"block_arg",
"@10",
"literal",
"strings",
"xstring",
"regexp",
"words",
"qwords",
"symbols",
"qsymbols",
"var_ref",
"assoc_list",
"brace_block",
"method_call",
"lambda",
"then",
"if_tail",
"case_body",
"p_case_body",
"for_var",
"k_class",
"superclass",
"term",
"k_module",
"f_arglist",
"@11",
"@12",
"@13",
"@14",
"@15",
"@16",
"@17",
"f_marg",
"f_norm_arg",
"f_margs",
"f_marg_list",
"f_rest_marg",
"f_any_kwrest",
"f_kwrest",
"f_no_kwarg",
"f_eq",
"block_args_tail",
"@18",
"f_block_kwarg",
"opt_f_block_arg",
"f_block_arg",
"opt_block_args_tail",
"excessed_comma",
"block_param",
"f_arg",
"f_block_optarg",
"f_rest_arg",
"opt_block_param",
"block_param_def",
"opt_bv_decl",
"bv_decls",
"bvar",
"f_bad_arg",
"f_larglist",
"lambda_body",
"@19",
"@20",
"f_args",
"do_block",
"@21",
"@22",
"do_body",
"@23",
"operation3",
"@24",
"@25",
"@26",
"@27",
"@28",
"cases",
"p_top_expr",
"p_cases",
"@29",
"@30",
"p_expr",
"p_args",
"p_find",
"p_args_tail",
"p_kwargs",
"p_as",
"p_variable",
"p_alt",
"p_expr_basic",
"p_lparen",
"p_lbracket",
"p_value",
"p_const",
"rbrace",
"@31",
"@32",
"p_args_head",
"p_arg",
"p_rest",
"p_args_post",
"p_kwarg",
"p_any_kwrest",
"p_kw",
"p_kw_label",
"string_contents",
"p_kwrest",
"kwrest_mark",
"p_kwnorest",
"p_primitive",
"p_var_ref",
"p_expr_ref",
"nonlocal_var",
"exc_list",
"exc_var",
"numeric",
"string",
"string1",
"xstring_contents",
"regexp_contents",
"word_list",
"word",
"string_content",
"symbol_list",
"qword_list",
"qsym_list",
"string_dvar",
"@33",
"ssym",
"dsym",
"@34",
"f_paren_args",
"args_tail",
"@35",
"f_kwarg",
"opt_args_tail",
"f_optarg",
"f_arg_asgn",
"f_arg_item",
"f_label",
"f_kw",
"f_block_kw",
"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_1(val, _values, result) ⇒ Object

reduce 0 omitted



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

def _reduce_1(val, _values, result)
                      @current_arg_stack.push(nil)
                      @max_numparam_stack.push(static: true)

    result
end

#_reduce_10(val, _values, result) ⇒ Object



8475
8476
8477
8478
8479
# File 'lib/parser/ruby33.rb', line 8475

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

    result
end

#_reduce_100(val, _values, result) ⇒ Object



9110
9111
9112
9113
9114
9115
# File 'lib/parser/ruby33.rb', line 9110

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

    result
end

#_reduce_102(val, _values, result) ⇒ Object

reduce 101 omitted



9119
9120
9121
9122
9123
# File 'lib/parser/ruby33.rb', line 9119

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

    result
end

#_reduce_103(val, _values, result) ⇒ Object



9125
9126
9127
9128
9129
# File 'lib/parser/ruby33.rb', line 9125

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

    result
end

#_reduce_104(val, _values, result) ⇒ Object



9131
9132
9133
9134
9135
# File 'lib/parser/ruby33.rb', line 9131

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

    result
end

#_reduce_105(val, _values, result) ⇒ Object



9137
9138
9139
9140
9141
# File 'lib/parser/ruby33.rb', line 9137

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

    result
end

#_reduce_106(val, _values, result) ⇒ Object



9143
9144
9145
9146
9147
# File 'lib/parser/ruby33.rb', line 9143

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

    result
end

#_reduce_107(val, _values, result) ⇒ Object



9149
9150
9151
9152
9153
# File 'lib/parser/ruby33.rb', line 9149

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

    result
end

#_reduce_108(val, _values, result) ⇒ Object



9155
9156
9157
9158
9159
# File 'lib/parser/ruby33.rb', line 9155

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

    result
end

#_reduce_109(val, _values, result) ⇒ Object



9161
9162
9163
9164
9165
# File 'lib/parser/ruby33.rb', line 9161

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

    result
end

#_reduce_11(val, _values, result) ⇒ Object



8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
# File 'lib/parser/ruby33.rb', line 8481

def _reduce_11(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 :error, :useless_else, nil, else_t
                      end

                      result = @builder.begin_body(val[0],
                                  rescue_bodies,
                                  else_t,   else_,
                                  ensure_t, ensure_)

    result
end

#_reduce_110(val, _values, result) ⇒ Object



9167
9168
9169
9170
9171
9172
9173
9174
9175
# File 'lib/parser/ruby33.rb', line 9167

def _reduce_110(val, _values, result)
                      if (val[1][0] == :anddot)
                        diagnostic :error, :csend_in_lhs_of_masgn, nil, val[1]
                      end

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

    result
end

#_reduce_111(val, _values, result) ⇒ Object



9177
9178
9179
9180
9181
# File 'lib/parser/ruby33.rb', line 9177

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

    result
end

#_reduce_112(val, _values, result) ⇒ Object



9183
9184
9185
9186
9187
9188
9189
9190
9191
# File 'lib/parser/ruby33.rb', line 9183

def _reduce_112(val, _values, result)
                      if (val[1][0] == :anddot)
                        diagnostic :error, :csend_in_lhs_of_masgn, nil, val[1]
                      end

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

    result
end

#_reduce_113(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_114(val, _values, result) ⇒ Object



9200
9201
9202
9203
9204
9205
# File 'lib/parser/ruby33.rb', line 9200

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

    result
end

#_reduce_115(val, _values, result) ⇒ Object



9207
9208
9209
9210
9211
# File 'lib/parser/ruby33.rb', line 9207

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

    result
end

#_reduce_116(val, _values, result) ⇒ Object



9213
9214
9215
9216
9217
# File 'lib/parser/ruby33.rb', line 9213

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

    result
end

#_reduce_117(val, _values, result) ⇒ Object



9219
9220
9221
9222
9223
# File 'lib/parser/ruby33.rb', line 9219

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

    result
end

#_reduce_118(val, _values, result) ⇒ Object



9225
9226
9227
9228
9229
# File 'lib/parser/ruby33.rb', line 9225

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

    result
end

#_reduce_119(val, _values, result) ⇒ Object



9231
9232
9233
9234
9235
# File 'lib/parser/ruby33.rb', line 9231

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

    result
end

#_reduce_12(val, _values, result) ⇒ Object



8498
8499
8500
8501
8502
# File 'lib/parser/ruby33.rb', line 8498

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

    result
end

#_reduce_120(val, _values, result) ⇒ Object



9237
9238
9239
9240
9241
# File 'lib/parser/ruby33.rb', line 9237

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

    result
end

#_reduce_121(val, _values, result) ⇒ Object



9243
9244
9245
9246
9247
# File 'lib/parser/ruby33.rb', line 9243

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

    result
end

#_reduce_122(val, _values, result) ⇒ Object



9249
9250
9251
9252
9253
9254
# File 'lib/parser/ruby33.rb', line 9249

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

    result
end

#_reduce_123(val, _values, result) ⇒ Object



9256
9257
9258
9259
9260
9261
# File 'lib/parser/ruby33.rb', line 9256

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

    result
end

#_reduce_124(val, _values, result) ⇒ Object



9263
9264
9265
9266
9267
# File 'lib/parser/ruby33.rb', line 9263

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

    result
end

#_reduce_125(val, _values, result) ⇒ Object



9269
9270
9271
9272
9273
# File 'lib/parser/ruby33.rb', line 9269

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

    result
end

#_reduce_127(val, _values, result) ⇒ Object

reduce 126 omitted



9277
9278
9279
9280
9281
# File 'lib/parser/ruby33.rb', line 9277

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

    result
end

#_reduce_128(val, _values, result) ⇒ Object



9283
9284
9285
9286
9287
# File 'lib/parser/ruby33.rb', line 9283

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

    result
end

#_reduce_129(val, _values, result) ⇒ Object



9289
9290
9291
9292
9293
# File 'lib/parser/ruby33.rb', line 9289

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

    result
end

#_reduce_13(val, _values, result) ⇒ Object



8504
8505
8506
8507
8508
# File 'lib/parser/ruby33.rb', line 8504

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

    result
end

#_reduce_135(val, _values, result) ⇒ Object

reduce 134 omitted



9305
9306
9307
9308
9309
# File 'lib/parser/ruby33.rb', line 9305

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

    result
end

#_reduce_137(val, _values, result) ⇒ Object

reduce 136 omitted



9313
9314
9315
9316
9317
# File 'lib/parser/ruby33.rb', line 9313

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

    result
end

#_reduce_138(val, _values, result) ⇒ Object



9319
9320
9321
9322
9323
# File 'lib/parser/ruby33.rb', line 9319

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

    result
end

#_reduce_139(val, _values, result) ⇒ Object



9325
9326
9327
9328
9329
# File 'lib/parser/ruby33.rb', line 9325

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

    result
end

#_reduce_14(val, _values, result) ⇒ Object



8510
8511
8512
8513
8514
# File 'lib/parser/ruby33.rb', line 8510

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

    result
end

#_reduce_15(val, _values, result) ⇒ Object



8516
8517
8518
8519
8520
# File 'lib/parser/ruby33.rb', line 8516

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

    result
end

#_reduce_16(val, _values, result) ⇒ Object



8522
8523
8524
8525
8526
# File 'lib/parser/ruby33.rb', line 8522

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

    result
end

#_reduce_18(val, _values, result) ⇒ Object

reduce 17 omitted



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

def _reduce_18(val, _values, result)
                      diagnostic :error, :begin_in_method, nil, val[0]

    result
end

#_reduce_19(val, _values, result) ⇒ Object



8536
8537
8538
8539
8540
# File 'lib/parser/ruby33.rb', line 8536

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

    result
end

#_reduce_2(val, _values, result) ⇒ Object



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

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

                      @current_arg_stack.pop
                      @max_numparam_stack.pop

    result
end

#_reduce_20(val, _values, result) ⇒ Object



8542
8543
8544
8545
8546
# File 'lib/parser/ruby33.rb', line 8542

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

    result
end

#_reduce_21(val, _values, result) ⇒ Object



8548
8549
8550
8551
8552
8553
8554
# File 'lib/parser/ruby33.rb', line 8548

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

    result
end

#_reduce_211(val, _values, result) ⇒ Object

reduce 210 omitted



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

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

    result
end

#_reduce_212(val, _values, result) ⇒ Object



9479
9480
9481
9482
9483
# File 'lib/parser/ruby33.rb', line 9479

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

    result
end

#_reduce_213(val, _values, result) ⇒ Object



9485
9486
9487
9488
9489
9490
9491
9492
# File 'lib/parser/ruby33.rb', line 9485

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

    result
end

#_reduce_214(val, _values, result) ⇒ Object



9494
9495
9496
9497
9498
9499
9500
9501
# File 'lib/parser/ruby33.rb', line 9494

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

    result
end

#_reduce_215(val, _values, result) ⇒ Object



9503
9504
9505
9506
9507
9508
9509
9510
# File 'lib/parser/ruby33.rb', line 9503

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

    result
end

#_reduce_216(val, _values, result) ⇒ Object



9512
9513
9514
9515
9516
9517
9518
9519
# File 'lib/parser/ruby33.rb', line 9512

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

    result
end

#_reduce_217(val, _values, result) ⇒ Object



9521
9522
9523
9524
9525
9526
9527
# File 'lib/parser/ruby33.rb', line 9521

def _reduce_217(val, _values, result)
                      const  = @builder.const_op_assignable(
                                  @builder.const_fetch(val[0], val[1], val[2]))
                      result = @builder.op_assign(const, val[3], val[4])

    result
end

#_reduce_218(val, _values, result) ⇒ Object



9529
9530
9531
9532
9533
9534
9535
# File 'lib/parser/ruby33.rb', line 9529

def _reduce_218(val, _values, result)
                      const  = @builder.const_op_assignable(
                                  @builder.const_global(val[0], val[1]))
                      result = @builder.op_assign(const, val[2], val[3])

    result
end

#_reduce_219(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_22(val, _values, result) ⇒ Object



8556
8557
8558
8559
8560
8561
8562
# File 'lib/parser/ruby33.rb', line 8556

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

    result
end

#_reduce_220(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_221(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_222(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_223(val, _values, result) ⇒ Object



9561
9562
9563
9564
9565
# File 'lib/parser/ruby33.rb', line 9561

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

    result
end

#_reduce_224(val, _values, result) ⇒ Object



9567
9568
9569
9570
9571
# File 'lib/parser/ruby33.rb', line 9567

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

    result
end

#_reduce_225(val, _values, result) ⇒ Object



9573
9574
9575
9576
9577
# File 'lib/parser/ruby33.rb', line 9573

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

    result
end

#_reduce_226(val, _values, result) ⇒ Object



9579
9580
9581
9582
9583
# File 'lib/parser/ruby33.rb', line 9579

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

    result
end

#_reduce_227(val, _values, result) ⇒ Object



9585
9586
9587
9588
9589
# File 'lib/parser/ruby33.rb', line 9585

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

    result
end

#_reduce_228(val, _values, result) ⇒ Object



9591
9592
9593
9594
9595
# File 'lib/parser/ruby33.rb', line 9591

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

    result
end

#_reduce_229(val, _values, result) ⇒ Object



9597
9598
9599
9600
9601
# File 'lib/parser/ruby33.rb', line 9597

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

    result
end

#_reduce_23(val, _values, result) ⇒ Object



8564
8565
8566
8567
8568
# File 'lib/parser/ruby33.rb', line 8564

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

    result
end

#_reduce_230(val, _values, result) ⇒ Object



9603
9604
9605
9606
9607
# File 'lib/parser/ruby33.rb', line 9603

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

    result
end

#_reduce_231(val, _values, result) ⇒ Object



9609
9610
9611
9612
9613
# File 'lib/parser/ruby33.rb', line 9609

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

    result
end

#_reduce_232(val, _values, result) ⇒ Object



9615
9616
9617
9618
9619
9620
9621
# File 'lib/parser/ruby33.rb', line 9615

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

    result
end

#_reduce_233(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_234(val, _values, result) ⇒ Object



9629
9630
9631
9632
9633
# File 'lib/parser/ruby33.rb', line 9629

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

    result
end

#_reduce_235(val, _values, result) ⇒ Object



9635
9636
9637
9638
9639
# File 'lib/parser/ruby33.rb', line 9635

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

    result
end

#_reduce_236(val, _values, result) ⇒ Object



9641
9642
9643
9644
9645
# File 'lib/parser/ruby33.rb', line 9641

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

    result
end

#_reduce_237(val, _values, result) ⇒ Object



9647
9648
9649
9650
9651
# File 'lib/parser/ruby33.rb', line 9647

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

    result
end

#_reduce_238(val, _values, result) ⇒ Object



9653
9654
9655
9656
9657
# File 'lib/parser/ruby33.rb', line 9653

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

    result
end

#_reduce_24(val, _values, result) ⇒ Object



8570
8571
8572
8573
8574
# File 'lib/parser/ruby33.rb', line 8570

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

    result
end

#_reduce_240(val, _values, result) ⇒ Object

reduce 239 omitted



9661
9662
9663
9664
9665
# File 'lib/parser/ruby33.rb', line 9661

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

    result
end

#_reduce_241(val, _values, result) ⇒ Object



9667
9668
9669
9670
9671
# File 'lib/parser/ruby33.rb', line 9667

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

    result
end

#_reduce_242(val, _values, result) ⇒ Object



9673
9674
9675
9676
9677
# File 'lib/parser/ruby33.rb', line 9673

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

    result
end

#_reduce_243(val, _values, result) ⇒ Object



9679
9680
9681
9682
9683
# File 'lib/parser/ruby33.rb', line 9679

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

    result
end

#_reduce_244(val, _values, result) ⇒ Object



9685
9686
9687
9688
9689
# File 'lib/parser/ruby33.rb', line 9685

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

    result
end

#_reduce_245(val, _values, result) ⇒ Object



9691
9692
9693
9694
9695
# File 'lib/parser/ruby33.rb', line 9691

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

    result
end

#_reduce_246(val, _values, result) ⇒ Object



9697
9698
9699
9700
9701
# File 'lib/parser/ruby33.rb', line 9697

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

    result
end

#_reduce_247(val, _values, result) ⇒ Object



9703
9704
9705
9706
9707
# File 'lib/parser/ruby33.rb', line 9703

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

    result
end

#_reduce_248(val, _values, result) ⇒ Object



9709
9710
9711
9712
9713
# File 'lib/parser/ruby33.rb', line 9709

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

    result
end

#_reduce_249(val, _values, result) ⇒ Object



9715
9716
9717
9718
9719
# File 'lib/parser/ruby33.rb', line 9715

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

    result
end

#_reduce_25(val, _values, result) ⇒ Object



8576
8577
8578
8579
8580
8581
# File 'lib/parser/ruby33.rb', line 8576

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

    result
end

#_reduce_250(val, _values, result) ⇒ Object



9721
9722
9723
9724
9725
# File 'lib/parser/ruby33.rb', line 9721

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

    result
end

#_reduce_251(val, _values, result) ⇒ Object



9727
9728
9729
9730
9731
# File 'lib/parser/ruby33.rb', line 9727

def _reduce_251(val, _values, result)
                      @context.in_defined = true

    result
end

#_reduce_252(val, _values, result) ⇒ Object



9733
9734
9735
9736
9737
9738
# File 'lib/parser/ruby33.rb', line 9733

def _reduce_252(val, _values, result)
                      @context.in_defined = false
                      result = @builder.keyword_cmd(:defined?, val[0], nil, [ val[3] ], nil)

    result
end

#_reduce_253(val, _values, result) ⇒ Object



9740
9741
9742
9743
9744
9745
# File 'lib/parser/ruby33.rb', line 9740

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

    result
end

#_reduce_254(val, _values, result) ⇒ Object



9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
# File 'lib/parser/ruby33.rb', line 9747

def _reduce_254(val, _values, result)
                      def_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      result = @builder.def_endless_method(def_t, name_t,
                                 val[1], val[2], val[3])

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_255(val, _values, result) ⇒ Object



9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
# File 'lib/parser/ruby33.rb', line 9761

def _reduce_255(val, _values, result)
                      def_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      rescue_body = @builder.rescue_body(val[4],
                                        nil, nil, nil,
                                        nil, val[5])

                      method_body = @builder.begin_body(val[3], [ rescue_body ])

                      result = @builder.def_endless_method(def_t, name_t,
                                 val[1], val[2], method_body)

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_256(val, _values, result) ⇒ Object



9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
# File 'lib/parser/ruby33.rb', line 9781

def _reduce_256(val, _values, result)
                      def_t, recv, dot_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      result = @builder.def_endless_singleton(def_t, recv, dot_t, name_t,
                                 val[1], val[2], val[3])

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_257(val, _values, result) ⇒ Object



9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
# File 'lib/parser/ruby33.rb', line 9795

def _reduce_257(val, _values, result)
                      def_t, recv, dot_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      rescue_body = @builder.rescue_body(val[4],
                                        nil, nil, nil,
                                        nil, val[5])

                      method_body = @builder.begin_body(val[3], [ rescue_body ])

                      result = @builder.def_endless_singleton(def_t, recv, dot_t, name_t,
                                 val[1], val[2], method_body)

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_26(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_263(val, _values, result) ⇒ Object

reduce 262 omitted



9825
9826
9827
9828
9829
# File 'lib/parser/ruby33.rb', line 9825

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

    result
end

#_reduce_264(val, _values, result) ⇒ Object



9831
9832
9833
9834
9835
# File 'lib/parser/ruby33.rb', line 9831

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

    result
end

#_reduce_268(val, _values, result) ⇒ Object

reduce 267 omitted



9843
9844
9845
9846
9847
# File 'lib/parser/ruby33.rb', line 9843

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

    result
end

#_reduce_269(val, _values, result) ⇒ Object



9849
9850
9851
9852
9853
# File 'lib/parser/ruby33.rb', line 9849

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

    result
end

#_reduce_27(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_271(val, _values, result) ⇒ Object

reduce 270 omitted



9857
9858
9859
9860
9861
9862
9863
9864
9865
# File 'lib/parser/ruby33.rb', line 9857

def _reduce_271(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_272(val, _values, result) ⇒ Object



9867
9868
9869
9870
9871
# File 'lib/parser/ruby33.rb', line 9867

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

    result
end

#_reduce_273(val, _values, result) ⇒ Object



9873
9874
9875
9876
9877
9878
9879
9880
9881
# File 'lib/parser/ruby33.rb', line 9873

def _reduce_273(val, _values, result)
                      unless @static_env.declared_forward_args?
                        diagnostic :error, :unexpected_token, { :token => 'tBDOT3' } , val[3]
                      end

                      result = [val[0], [*val[1], @builder.forwarded_args(val[3])], val[4]]

    result
end

#_reduce_274(val, _values, result) ⇒ Object



9883
9884
9885
9886
9887
9888
9889
9890
9891
# File 'lib/parser/ruby33.rb', line 9883

def _reduce_274(val, _values, result)
                      unless @static_env.declared_forward_args?
                        diagnostic :error, :unexpected_token, { :token => 'tBDOT3' } , val[1]
                      end

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

    result
end

#_reduce_275(val, _values, result) ⇒ Object



9893
9894
9895
9896
9897
# File 'lib/parser/ruby33.rb', line 9893

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

    result
end

#_reduce_277(val, _values, result) ⇒ Object

reduce 276 omitted



9901
9902
9903
9904
9905
# File 'lib/parser/ruby33.rb', line 9901

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

    result
end

#_reduce_28(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_280(val, _values, result) ⇒ Object

reduce 279 omitted



9911
9912
9913
9914
9915
# File 'lib/parser/ruby33.rb', line 9911

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

    result
end

#_reduce_281(val, _values, result) ⇒ Object



9917
9918
9919
9920
9921
# File 'lib/parser/ruby33.rb', line 9917

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

    result
end

#_reduce_282(val, _values, result) ⇒ Object



9923
9924
9925
9926
9927
# File 'lib/parser/ruby33.rb', line 9923

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

    result
end

#_reduce_283(val, _values, result) ⇒ Object



9929
9930
9931
9932
9933
# File 'lib/parser/ruby33.rb', line 9929

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

    result
end

#_reduce_284(val, _values, result) ⇒ Object



9935
9936
9937
9938
9939
9940
# File 'lib/parser/ruby33.rb', line 9935

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

    result
end

#_reduce_285(val, _values, result) ⇒ Object



9942
9943
9944
9945
9946
9947
9948
# File 'lib/parser/ruby33.rb', line 9942

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

    result
end

#_reduce_286(val, _values, result) ⇒ Object



9950
9951
9952
9953
9954
# File 'lib/parser/ruby33.rb', line 9950

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

    result
end

#_reduce_287(val, _values, result) ⇒ Object



9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
# File 'lib/parser/ruby33.rb', line 9956

def _reduce_287(val, _values, result)
                      # When branch gets invoked by RACC's lookahead
                      # and command args start with '[' or '('
                      # we need to put `true` to the cmdarg stack
                      # **before** `false` pushed by lexer
                      #   m [], n
                      #     ^
                      # Right here we have cmdarg [...0] because
                      # lexer pushed it on '['
                      # We need to modify cmdarg stack to [...10]
                      #
                      # For all other cases (like `m n` or `m n, []`) we simply put 1 to the stack
                      # and later lexer pushes corresponding bits on top of it.
                      last_token = @last_token[0]
                      lookahead = last_token == :tLBRACK || last_token == :tLPAREN_ARG

                      if lookahead
                        top = @lexer.cmdarg.pop
                        @lexer.cmdarg.push(true)
                        @lexer.cmdarg.push(top)
                      else
                        @lexer.cmdarg.push(true)
                      end

    result
end

#_reduce_288(val, _values, result) ⇒ Object



9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
# File 'lib/parser/ruby33.rb', line 9983

def _reduce_288(val, _values, result)
                      # call_args can be followed by tLBRACE_ARG (that does cmdarg.push(0) in the lexer)
                      # but the push must be done after cmdarg.pop() in the parser.
                      # So this code does cmdarg.pop() to pop 0 pushed by tLBRACE_ARG,
                      # cmdarg.pop() to pop 1 pushed by command_args,
                      # and cmdarg.push(0) to restore back the flag set by tLBRACE_ARG.
                      last_token = @last_token[0]
                      lookahead = last_token == :tLBRACE_ARG
                      if lookahead
                        top = @lexer.cmdarg.pop
                        @lexer.cmdarg.pop
                        @lexer.cmdarg.push(top)
                      else
                        @lexer.cmdarg.pop
                      end

                      result = val[1]

    result
end

#_reduce_289(val, _values, result) ⇒ Object



10004
10005
10006
10007
10008
# File 'lib/parser/ruby33.rb', line 10004

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

    result
end

#_reduce_29(val, _values, result) ⇒ Object



8602
8603
8604
8605
8606
8607
8608
8609
8610
# File 'lib/parser/ruby33.rb', line 8602

def _reduce_29(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_290(val, _values, result) ⇒ Object



10010
10011
10012
10013
10014
10015
10016
10017
10018
# File 'lib/parser/ruby33.rb', line 10010

def _reduce_290(val, _values, result)
                      if !@static_env.declared_anonymous_blockarg?
                        diagnostic :error, :no_anonymous_blockarg, nil, val[0]
                      end

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

    result
end

#_reduce_291(val, _values, result) ⇒ Object



10020
10021
10022
10023
10024
# File 'lib/parser/ruby33.rb', line 10020

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

    result
end

#_reduce_292(val, _values, result) ⇒ Object



10026
10027
10028
10029
10030
# File 'lib/parser/ruby33.rb', line 10026

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

    result
end

#_reduce_293(val, _values, result) ⇒ Object



10032
10033
10034
10035
10036
# File 'lib/parser/ruby33.rb', line 10032

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

    result
end

#_reduce_294(val, _values, result) ⇒ Object



10038
10039
10040
10041
10042
# File 'lib/parser/ruby33.rb', line 10038

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

    result
end

#_reduce_295(val, _values, result) ⇒ Object



10044
10045
10046
10047
10048
10049
10050
10051
10052
# File 'lib/parser/ruby33.rb', line 10044

def _reduce_295(val, _values, result)
                      if !@static_env.declared_anonymous_restarg?
                        diagnostic :error, :no_anonymous_restarg, nil, val[0]
                      end

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

    result
end

#_reduce_296(val, _values, result) ⇒ Object



10054
10055
10056
10057
10058
# File 'lib/parser/ruby33.rb', line 10054

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

    result
end

#_reduce_297(val, _values, result) ⇒ Object



10060
10061
10062
10063
10064
# File 'lib/parser/ruby33.rb', line 10060

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

    result
end

#_reduce_298(val, _values, result) ⇒ Object



10066
10067
10068
10069
10070
10071
10072
10073
10074
# File 'lib/parser/ruby33.rb', line 10066

def _reduce_298(val, _values, result)
                      if !@static_env.declared_anonymous_restarg?
                        diagnostic :error, :no_anonymous_restarg, nil, val[2]
                      end

                      result = val[0] << @builder.forwarded_restarg(val[2])

    result
end

#_reduce_299(val, _values, result) ⇒ Object



10076
10077
10078
10079
10080
# File 'lib/parser/ruby33.rb', line 10076

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

    result
end

#_reduce_3(val, _values, result) ⇒ Object



8437
8438
8439
8440
8441
# File 'lib/parser/ruby33.rb', line 8437

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

    result
end

#_reduce_30(val, _values, result) ⇒ Object



8612
8613
8614
8615
8616
# File 'lib/parser/ruby33.rb', line 8612

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

    result
end

#_reduce_301(val, _values, result) ⇒ Object

reduce 300 omitted



10084
10085
10086
10087
10088
# File 'lib/parser/ruby33.rb', line 10084

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

    result
end

#_reduce_302(val, _values, result) ⇒ Object



10090
10091
10092
10093
10094
# File 'lib/parser/ruby33.rb', line 10090

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

    result
end

#_reduce_303(val, _values, result) ⇒ Object



10096
10097
10098
10099
10100
# File 'lib/parser/ruby33.rb', line 10096

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

    result
end

#_reduce_314(val, _values, result) ⇒ Object

reduce 313 omitted



10122
10123
10124
10125
10126
# File 'lib/parser/ruby33.rb', line 10122

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

    result
end

#_reduce_315(val, _values, result) ⇒ Object



10128
10129
10130
10131
10132
# File 'lib/parser/ruby33.rb', line 10128

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

    result
end

#_reduce_316(val, _values, result) ⇒ Object



10134
10135
10136
10137
10138
10139
10140
# File 'lib/parser/ruby33.rb', line 10134

def _reduce_316(val, _values, result)
                      @lexer.cmdarg.pop

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

    result
end

#_reduce_317(val, _values, result) ⇒ Object



10142
10143
10144
10145
10146
# File 'lib/parser/ruby33.rb', line 10142

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

    result
end

#_reduce_318(val, _values, result) ⇒ Object



10148
10149
10150
10151
10152
# File 'lib/parser/ruby33.rb', line 10148

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

    result
end

#_reduce_319(val, _values, result) ⇒ Object



10154
10155
10156
10157
10158
# File 'lib/parser/ruby33.rb', line 10154

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

    result
end

#_reduce_32(val, _values, result) ⇒ Object

reduce 31 omitted



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

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

    result
end

#_reduce_320(val, _values, result) ⇒ Object



10160
10161
10162
10163
10164
# File 'lib/parser/ruby33.rb', line 10160

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

    result
end

#_reduce_321(val, _values, result) ⇒ Object



10166
10167
10168
10169
10170
# File 'lib/parser/ruby33.rb', line 10166

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

    result
end

#_reduce_322(val, _values, result) ⇒ Object



10172
10173
10174
10175
10176
# File 'lib/parser/ruby33.rb', line 10172

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

    result
end

#_reduce_323(val, _values, result) ⇒ Object



10178
10179
10180
10181
10182
# File 'lib/parser/ruby33.rb', line 10178

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

    result
end

#_reduce_324(val, _values, result) ⇒ Object



10184
10185
10186
10187
10188
# File 'lib/parser/ruby33.rb', line 10184

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

    result
end

#_reduce_325(val, _values, result) ⇒ Object



10190
10191
10192
10193
10194
# File 'lib/parser/ruby33.rb', line 10190

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

    result
end

#_reduce_326(val, _values, result) ⇒ Object



10196
10197
10198
10199
10200
# File 'lib/parser/ruby33.rb', line 10196

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

    result
end

#_reduce_327(val, _values, result) ⇒ Object



10202
10203
10204
10205
10206
# File 'lib/parser/ruby33.rb', line 10202

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

    result
end

#_reduce_328(val, _values, result) ⇒ Object



10208
10209
10210
10211
10212
# File 'lib/parser/ruby33.rb', line 10208

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

    result
end

#_reduce_329(val, _values, result) ⇒ Object



10214
10215
10216
10217
10218
# File 'lib/parser/ruby33.rb', line 10214

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

    result
end

#_reduce_33(val, _values, result) ⇒ Object



8626
8627
8628
8629
8630
8631
# File 'lib/parser/ruby33.rb', line 8626

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

    result
end

#_reduce_330(val, _values, result) ⇒ Object



10220
10221
10222
10223
10224
# File 'lib/parser/ruby33.rb', line 10220

def _reduce_330(val, _values, result)
                      @context.in_defined = true

    result
end

#_reduce_331(val, _values, result) ⇒ Object



10226
10227
10228
10229
10230
10231
10232
# File 'lib/parser/ruby33.rb', line 10226

def _reduce_331(val, _values, result)
                      @context.in_defined = false
                      result = @builder.keyword_cmd(:defined?, val[0],
                                                    val[2], [ val[4] ], val[5])

    result
end

#_reduce_332(val, _values, result) ⇒ Object



10234
10235
10236
10237
10238
# File 'lib/parser/ruby33.rb', line 10234

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

    result
end

#_reduce_333(val, _values, result) ⇒ Object



10240
10241
10242
10243
10244
# File 'lib/parser/ruby33.rb', line 10240

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

    result
end

#_reduce_334(val, _values, result) ⇒ Object



10246
10247
10248
10249
10250
10251
10252
10253
10254
# File 'lib/parser/ruby33.rb', line 10246

def _reduce_334(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_336(val, _values, result) ⇒ Object

reduce 335 omitted



10258
10259
10260
10261
10262
10263
10264
# File 'lib/parser/ruby33.rb', line 10258

def _reduce_336(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_338(val, _values, result) ⇒ Object

reduce 337 omitted



10268
10269
10270
10271
10272
10273
10274
10275
# File 'lib/parser/ruby33.rb', line 10268

def _reduce_338(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_339(val, _values, result) ⇒ Object



10277
10278
10279
10280
10281
10282
10283
10284
# File 'lib/parser/ruby33.rb', line 10277

def _reduce_339(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_34(val, _values, result) ⇒ Object



8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
# File 'lib/parser/ruby33.rb', line 8633

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

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

    result
end

#_reduce_340(val, _values, result) ⇒ Object



10286
10287
10288
10289
10290
# File 'lib/parser/ruby33.rb', line 10286

def _reduce_340(val, _values, result)
                      result = @builder.loop(:while, val[0], *val[1], val[2], val[3])

    result
end

#_reduce_341(val, _values, result) ⇒ Object



10292
10293
10294
10295
10296
# File 'lib/parser/ruby33.rb', line 10292

def _reduce_341(val, _values, result)
                      result = @builder.loop(:until, val[0], *val[1], val[2], val[3])

    result
end

#_reduce_342(val, _values, result) ⇒ Object



10298
10299
10300
10301
10302
10303
10304
10305
10306
# File 'lib/parser/ruby33.rb', line 10298

def _reduce_342(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_343(val, _values, result) ⇒ Object



10308
10309
10310
10311
10312
10313
10314
10315
10316
# File 'lib/parser/ruby33.rb', line 10308

def _reduce_343(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_344(val, _values, result) ⇒ Object



10318
10319
10320
10321
10322
10323
10324
10325
10326
# File 'lib/parser/ruby33.rb', line 10318

def _reduce_344(val, _values, result)
                      *in_bodies, (else_t, else_body) = *val[3]

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

    result
end

#_reduce_345(val, _values, result) ⇒ Object



10328
10329
10330
10331
10332
# File 'lib/parser/ruby33.rb', line 10328

def _reduce_345(val, _values, result)
                      result = @builder.for(val[0], val[1], val[2], *val[3], val[4], val[5])

    result
end

#_reduce_346(val, _values, result) ⇒ Object



10334
10335
10336
10337
10338
10339
# File 'lib/parser/ruby33.rb', line 10334

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

    result
end

#_reduce_347(val, _values, result) ⇒ Object



10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
# File 'lib/parser/ruby33.rb', line 10341

def _reduce_347(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_348(val, _values, result) ⇒ Object



10357
10358
10359
10360
10361
10362
10363
# File 'lib/parser/ruby33.rb', line 10357

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

    result
end

#_reduce_349(val, _values, result) ⇒ Object



10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
# File 'lib/parser/ruby33.rb', line 10365

def _reduce_349(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_35(val, _values, result) ⇒ Object



8644
8645
8646
8647
8648
# File 'lib/parser/ruby33.rb', line 8644

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

    result
end

#_reduce_350(val, _values, result) ⇒ Object



10377
10378
10379
10380
10381
10382
# File 'lib/parser/ruby33.rb', line 10377

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

    result
end

#_reduce_351(val, _values, result) ⇒ Object



10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
# File 'lib/parser/ruby33.rb', line 10384

def _reduce_351(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_352(val, _values, result) ⇒ Object



10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
# File 'lib/parser/ruby33.rb', line 10398

def _reduce_352(val, _values, result)
                      def_t, (name_t, ctx) = val[0]
                      result = @builder.def_method(def_t, name_t, val[1],
                                  val[2], val[3])

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_353(val, _values, result) ⇒ Object



10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
# File 'lib/parser/ruby33.rb', line 10410

def _reduce_353(val, _values, result)
                      def_t, recv, dot_t, (name_t, ctx) = val[0]
                      result = @builder.def_singleton(def_t, recv, dot_t, name_t, val[1],
                                  val[2], val[3])

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_354(val, _values, result) ⇒ Object



10422
10423
10424
10425
10426
# File 'lib/parser/ruby33.rb', line 10422

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

    result
end

#_reduce_355(val, _values, result) ⇒ Object



10428
10429
10430
10431
10432
# File 'lib/parser/ruby33.rb', line 10428

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

    result
end

#_reduce_356(val, _values, result) ⇒ Object



10434
10435
10436
10437
10438
# File 'lib/parser/ruby33.rb', line 10434

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

    result
end

#_reduce_357(val, _values, result) ⇒ Object



10440
10441
10442
10443
10444
# File 'lib/parser/ruby33.rb', line 10440

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

    result
end

#_reduce_359(val, _values, result) ⇒ Object

reduce 358 omitted



10448
10449
10450
10451
10452
# File 'lib/parser/ruby33.rb', line 10448

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

    result
end

#_reduce_360(val, _values, result) ⇒ Object



10454
10455
10456
10457
10458
# File 'lib/parser/ruby33.rb', line 10454

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

    result
end

#_reduce_361(val, _values, result) ⇒ Object



10460
10461
10462
10463
10464
10465
# File 'lib/parser/ruby33.rb', line 10460

def _reduce_361(val, _values, result)
                      result = val[0]
                      @context.in_argdef = true

    result
end

#_reduce_362(val, _values, result) ⇒ Object



10467
10468
10469
10470
10471
10472
10473
# File 'lib/parser/ruby33.rb', line 10467

def _reduce_362(val, _values, result)
                      if @context.in_class && !@context.in_def && !(context.in_block || context.in_lambda)
                        diagnostic :error, :invalid_return, nil, val[0]
                      end

    result
end

#_reduce_365(val, _values, result) ⇒ Object

reduce 364 omitted



10479
10480
10481
10482
10483
# File 'lib/parser/ruby33.rb', line 10479

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

    result
end

#_reduce_369(val, _values, result) ⇒ Object

reduce 368 omitted



10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
# File 'lib/parser/ruby33.rb', line 10491

def _reduce_369(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_37(val, _values, result) ⇒ Object

reduce 36 omitted



8652
8653
8654
8655
8656
# File 'lib/parser/ruby33.rb', line 8652

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

    result
end

#_reduce_371(val, _values, result) ⇒ Object

reduce 370 omitted



10504
10505
10506
10507
10508
# File 'lib/parser/ruby33.rb', line 10504

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

    result
end

#_reduce_374(val, _values, result) ⇒ Object

reduce 373 omitted



10514
10515
10516
10517
10518
# File 'lib/parser/ruby33.rb', line 10514

def _reduce_374(val, _values, result)
                      result = @builder.arg(val[0])

    result
end

#_reduce_375(val, _values, result) ⇒ Object



10520
10521
10522
10523
10524
# File 'lib/parser/ruby33.rb', line 10520

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

    result
end

#_reduce_376(val, _values, result) ⇒ Object



10526
10527
10528
10529
10530
# File 'lib/parser/ruby33.rb', line 10526

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

    result
end

#_reduce_377(val, _values, result) ⇒ Object



10532
10533
10534
10535
10536
# File 'lib/parser/ruby33.rb', line 10532

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

    result
end

#_reduce_379(val, _values, result) ⇒ Object

reduce 378 omitted



10540
10541
10542
10543
10544
10545
# File 'lib/parser/ruby33.rb', line 10540

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

    result
end

#_reduce_38(val, _values, result) ⇒ Object



8658
8659
8660
8661
8662
# File 'lib/parser/ruby33.rb', line 8658

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

    result
end

#_reduce_380(val, _values, result) ⇒ Object



10547
10548
10549
10550
10551
10552
10553
# File 'lib/parser/ruby33.rb', line 10547

def _reduce_380(val, _values, result)
                      result = val[0].
                                  push(val[2]).
                                  concat(val[4])

    result
end

#_reduce_381(val, _values, result) ⇒ Object



10555
10556
10557
10558
10559
# File 'lib/parser/ruby33.rb', line 10555

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

    result
end

#_reduce_382(val, _values, result) ⇒ Object



10561
10562
10563
10564
10565
# File 'lib/parser/ruby33.rb', line 10561

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

    result
end

#_reduce_383(val, _values, result) ⇒ Object



10567
10568
10569
10570
10571
# File 'lib/parser/ruby33.rb', line 10567

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

    result
end

#_reduce_384(val, _values, result) ⇒ Object



10573
10574
10575
10576
10577
# File 'lib/parser/ruby33.rb', line 10573

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

    result
end

#_reduce_387(val, _values, result) ⇒ Object

reduce 386 omitted



10583
10584
10585
10586
10587
# File 'lib/parser/ruby33.rb', line 10583

def _reduce_387(val, _values, result)
                      @context.in_argdef = false

    result
end

#_reduce_388(val, _values, result) ⇒ Object



10589
10590
10591
10592
10593
# File 'lib/parser/ruby33.rb', line 10589

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

    result
end

#_reduce_389(val, _values, result) ⇒ Object



10595
10596
10597
10598
10599
# File 'lib/parser/ruby33.rb', line 10595

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

    result
end

#_reduce_39(val, _values, result) ⇒ Object



8664
8665
8666
8667
8668
8669
8670
8671
# File 'lib/parser/ruby33.rb', line 8664

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

    result
end

#_reduce_390(val, _values, result) ⇒ Object



10601
10602
10603
10604
10605
# File 'lib/parser/ruby33.rb', line 10601

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

    result
end

#_reduce_391(val, _values, result) ⇒ Object



10607
10608
10609
10610
10611
# File 'lib/parser/ruby33.rb', line 10607

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

    result
end

#_reduce_392(val, _values, result) ⇒ Object



10613
10614
10615
10616
10617
# File 'lib/parser/ruby33.rb', line 10613

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

    result
end

#_reduce_393(val, _values, result) ⇒ Object



10619
10620
10621
10622
10623
# File 'lib/parser/ruby33.rb', line 10619

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

    result
end

#_reduce_394(val, _values, result) ⇒ Object



10625
10626
10627
10628
10629
# File 'lib/parser/ruby33.rb', line 10625

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

    result
end

#_reduce_396(val, _values, result) ⇒ Object

reduce 395 omitted



10633
10634
10635
10636
10637
10638
10639
10640
# File 'lib/parser/ruby33.rb', line 10633

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

    result
end

#_reduce_397(val, _values, result) ⇒ Object



10642
10643
10644
10645
10646
10647
10648
10649
10650
# File 'lib/parser/ruby33.rb', line 10642

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

    result
end

#_reduce_398(val, _values, result) ⇒ Object



10652
10653
10654
10655
10656
10657
10658
# File 'lib/parser/ruby33.rb', line 10652

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

    result
end

#_reduce_399(val, _values, result) ⇒ Object



10660
10661
10662
10663
10664
10665
10666
10667
# File 'lib/parser/ruby33.rb', line 10660

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

    result
end

#_reduce_4(val, _values, result) ⇒ Object



8443
8444
8445
8446
8447
# File 'lib/parser/ruby33.rb', line 8443

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

    result
end

#_reduce_40(val, _values, result) ⇒ Object



8673
8674
8675
8676
8677
8678
8679
8680
# File 'lib/parser/ruby33.rb', line 8673

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

    result
end

#_reduce_400(val, _values, result) ⇒ Object



10669
10670
10671
10672
10673
10674
10675
# File 'lib/parser/ruby33.rb', line 10669

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

    result
end

#_reduce_402(val, _values, result) ⇒ Object

reduce 401 omitted



10679
10680
10681
10682
10683
10684
10685
10686
# File 'lib/parser/ruby33.rb', line 10679

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

    result
end

#_reduce_403(val, _values, result) ⇒ Object



10688
10689
10690
10691
10692
10693
10694
10695
10696
# File 'lib/parser/ruby33.rb', line 10688

def _reduce_403(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_404(val, _values, result) ⇒ Object



10698
10699
10700
10701
10702
10703
10704
# File 'lib/parser/ruby33.rb', line 10698

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

    result
end

#_reduce_405(val, _values, result) ⇒ Object



10706
10707
10708
10709
10710
10711
10712
10713
# File 'lib/parser/ruby33.rb', line 10706

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

    result
end

#_reduce_406(val, _values, result) ⇒ Object



10715
10716
10717
10718
10719
10720
# File 'lib/parser/ruby33.rb', line 10715

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

    result
end

#_reduce_407(val, _values, result) ⇒ Object



10722
10723
10724
10725
10726
10727
10728
# File 'lib/parser/ruby33.rb', line 10722

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

    result
end

#_reduce_408(val, _values, result) ⇒ Object



10730
10731
10732
10733
10734
10735
# File 'lib/parser/ruby33.rb', line 10730

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

    result
end

#_reduce_409(val, _values, result) ⇒ Object



10737
10738
10739
10740
10741
10742
10743
# File 'lib/parser/ruby33.rb', line 10737

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

    result
end

#_reduce_41(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_411(val, _values, result) ⇒ Object

reduce 410 omitted



10747
10748
10749
10750
10751
# File 'lib/parser/ruby33.rb', line 10747

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

    result
end

#_reduce_412(val, _values, result) ⇒ Object



10753
10754
10755
10756
10757
# File 'lib/parser/ruby33.rb', line 10753

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

    result
end

#_reduce_413(val, _values, result) ⇒ Object



10759
10760
10761
10762
10763
10764
10765
10766
# File 'lib/parser/ruby33.rb', line 10759

def _reduce_413(val, _values, result)
                      @max_numparam_stack.has_ordinary_params!
                      @current_arg_stack.set(nil)
                      @context.in_argdef = false
                      result = @builder.args(val[0], val[1], val[2])

    result
end

#_reduce_414(val, _values, result) ⇒ Object



10768
10769
10770
10771
10772
10773
10774
10775
# File 'lib/parser/ruby33.rb', line 10768

def _reduce_414(val, _values, result)
                      @max_numparam_stack.has_ordinary_params!
                      @current_arg_stack.set(nil)
                      @context.in_argdef = false
                      result = @builder.args(val[0], val[1].concat(val[2]), val[3])

    result
end

#_reduce_415(val, _values, result) ⇒ Object



10777
10778
10779
10780
10781
# File 'lib/parser/ruby33.rb', line 10777

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

    result
end

#_reduce_416(val, _values, result) ⇒ Object



10783
10784
10785
10786
10787
# File 'lib/parser/ruby33.rb', line 10783

def _reduce_416(val, _values, result)
                      result = val[2]

    result
end

#_reduce_417(val, _values, result) ⇒ Object



10789
10790
10791
10792
10793
# File 'lib/parser/ruby33.rb', line 10789

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

    result
end

#_reduce_418(val, _values, result) ⇒ Object



10795
10796
10797
10798
10799
# File 'lib/parser/ruby33.rb', line 10795

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

    result
end

#_reduce_419(val, _values, result) ⇒ Object



10801
10802
10803
10804
10805
10806
# File 'lib/parser/ruby33.rb', line 10801

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

    result
end

#_reduce_42(val, _values, result) ⇒ Object



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

def _reduce_42(val, _values, result)
                      const  = @builder.const_op_assignable(
                                  @builder.const_fetch(val[0], val[1], val[2]))
                      result = @builder.op_assign(const, val[3], val[4])

    result
end

#_reduce_421(val, _values, result) ⇒ Object

reduce 420 omitted



10810
10811
10812
10813
10814
10815
10816
10817
# File 'lib/parser/ruby33.rb', line 10810

def _reduce_421(val, _values, result)
                      @static_env.extend_dynamic
                      @max_numparam_stack.push(static: false)
                      result = @context.dup
                      @context.in_lambda = true

    result
end

#_reduce_422(val, _values, result) ⇒ Object



10819
10820
10821
10822
10823
# File 'lib/parser/ruby33.rb', line 10819

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

    result
end

#_reduce_423(val, _values, result) ⇒ Object



10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
# File 'lib/parser/ruby33.rb', line 10825

def _reduce_423(val, _values, result)
                      lambda_call = @builder.call_lambda(val[0])
                      args = @max_numparam_stack.has_numparams? ? @builder.numargs(@max_numparam_stack.top) : val[2]
                      begin_t, body, end_t = val[4]

                      @max_numparam_stack.pop
                      @static_env.unextend
                      @lexer.cmdarg.pop
                      @context.in_lambda = val[1].in_lambda

                      result      = @builder.block(lambda_call,
                                      begin_t, args, body, end_t)

    result
end

#_reduce_424(val, _values, result) ⇒ Object



10841
10842
10843
10844
10845
10846
10847
# File 'lib/parser/ruby33.rb', line 10841

def _reduce_424(val, _values, result)
                      @context.in_argdef = false
                      @max_numparam_stack.has_ordinary_params!
                      result = @builder.args(val[0], val[1].concat(val[2]), val[3])

    result
end

#_reduce_425(val, _values, result) ⇒ Object



10849
10850
10851
10852
10853
10854
10855
10856
10857
# File 'lib/parser/ruby33.rb', line 10849

def _reduce_425(val, _values, result)
                      @context.in_argdef = false
                      if val[0].any?
                        @max_numparam_stack.has_ordinary_params!
                      end
                      result = @builder.args(nil, val[0], nil)

    result
end

#_reduce_426(val, _values, result) ⇒ Object



10859
10860
10861
10862
10863
10864
# File 'lib/parser/ruby33.rb', line 10859

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

    result
end

#_reduce_427(val, _values, result) ⇒ Object



10866
10867
10868
10869
10870
10871
# File 'lib/parser/ruby33.rb', line 10866

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

    result
end

#_reduce_428(val, _values, result) ⇒ Object



10873
10874
10875
10876
10877
10878
# File 'lib/parser/ruby33.rb', line 10873

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

    result
end

#_reduce_429(val, _values, result) ⇒ Object



10880
10881
10882
10883
10884
10885
# File 'lib/parser/ruby33.rb', line 10880

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

    result
end

#_reduce_43(val, _values, result) ⇒ Object



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

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

    result
end

#_reduce_430(val, _values, result) ⇒ Object



10887
10888
10889
10890
10891
10892
# File 'lib/parser/ruby33.rb', line 10887

def _reduce_430(val, _values, result)
                      result = @context.dup
                      @context.in_block = true

    result
end

#_reduce_431(val, _values, result) ⇒ Object



10894
10895
10896
10897
10898
10899
# File 'lib/parser/ruby33.rb', line 10894

def _reduce_431(val, _values, result)
                      @context.in_block = val[1].in_block
                      result = [ val[0], *val[2], val[3] ]

    result
end

#_reduce_432(val, _values, result) ⇒ Object



10901
10902
10903
10904
10905
10906
10907
# File 'lib/parser/ruby33.rb', line 10901

def _reduce_432(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_433(val, _values, result) ⇒ Object



10909
10910
10911
10912
10913
10914
10915
# File 'lib/parser/ruby33.rb', line 10909

def _reduce_433(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_434(val, _values, result) ⇒ Object



10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
# File 'lib/parser/ruby33.rb', line 10917

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

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

    result
end

#_reduce_435(val, _values, result) ⇒ Object



10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
# File 'lib/parser/ruby33.rb', line 10929

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

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

    result
end

#_reduce_436(val, _values, result) ⇒ Object



10940
10941
10942
10943
10944
10945
10946
# File 'lib/parser/ruby33.rb', line 10940

def _reduce_436(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_437(val, _values, result) ⇒ Object



10948
10949
10950
10951
10952
10953
10954
# File 'lib/parser/ruby33.rb', line 10948

def _reduce_437(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_438(val, _values, result) ⇒ Object



10956
10957
10958
10959
10960
10961
10962
# File 'lib/parser/ruby33.rb', line 10956

def _reduce_438(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_439(val, _values, result) ⇒ Object



10964
10965
10966
10967
10968
# File 'lib/parser/ruby33.rb', line 10964

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

    result
end

#_reduce_44(val, _values, result) ⇒ Object



8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
# File 'lib/parser/ruby33.rb', line 8708

def _reduce_44(val, _values, result)
                      def_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      result = @builder.def_endless_method(def_t, name_t,
                                 val[1], val[2], val[3])

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_440(val, _values, result) ⇒ Object



10970
10971
10972
10973
10974
10975
10976
# File 'lib/parser/ruby33.rb', line 10970

def _reduce_440(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_441(val, _values, result) ⇒ Object



10978
10979
10980
10981
10982
10983
10984
# File 'lib/parser/ruby33.rb', line 10978

def _reduce_441(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_442(val, _values, result) ⇒ Object



10986
10987
10988
10989
10990
10991
10992
# File 'lib/parser/ruby33.rb', line 10986

def _reduce_442(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_443(val, _values, result) ⇒ Object



10994
10995
10996
10997
10998
# File 'lib/parser/ruby33.rb', line 10994

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

    result
end

#_reduce_444(val, _values, result) ⇒ Object



11000
11001
11002
11003
11004
# File 'lib/parser/ruby33.rb', line 11000

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

    result
end

#_reduce_445(val, _values, result) ⇒ Object



11006
11007
11008
11009
11010
11011
# File 'lib/parser/ruby33.rb', line 11006

def _reduce_445(val, _values, result)
                      result = @context.dup
                      @context.in_block = true

    result
end

#_reduce_446(val, _values, result) ⇒ Object



11013
11014
11015
11016
11017
11018
# File 'lib/parser/ruby33.rb', line 11013

def _reduce_446(val, _values, result)
                      @context.in_block = val[1].in_block
                      result = [ val[0], *val[2], val[3] ]

    result
end

#_reduce_447(val, _values, result) ⇒ Object



11020
11021
11022
11023
11024
11025
# File 'lib/parser/ruby33.rb', line 11020

def _reduce_447(val, _values, result)
                      result = @context.dup
                      @context.in_block = true

    result
end

#_reduce_448(val, _values, result) ⇒ Object



11027
11028
11029
11030
11031
11032
# File 'lib/parser/ruby33.rb', line 11027

def _reduce_448(val, _values, result)
                      @context.in_block = val[1].in_block
                      result = [ val[0], *val[2], val[3] ]

    result
end

#_reduce_449(val, _values, result) ⇒ Object



11034
11035
11036
11037
11038
11039
# File 'lib/parser/ruby33.rb', line 11034

def _reduce_449(val, _values, result)
                      @static_env.extend_dynamic
                      @max_numparam_stack.push(static: false)

    result
end

#_reduce_45(val, _values, result) ⇒ Object



8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
# File 'lib/parser/ruby33.rb', line 8722

def _reduce_45(val, _values, result)
                      def_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      rescue_body = @builder.rescue_body(val[4],
                                        nil, nil, nil,
                                        nil, val[5])

                      method_body = @builder.begin_body(val[3], [ rescue_body ])

                      result = @builder.def_endless_method(def_t, name_t,
                                 val[1], val[2], method_body)

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_450(val, _values, result) ⇒ Object



11041
11042
11043
11044
11045
11046
11047
11048
11049
# File 'lib/parser/ruby33.rb', line 11041

def _reduce_450(val, _values, result)
                      args = @max_numparam_stack.has_numparams? ? @builder.numargs(@max_numparam_stack.top) : val[1]
                      result = [ args, val[2] ]

                      @max_numparam_stack.pop
                      @static_env.unextend

    result
end

#_reduce_451(val, _values, result) ⇒ Object



11051
11052
11053
11054
11055
11056
# File 'lib/parser/ruby33.rb', line 11051

def _reduce_451(val, _values, result)
                      @static_env.extend_dynamic
                      @max_numparam_stack.push(static: false)

    result
end

#_reduce_452(val, _values, result) ⇒ Object



11058
11059
11060
11061
11062
# File 'lib/parser/ruby33.rb', line 11058

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

    result
end

#_reduce_453(val, _values, result) ⇒ Object



11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
# File 'lib/parser/ruby33.rb', line 11064

def _reduce_453(val, _values, result)
                      args = @max_numparam_stack.has_numparams? ? @builder.numargs(@max_numparam_stack.top) : val[2]
                      result = [ args, val[3] ]

                      @max_numparam_stack.pop
                      @static_env.unextend
                      @lexer.cmdarg.pop

    result
end

#_reduce_454(val, _values, result) ⇒ Object



11075
11076
11077
11078
11079
11080
# File 'lib/parser/ruby33.rb', line 11075

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

    result
end

#_reduce_455(val, _values, result) ⇒ Object



11082
11083
11084
11085
11086
# File 'lib/parser/ruby33.rb', line 11082

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

    result
end

#_reduce_457(val, _values, result) ⇒ Object

reduce 456 omitted



11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
# File 'lib/parser/ruby33.rb', line 11090

def _reduce_457(val, _values, result)
                      @lexer.state = :expr_beg
                      @lexer.command_start = false
                      @pattern_variables.push
                      @pattern_hash_keys.push

                      result = @context.in_kwarg
                      @context.in_kwarg = true

    result
end

#_reduce_458(val, _values, result) ⇒ Object



11102
11103
11104
11105
11106
11107
11108
# File 'lib/parser/ruby33.rb', line 11102

def _reduce_458(val, _values, result)
                      @pattern_variables.pop
                      @pattern_hash_keys.pop
                      @context.in_kwarg = val[1]

    result
end

#_reduce_459(val, _values, result) ⇒ Object



11110
11111
11112
11113
11114
11115
# File 'lib/parser/ruby33.rb', line 11110

def _reduce_459(val, _values, result)
                      result = [ @builder.in_pattern(val[0], *val[2], val[3], val[5]),
                                 *val[6] ]

    result
end

#_reduce_46(val, _values, result) ⇒ Object



8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
# File 'lib/parser/ruby33.rb', line 8742

def _reduce_46(val, _values, result)
                      def_t, recv, dot_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      result = @builder.def_endless_singleton(def_t, recv, dot_t, name_t,
                                 val[1], val[2], val[3])

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_460(val, _values, result) ⇒ Object



11117
11118
11119
11120
11121
# File 'lib/parser/ruby33.rb', line 11117

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

    result
end

#_reduce_462(val, _values, result) ⇒ Object

reduce 461 omitted



11125
11126
11127
11128
11129
# File 'lib/parser/ruby33.rb', line 11125

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

    result
end

#_reduce_463(val, _values, result) ⇒ Object



11131
11132
11133
11134
11135
# File 'lib/parser/ruby33.rb', line 11131

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

    result
end

#_reduce_464(val, _values, result) ⇒ Object



11137
11138
11139
11140
11141
# File 'lib/parser/ruby33.rb', line 11137

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

    result
end

#_reduce_466(val, _values, result) ⇒ Object

reduce 465 omitted



11145
11146
11147
11148
11149
11150
11151
11152
11153
# File 'lib/parser/ruby33.rb', line 11145

def _reduce_466(val, _values, result)
                      # array patterns that end with comma
                      # like 1, 2,
                      # must be emitted as `array_pattern_with_tail`
                      item = @builder.match_with_trailing_comma(val[0], val[1])
                      result = @builder.array_pattern(nil, [ item ], nil)

    result
end

#_reduce_467(val, _values, result) ⇒ Object



11155
11156
11157
11158
11159
# File 'lib/parser/ruby33.rb', line 11155

def _reduce_467(val, _values, result)
                      result = @builder.array_pattern(nil, [val[0]].concat(val[2]), nil)

    result
end

#_reduce_468(val, _values, result) ⇒ Object



11161
11162
11163
11164
11165
# File 'lib/parser/ruby33.rb', line 11161

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

    result
end

#_reduce_469(val, _values, result) ⇒ Object



11167
11168
11169
11170
11171
# File 'lib/parser/ruby33.rb', line 11167

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

    result
end

#_reduce_47(val, _values, result) ⇒ Object



8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
# File 'lib/parser/ruby33.rb', line 8756

def _reduce_47(val, _values, result)
                      def_t, recv, dot_t, (name_t, ctx) = val[0]
                      endless_method_name(name_t)

                      rescue_body = @builder.rescue_body(val[4],
                                        nil, nil, nil,
                                        nil, val[5])

                      method_body = @builder.begin_body(val[3], [ rescue_body ])

                      result = @builder.def_endless_singleton(def_t, recv, dot_t, name_t,
                                 val[1], val[2], method_body)

                      local_pop
                      @current_arg_stack.pop
                      @context.in_def = ctx.in_def

    result
end

#_reduce_470(val, _values, result) ⇒ Object



11173
11174
11175
11176
11177
# File 'lib/parser/ruby33.rb', line 11173

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

    result
end

#_reduce_472(val, _values, result) ⇒ Object

reduce 471 omitted



11181
11182
11183
11184
11185
# File 'lib/parser/ruby33.rb', line 11181

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

    result
end

#_reduce_474(val, _values, result) ⇒ Object

reduce 473 omitted



11189
11190
11191
11192
11193
# File 'lib/parser/ruby33.rb', line 11189

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

    result
end

#_reduce_476(val, _values, result) ⇒ Object

reduce 475 omitted



11197
11198
11199
11200
11201
11202
# File 'lib/parser/ruby33.rb', line 11197

def _reduce_476(val, _values, result)
                      result = val[0]
                      @pattern_hash_keys.push

    result
end

#_reduce_477(val, _values, result) ⇒ Object



11204
11205
11206
11207
11208
11209
# File 'lib/parser/ruby33.rb', line 11204

def _reduce_477(val, _values, result)
                      result = val[0]
                      @pattern_hash_keys.push

    result
end

#_reduce_48(val, _values, result) ⇒ Object



8776
8777
8778
8779
8780
# File 'lib/parser/ruby33.rb', line 8776

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

    result
end

#_reduce_480(val, _values, result) ⇒ Object

reduce 479 omitted



11215
11216
11217
11218
11219
11220
11221
# File 'lib/parser/ruby33.rb', line 11215

def _reduce_480(val, _values, result)
                      @pattern_hash_keys.pop
                      pattern = @builder.array_pattern(nil, val[2], nil)
                      result = @builder.const_pattern(val[0], val[1], pattern, val[3])

    result
end

#_reduce_481(val, _values, result) ⇒ Object



11223
11224
11225
11226
11227
11228
11229
# File 'lib/parser/ruby33.rb', line 11223

def _reduce_481(val, _values, result)
                      @pattern_hash_keys.pop
                      pattern = @builder.find_pattern(nil, val[2], nil)
                      result = @builder.const_pattern(val[0], val[1], pattern, val[3])

    result
end

#_reduce_482(val, _values, result) ⇒ Object



11231
11232
11233
11234
11235
11236
11237
# File 'lib/parser/ruby33.rb', line 11231

def _reduce_482(val, _values, result)
                      @pattern_hash_keys.pop
                      pattern = @builder.hash_pattern(nil, val[2], nil)
                      result = @builder.const_pattern(val[0], val[1], pattern, val[3])

    result
end

#_reduce_483(val, _values, result) ⇒ Object



11239
11240
11241
11242
11243
11244
# File 'lib/parser/ruby33.rb', line 11239

def _reduce_483(val, _values, result)
                      pattern = @builder.array_pattern(val[1], nil, val[2])
                      result = @builder.const_pattern(val[0], val[1], pattern, val[2])

    result
end

#_reduce_484(val, _values, result) ⇒ Object



11246
11247
11248
11249
11250
11251
11252
# File 'lib/parser/ruby33.rb', line 11246

def _reduce_484(val, _values, result)
                      @pattern_hash_keys.pop
                      pattern = @builder.array_pattern(nil, val[2], nil)
                      result = @builder.const_pattern(val[0], val[1], pattern, val[3])

    result
end

#_reduce_485(val, _values, result) ⇒ Object



11254
11255
11256
11257
11258
11259
11260
# File 'lib/parser/ruby33.rb', line 11254

def _reduce_485(val, _values, result)
                      @pattern_hash_keys.pop
                      pattern = @builder.find_pattern(nil, val[2], nil)
                      result = @builder.const_pattern(val[0], val[1], pattern, val[3])

    result
end

#_reduce_486(val, _values, result) ⇒ Object



11262
11263
11264
11265
11266
11267
11268
# File 'lib/parser/ruby33.rb', line 11262

def _reduce_486(val, _values, result)
                      @pattern_hash_keys.pop
                      pattern = @builder.hash_pattern(nil, val[2], nil)
                      result = @builder.const_pattern(val[0], val[1], pattern, val[3])

    result
end

#_reduce_487(val, _values, result) ⇒ Object



11270
11271
11272
11273
11274
11275
# File 'lib/parser/ruby33.rb', line 11270

def _reduce_487(val, _values, result)
                      pattern = @builder.array_pattern(val[1], nil, val[2])
                      result = @builder.const_pattern(val[0], val[1], pattern, val[2])

    result
end

#_reduce_488(val, _values, result) ⇒ Object



11277
11278
11279
11280
11281
# File 'lib/parser/ruby33.rb', line 11277

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

    result
end

#_reduce_489(val, _values, result) ⇒ Object



11283
11284
11285
11286
11287
# File 'lib/parser/ruby33.rb', line 11283

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

    result
end

#_reduce_490(val, _values, result) ⇒ Object



11289
11290
11291
11292
11293
# File 'lib/parser/ruby33.rb', line 11289

def _reduce_490(val, _values, result)
                      result = @builder.array_pattern(val[0], [], val[1])

    result
end

#_reduce_491(val, _values, result) ⇒ Object



11295
11296
11297
11298
11299
11300
11301
# File 'lib/parser/ruby33.rb', line 11295

def _reduce_491(val, _values, result)
                      @pattern_hash_keys.push
                      result = @context.in_kwarg
                      @context.in_kwarg = false

    result
end

#_reduce_492(val, _values, result) ⇒ Object



11303
11304
11305
11306
11307
11308
11309
# File 'lib/parser/ruby33.rb', line 11303

def _reduce_492(val, _values, result)
                      @pattern_hash_keys.pop
                      @context.in_kwarg = val[1]
                      result = @builder.hash_pattern(val[0], val[2], val[3])

    result
end

#_reduce_493(val, _values, result) ⇒ Object



11311
11312
11313
11314
11315
# File 'lib/parser/ruby33.rb', line 11311

def _reduce_493(val, _values, result)
                      result = @builder.hash_pattern(val[0], [], val[1])

    result
end

#_reduce_494(val, _values, result) ⇒ Object



11317
11318
11319
11320
11321
# File 'lib/parser/ruby33.rb', line 11317

def _reduce_494(val, _values, result)
                      @pattern_hash_keys.push

    result
end

#_reduce_495(val, _values, result) ⇒ Object



11323
11324
11325
11326
11327
11328
# File 'lib/parser/ruby33.rb', line 11323

def _reduce_495(val, _values, result)
                      @pattern_hash_keys.pop
                      result = @builder.begin(val[0], val[2], val[3])

    result
end

#_reduce_496(val, _values, result) ⇒ Object



11330
11331
11332
11333
11334
# File 'lib/parser/ruby33.rb', line 11330

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

    result
end

#_reduce_497(val, _values, result) ⇒ Object



11336
11337
11338
11339
11340
# File 'lib/parser/ruby33.rb', line 11336

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

    result
end

#_reduce_498(val, _values, result) ⇒ Object



11342
11343
11344
11345
11346
# File 'lib/parser/ruby33.rb', line 11342

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

    result
end

#_reduce_499(val, _values, result) ⇒ Object



11348
11349
11350
11351
11352
# File 'lib/parser/ruby33.rb', line 11348

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

    result
end

#_reduce_5(val, _values, result) ⇒ Object



8449
8450
8451
8452
8453
# File 'lib/parser/ruby33.rb', line 8449

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

    result
end

#_reduce_50(val, _values, result) ⇒ Object

reduce 49 omitted



8784
8785
8786
8787
8788
8789
8790
8791
8792
# File 'lib/parser/ruby33.rb', line 8784

def _reduce_50(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_500(val, _values, result) ⇒ Object



11354
11355
11356
11357
11358
# File 'lib/parser/ruby33.rb', line 11354

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

    result
end

#_reduce_502(val, _values, result) ⇒ Object

reduce 501 omitted



11362
11363
11364
11365
11366
11367
11368
11369
11370
# File 'lib/parser/ruby33.rb', line 11362

def _reduce_502(val, _values, result)
                      # array patterns that end with comma
                      # like [1, 2,]
                      # must be emitted as `array_pattern_with_tail`
                      item = @builder.match_with_trailing_comma(val[0], val[1])
                      result = [ item ]

    result
end

#_reduce_503(val, _values, result) ⇒ Object



11372
11373
11374
11375
11376
11377
11378
11379
11380
# File 'lib/parser/ruby33.rb', line 11372

def _reduce_503(val, _values, result)
                      # array patterns that end with comma
                      # like [1, 2,]
                      # must be emitted as `array_pattern_with_tail`
                      last_item = @builder.match_with_trailing_comma(val[1], val[2])
                      result = [ *val[0], last_item ]

    result
end

#_reduce_504(val, _values, result) ⇒ Object



11382
11383
11384
11385
11386
# File 'lib/parser/ruby33.rb', line 11382

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

    result
end

#_reduce_505(val, _values, result) ⇒ Object



11388
11389
11390
11391
11392
# File 'lib/parser/ruby33.rb', line 11388

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

    result
end

#_reduce_506(val, _values, result) ⇒ Object



11394
11395
11396
11397
11398
# File 'lib/parser/ruby33.rb', line 11394

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

    result
end

#_reduce_507(val, _values, result) ⇒ Object



11400
11401
11402
11403
11404
# File 'lib/parser/ruby33.rb', line 11400

def _reduce_507(val, _values, result)
                      result = @builder.match_rest(val[0], val[1])

    result
end

#_reduce_508(val, _values, result) ⇒ Object



11406
11407
11408
11409
11410
# File 'lib/parser/ruby33.rb', line 11406

def _reduce_508(val, _values, result)
                      result = @builder.match_rest(val[0])

    result
end

#_reduce_509(val, _values, result) ⇒ Object



11412
11413
11414
11415
11416
# File 'lib/parser/ruby33.rb', line 11412

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

    result
end

#_reduce_510(val, _values, result) ⇒ Object



11418
11419
11420
11421
11422
# File 'lib/parser/ruby33.rb', line 11418

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

    result
end

#_reduce_512(val, _values, result) ⇒ Object

reduce 511 omitted



11426
11427
11428
11429
11430
# File 'lib/parser/ruby33.rb', line 11426

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

    result
end

#_reduce_513(val, _values, result) ⇒ Object



11432
11433
11434
11435
11436
# File 'lib/parser/ruby33.rb', line 11432

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

    result
end

#_reduce_514(val, _values, result) ⇒ Object



11438
11439
11440
11441
11442
# File 'lib/parser/ruby33.rb', line 11438

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

    result
end

#_reduce_515(val, _values, result) ⇒ Object



11444
11445
11446
11447
11448
# File 'lib/parser/ruby33.rb', line 11444

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

    result
end

#_reduce_516(val, _values, result) ⇒ Object



11450
11451
11452
11453
11454
# File 'lib/parser/ruby33.rb', line 11450

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

    result
end

#_reduce_517(val, _values, result) ⇒ Object



11456
11457
11458
11459
11460
# File 'lib/parser/ruby33.rb', line 11456

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

    result
end

#_reduce_518(val, _values, result) ⇒ Object



11462
11463
11464
11465
11466
# File 'lib/parser/ruby33.rb', line 11462

def _reduce_518(val, _values, result)
                      result = @builder.match_pair(*val[0], val[1])

    result
end

#_reduce_519(val, _values, result) ⇒ Object



11468
11469
11470
11471
11472
# File 'lib/parser/ruby33.rb', line 11468

def _reduce_519(val, _values, result)
                      result = @builder.match_label(*val[0])

    result
end

#_reduce_520(val, _values, result) ⇒ Object



11474
11475
11476
11477
11478
# File 'lib/parser/ruby33.rb', line 11474

def _reduce_520(val, _values, result)
                    result = [:label, val[0]]

    result
end

#_reduce_521(val, _values, result) ⇒ Object



11480
11481
11482
11483
11484
# File 'lib/parser/ruby33.rb', line 11480

def _reduce_521(val, _values, result)
                    result = [:quoted, [val[0], val[1], val[2]]]

    result
end

#_reduce_522(val, _values, result) ⇒ Object



11486
11487
11488
11489
11490
# File 'lib/parser/ruby33.rb', line 11486

def _reduce_522(val, _values, result)
                      result = [ @builder.match_rest(val[0], val[1]) ]

    result
end

#_reduce_523(val, _values, result) ⇒ Object



11492
11493
11494
11495
11496
# File 'lib/parser/ruby33.rb', line 11492

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

    result
end

#_reduce_524(val, _values, result) ⇒ Object



11498
11499
11500
11501
11502
# File 'lib/parser/ruby33.rb', line 11498

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

    result
end

#_reduce_526(val, _values, result) ⇒ Object

reduce 525 omitted



11506
11507
11508
11509
11510
# File 'lib/parser/ruby33.rb', line 11506

def _reduce_526(val, _values, result)
                      result = [ @builder.match_nil_pattern(val[0][0], val[0][1]) ]

    result
end

#_reduce_528(val, _values, result) ⇒ Object

reduce 527 omitted



11514
11515
11516
11517
11518
# File 'lib/parser/ruby33.rb', line 11514

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

    result
end

#_reduce_529(val, _values, result) ⇒ Object



11520
11521
11522
11523
11524
# File 'lib/parser/ruby33.rb', line 11520

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

    result
end

#_reduce_53(val, _values, result) ⇒ Object

reduce 52 omitted



8798
8799
8800
8801
8802
# File 'lib/parser/ruby33.rb', line 8798

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

    result
end

#_reduce_530(val, _values, result) ⇒ Object



11526
11527
11528
11529
11530
# File 'lib/parser/ruby33.rb', line 11526

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

    result
end

#_reduce_531(val, _values, result) ⇒ Object



11532
11533
11534
11535
11536
# File 'lib/parser/ruby33.rb', line 11532

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

    result
end

#_reduce_535(val, _values, result) ⇒ Object

reduce 534 omitted



11544
11545
11546
11547
11548
# File 'lib/parser/ruby33.rb', line 11544

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

    result
end

#_reduce_536(val, _values, result) ⇒ Object



11550
11551
11552
11553
11554
# File 'lib/parser/ruby33.rb', line 11550

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

    result
end

#_reduce_54(val, _values, result) ⇒ Object



8804
8805
8806
8807
8808
# File 'lib/parser/ruby33.rb', line 8804

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

    result
end

#_reduce_545(val, _values, result) ⇒ Object

reduce 544 omitted



11572
11573
11574
11575
11576
# File 'lib/parser/ruby33.rb', line 11572

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

    result
end

#_reduce_547(val, _values, result) ⇒ Object

reduce 546 omitted



11580
11581
11582
11583
11584
# File 'lib/parser/ruby33.rb', line 11580

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

    result
end

#_reduce_548(val, _values, result) ⇒ Object



11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
# File 'lib/parser/ruby33.rb', line 11586

def _reduce_548(val, _values, result)
                      name = val[1][0]
                      unless static_env.declared?(name)
                        diagnostic :error, :undefined_lvar, { :name => name }, val[1]
                      end

                      lvar = @builder.accessible(@builder.ident(val[1]))
                      result = @builder.pin(val[0], lvar)

    result
end

#_reduce_549(val, _values, result) ⇒ Object



11598
11599
11600
11601
11602
11603
# File 'lib/parser/ruby33.rb', line 11598

def _reduce_549(val, _values, result)
                      non_lvar = @builder.accessible(val[1])
                      result = @builder.pin(val[0], non_lvar)

    result
end

#_reduce_55(val, _values, result) ⇒ Object



8810
8811
8812
8813
8814
# File 'lib/parser/ruby33.rb', line 8810

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

    result
end

#_reduce_550(val, _values, result) ⇒ Object



11605
11606
11607
11608
11609
11610
# File 'lib/parser/ruby33.rb', line 11605

def _reduce_550(val, _values, result)
                      expr = @builder.begin(val[1], val[2], val[3])
                      result = @builder.pin(val[0], expr)

    result
end

#_reduce_551(val, _values, result) ⇒ Object



11612
11613
11614
11615
11616
# File 'lib/parser/ruby33.rb', line 11612

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

    result
end

#_reduce_552(val, _values, result) ⇒ Object



11618
11619
11620
11621
11622
# File 'lib/parser/ruby33.rb', line 11618

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

    result
end

#_reduce_553(val, _values, result) ⇒ Object



11624
11625
11626
11627
11628
# File 'lib/parser/ruby33.rb', line 11624

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

    result
end

#_reduce_554(val, _values, result) ⇒ Object



11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
# File 'lib/parser/ruby33.rb', line 11630

def _reduce_554(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_555(val, _values, result) ⇒ Object



11645
11646
11647
11648
11649
# File 'lib/parser/ruby33.rb', line 11645

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

    result
end

#_reduce_556(val, _values, result) ⇒ Object



11651
11652
11653
11654
11655
# File 'lib/parser/ruby33.rb', line 11651

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

    result
end

#_reduce_559(val, _values, result) ⇒ Object

reduce 558 omitted



11661
11662
11663
11664
11665
# File 'lib/parser/ruby33.rb', line 11661

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

    result
end

#_reduce_56(val, _values, result) ⇒ Object



8816
8817
8818
8819
8820
# File 'lib/parser/ruby33.rb', line 8816

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

    result
end

#_reduce_561(val, _values, result) ⇒ Object

reduce 560 omitted



11669
11670
11671
11672
11673
# File 'lib/parser/ruby33.rb', line 11669

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

    result
end

#_reduce_565(val, _values, result) ⇒ Object

reduce 564 omitted



11681
11682
11683
11684
11685
# File 'lib/parser/ruby33.rb', line 11681

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

    result
end

#_reduce_566(val, _values, result) ⇒ Object



11687
11688
11689
11690
11691
# File 'lib/parser/ruby33.rb', line 11687

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

    result
end

#_reduce_567(val, _values, result) ⇒ Object



11693
11694
11695
11696
11697
# File 'lib/parser/ruby33.rb', line 11693

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

    result
end

#_reduce_568(val, _values, result) ⇒ Object



11699
11700
11701
11702
11703
11704
# File 'lib/parser/ruby33.rb', line 11699

def _reduce_568(val, _values, result)
                      string = @builder.string_compose(val[0], val[1], val[2])
                      result = @builder.dedent_string(string, @lexer.dedent_level)

    result
end

#_reduce_569(val, _values, result) ⇒ Object



11706
11707
11708
11709
11710
11711
# File 'lib/parser/ruby33.rb', line 11706

def _reduce_569(val, _values, result)
                      string = @builder.string(val[0])
                      result = @builder.dedent_string(string, @lexer.dedent_level)

    result
end

#_reduce_57(val, _values, result) ⇒ Object



8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
# File 'lib/parser/ruby33.rb', line 8822

def _reduce_57(val, _values, result)
                      @lexer.state = :expr_beg
                      @lexer.command_start = false
                      @pattern_variables.push
                      @pattern_hash_keys.push

                      result = @context.in_kwarg
                      @context.in_kwarg = true

    result
end

#_reduce_570(val, _values, result) ⇒ Object



11713
11714
11715
11716
11717
# File 'lib/parser/ruby33.rb', line 11713

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

    result
end

#_reduce_571(val, _values, result) ⇒ Object



11719
11720
11721
11722
11723
11724
# File 'lib/parser/ruby33.rb', line 11719

def _reduce_571(val, _values, result)
                      string = @builder.xstring_compose(val[0], val[1], val[2])
                      result = @builder.dedent_string(string, @lexer.dedent_level)

    result
end

#_reduce_572(val, _values, result) ⇒ Object



11726
11727
11728
11729
11730
11731
# File 'lib/parser/ruby33.rb', line 11726

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

    result
end

#_reduce_573(val, _values, result) ⇒ Object



11733
11734
11735
11736
11737
# File 'lib/parser/ruby33.rb', line 11733

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

    result
end

#_reduce_574(val, _values, result) ⇒ Object



11739
11740
11741
11742
11743
# File 'lib/parser/ruby33.rb', line 11739

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

    result
end

#_reduce_575(val, _values, result) ⇒ Object



11745
11746
11747
11748
11749
# File 'lib/parser/ruby33.rb', line 11745

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

    result
end

#_reduce_576(val, _values, result) ⇒ Object



11751
11752
11753
11754
11755
# File 'lib/parser/ruby33.rb', line 11751

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

    result
end

#_reduce_577(val, _values, result) ⇒ Object



11757
11758
11759
11760
11761
# File 'lib/parser/ruby33.rb', line 11757

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

    result
end

#_reduce_578(val, _values, result) ⇒ Object



11763
11764
11765
11766
11767
# File 'lib/parser/ruby33.rb', line 11763

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

    result
end

#_reduce_579(val, _values, result) ⇒ Object



11769
11770
11771
11772
11773
# File 'lib/parser/ruby33.rb', line 11769

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

    result
end

#_reduce_58(val, _values, result) ⇒ Object



8834
8835
8836
8837
8838
8839
8840
8841
# File 'lib/parser/ruby33.rb', line 8834

def _reduce_58(val, _values, result)
                      @pattern_variables.pop
                      @pattern_hash_keys.pop
                      @context.in_kwarg = val[2]
                      result = @builder.match_pattern(val[0], val[1], val[3])

    result
end

#_reduce_580(val, _values, result) ⇒ Object



11775
11776
11777
11778
11779
# File 'lib/parser/ruby33.rb', line 11775

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

    result
end

#_reduce_581(val, _values, result) ⇒ Object



11781
11782
11783
11784
11785
# File 'lib/parser/ruby33.rb', line 11781

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

    result
end

#_reduce_582(val, _values, result) ⇒ Object



11787
11788
11789
11790
11791
# File 'lib/parser/ruby33.rb', line 11787

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

    result
end

#_reduce_583(val, _values, result) ⇒ Object



11793
11794
11795
11796
11797
# File 'lib/parser/ruby33.rb', line 11793

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

    result
end

#_reduce_584(val, _values, result) ⇒ Object



11799
11800
11801
11802
11803
# File 'lib/parser/ruby33.rb', line 11799

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

    result
end

#_reduce_585(val, _values, result) ⇒ Object



11805
11806
11807
11808
11809
# File 'lib/parser/ruby33.rb', line 11805

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

    result
end

#_reduce_586(val, _values, result) ⇒ Object



11811
11812
11813
11814
11815
# File 'lib/parser/ruby33.rb', line 11811

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

    result
end

#_reduce_587(val, _values, result) ⇒ Object



11817
11818
11819
11820
11821
# File 'lib/parser/ruby33.rb', line 11817

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

    result
end

#_reduce_588(val, _values, result) ⇒ Object



11823
11824
11825
11826
11827
# File 'lib/parser/ruby33.rb', line 11823

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

    result
end

#_reduce_589(val, _values, result) ⇒ Object



11829
11830
11831
11832
11833
# File 'lib/parser/ruby33.rb', line 11829

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

    result
end

#_reduce_59(val, _values, result) ⇒ Object



8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
# File 'lib/parser/ruby33.rb', line 8843

def _reduce_59(val, _values, result)
                      @lexer.state = :expr_beg
                      @lexer.command_start = false
                      @pattern_variables.push
                      @pattern_hash_keys.push

                      result = @context.in_kwarg
                      @context.in_kwarg = true

    result
end

#_reduce_590(val, _values, result) ⇒ Object



11835
11836
11837
11838
11839
# File 'lib/parser/ruby33.rb', line 11835

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

    result
end

#_reduce_591(val, _values, result) ⇒ Object



11841
11842
11843
11844
11845
# File 'lib/parser/ruby33.rb', line 11841

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

    result
end

#_reduce_592(val, _values, result) ⇒ Object



11847
11848
11849
11850
11851
# File 'lib/parser/ruby33.rb', line 11847

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

    result
end

#_reduce_593(val, _values, result) ⇒ Object



11853
11854
11855
11856
11857
# File 'lib/parser/ruby33.rb', line 11853

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

    result
end

#_reduce_594(val, _values, result) ⇒ Object



11859
11860
11861
11862
11863
# File 'lib/parser/ruby33.rb', line 11859

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

    result
end

#_reduce_595(val, _values, result) ⇒ Object



11865
11866
11867
11868
11869
11870
# File 'lib/parser/ruby33.rb', line 11865

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

    result
end

#_reduce_596(val, _values, result) ⇒ Object



11872
11873
11874
11875
11876
11877
11878
11879
# File 'lib/parser/ruby33.rb', line 11872

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

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

    result
end

#_reduce_597(val, _values, result) ⇒ Object



11881
11882
11883
11884
11885
# File 'lib/parser/ruby33.rb', line 11881

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

    result
end

#_reduce_598(val, _values, result) ⇒ Object



11887
11888
11889
11890
11891
# File 'lib/parser/ruby33.rb', line 11887

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

    result
end

#_reduce_599(val, _values, result) ⇒ Object



11893
11894
11895
11896
11897
# File 'lib/parser/ruby33.rb', line 11893

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

    result
end

#_reduce_6(val, _values, result) ⇒ Object



8455
8456
8457
8458
8459
# File 'lib/parser/ruby33.rb', line 8455

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

    result
end

#_reduce_60(val, _values, result) ⇒ Object



8855
8856
8857
8858
8859
8860
8861
8862
# File 'lib/parser/ruby33.rb', line 8855

def _reduce_60(val, _values, result)
                      @pattern_variables.pop
                      @pattern_hash_keys.pop
                      @context.in_kwarg = val[2]
                      result = @builder.match_pattern_p(val[0], val[1], val[3])

    result
end

#_reduce_603(val, _values, result) ⇒ Object

reduce 602 omitted



11905
11906
11907
11908
11909
11910
# File 'lib/parser/ruby33.rb', line 11905

def _reduce_603(val, _values, result)
                      @lexer.state = :expr_end
                      result = @builder.symbol(val[0])

    result
end

#_reduce_604(val, _values, result) ⇒ Object



11912
11913
11914
11915
11916
11917
# File 'lib/parser/ruby33.rb', line 11912

def _reduce_604(val, _values, result)
                      @lexer.state = :expr_end
                      result = @builder.symbol_compose(val[0], val[1], val[2])

    result
end

#_reduce_605(val, _values, result) ⇒ Object



11919
11920
11921
11922
11923
# File 'lib/parser/ruby33.rb', line 11919

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

    result
end

#_reduce_606(val, _values, result) ⇒ Object



11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
# File 'lib/parser/ruby33.rb', line 11925

def _reduce_606(val, _values, result)
                      if