class Emfrp::FuncCall

Public Instance Methods

codegen(ct, stmts) click to toggle source
# File lib/emfrp/compile/c/syntax_exp_codegen.rb, line 5
def codegen(ct, stmts)
  name = ct.func_name(self[:name][:desc], self[:typing], self[:args].map{|x| x[:typing]})
  "#{name}(#{self[:args].map{|x| x.codegen(ct, stmts)}.join(", ")})"
end