Module: Trxl::FormalParameterList4

Defined in:
lib/trxl/trxl_grammar.rb

Instance Method Summary collapse

Instance Method Details

#bind(args, env) ⇒ Object



1727
1728
1729
1730
# File 'lib/trxl/trxl_grammar.rb', line 1727

def bind(args, env)
  # store arguments array in scope, javascript like
  env.merge!(:arguments => args)
end

#to_s(env = Environment.new) ⇒ Object



1732
1733
1734
# File 'lib/trxl/trxl_grammar.rb', line 1732

def to_s(env = Environment.new)
  '()'
end