class RBS::AST::Declarations::AliasDecl

def ==(other)

def ==(other)
  other.is_a?(self.class) &&
    other.new_name == new_name &&
    other.old_name == old_name
end

def hash

def hash
  self.class.hash ^ new_name.hash ^ old_name.hash
end

def initialize(new_name:, old_name:, location:, comment:, annotations: [])

def initialize(new_name:, old_name:, location:, comment:, annotations: [])
  @new_name = new_name
  @old_name = old_name
  @location = location
  @comment = comment
  @annotations = annotations
end