Method: Parser::Ruby34#_reduce_401

Defined in:
lib/parser/ruby34.rb

#_reduce_401(val, _values, result) ⇒ Object

[View source]

10571
10572
10573
10574
10575
10576
10577
10578
10579
# File 'lib/parser/ruby34.rb', line 10571

def _reduce_401(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