class Emfrp::SSymbol
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
# File lib/emfrp/syntax.rb, line 73 def ==(other) if other.is_a?(SSymbol) self[:desc] == other[:desc] else super end end
eql?(other)
click to toggle source
Calls superclass method
# File lib/emfrp/syntax.rb, line 85 def eql?(other) if other.is_a?(SSymbol) self.hash == other.hash else super end end
hash()
click to toggle source
# File lib/emfrp/syntax.rb, line 81 def hash self[:desc].hash end
pretty_print(q)
click to toggle source
# File lib/emfrp/syntax.rb, line 93 def pretty_print(q) q.text 'SSymbol(' + self[:desc] + ')' end