class RBS::Constant

def ==(other)

def ==(other)
  other.is_a?(Constant) &&
    other.name == name &&
    other.type == type &&
    other.entry == entry
end

def hash

def hash
  self.class.hash ^ name.hash ^ type.hash ^ entry.hash
end

def initialize(name:, type:, entry:)

def initialize(name:, type:, entry:)
  @name = name
  @type = type
  @entry = entry
end