Class: Java::OrgJrubyAst::ArgsNode

Inherits:
Object
  • Object
show all
Defined in:
lib/duby/old/compiler_old.rb

Instance Method Summary collapse

Instance Method Details

#compile(builder) ⇒ Object



49
50
51
52
53
54
55
# File 'lib/duby/old/compiler_old.rb', line 49

def compile(builder)
  raise("PRuby only supports normal args") if opt_args || rest_arg != -1 || block_arg_node
  return unless args
  args.child_nodes.each do |arg|
    builder.local(arg.name)
  end
end