Class: SFRP::Mono::Exp

Inherits:
Object
  • Object
show all
Defined in:
lib/sfrp/mono/expression.rb

Direct Known Subclasses

FuncCallExp, MatchExp, VConstCallExp, VarRefExp

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#type_strObject (readonly)

Returns the value of attribute type_str.



4
5
6
# File 'lib/sfrp/mono/expression.rb', line 4

def type_str
  @type_str
end

Instance Method Details

#==(other) ⇒ Object



6
7
8
# File 'lib/sfrp/mono/expression.rb', line 6

def ==(other)
  comp == other.comp
end