module RBS::AST::Members::Mixin

def ==(other)

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

def eql?(other)

def eql?(other)
  self == other
end

def hash

def hash
  name.hash ^ args.hash
end

def initialize(name:, args:, annotations:, location:, comment:)

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