Method: Emfrp::TypeDef#struct_name

Defined in:
lib/emfrp/compile/c/syntax_codegen.rb

#struct_name(ct) ⇒ Object



187
188
189
190
191
192
193
# File 'lib/emfrp/compile/c/syntax_codegen.rb', line 187

def struct_name(ct)
  unless enum?(ct)
    self[:tvalues][0][:typing].to_flatten_uniq_str
  else
    raise
  end
end