Class: Emfrp::TValue

Inherits:
Object
  • Object
show all
Defined in:
lib/emfrp/compile/c/syntax_codegen.rb

Instance Method Summary collapse

Instance Method Details

#constructor_name(ct) ⇒ Object



225
226
227
# File 'lib/emfrp/compile/c/syntax_codegen.rb', line 225

def constructor_name(ct)
  self[:name][:desc] + "_" + ct.serial(self[:name][:desc], self).to_s
end

#struct_name(ct) ⇒ Object



229
230
231
# File 'lib/emfrp/compile/c/syntax_codegen.rb', line 229

def struct_name(ct)
  self[:name][:desc]
end