Object
# File rbs-1.4.0/lib/rbs/types.rb, line 306
def ==(other)
other.is_a?(Alias) && other.name == name
end
# File rbs-1.4.0/lib/rbs/types.rb, line 312
def hash
self.class.hash ^ name.hash
end
# File rbs-1.4.0/lib/rbs/types.rb, line 329
def map_type_name
Alias.new(
name: yield(name, location, self),
location: location
)
end