class Solargraph::Pin::Reference::Override

def self.from_comment name, comment

def self.from_comment name, comment
  new(nil, name, Solargraph::Source.parse_docstring(comment).to_docstring.tags)
end

def self.method_return name, *tags, delete: []

def self.method_return name, *tags, delete: []
  new(nil, name, [YARD::Tags::Tag.new('return', nil, tags)], delete)
end

def initialize location, name, tags, delete = []

def initialize location, name, tags, delete = []
  super(location: location, name: name)
  @tags = tags
  @delete = delete
end