Class: Emfrp::Monofy::IType

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#type_defObject

Returns the value of attribute type_def



5
6
7
# File 'lib/emfrp/compile/c/monofy.rb', line 5

def type_def
  @type_def
end

#typingObject

Returns the value of attribute typing



5
6
7
# File 'lib/emfrp/compile/c/monofy.rb', line 5

def typing
  @typing
end

Instance Method Details

#==(other) ⇒ Object



6
7
8
# File 'lib/emfrp/compile/c/monofy.rb', line 6

def ==(other)
  self.typing.to_uniq_str == other.typing.to_uniq_str && self.type_def[:name] == other.type_def[:name]
end