module RBS::AST::Members::Attribute

def ==(other)

def ==(other)
  other.is_a?(self.class) &&
    other.name == name &&
    other.type == type &&
    other.ivar_name == ivar_name
end

def hash

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

def initialize(name:, type:, ivar_name:, annotations:, location:, comment:)

def initialize(name:, type:, ivar_name:, annotations:, location:, comment:)
  @name = name
  @type = type
  @ivar_name = ivar_name
  @annotations = annotations
  @location = location
  @comment = comment
end