    # File lib/yard/docstring.rb, line 214
        def add_tag(*tags)
          tags.each_with_index do |tag, i|
            case tag
            when Tags::Tag
              tag.object = object
              @tags << tag
            when Tags::RefTag, Tags::RefTagList
              @ref_tags << tag
            else
              raise ArgumentError, "expected Tag or RefTag, got #{tag.class} (at index #{i})"
            end
          end
        end