class RBS::AST::Annotation

def ==(other)

def ==(other)
  other.is_a?(Annotation) && other.string == string
end

def hash

def hash
  self.class.hash ^ string.hash
end

def initialize(string:, location:)

def initialize(string:, location:)
  @string = string
  @location = location
end

def to_json(state = _ = nil)

def to_json(state = _ = nil)
  { string: string, location: location }.to_json(state)
end