    # File lib/yard/handlers/base.rb, line 433
          def register_docstring(object, docstring = statement.comments, stmt = statement)
            docstring = docstring.join("\n") if Array === docstring
            parser = Docstring.parser
            parser.parse(docstring || "", object, self)

            if object && docstring
              object.docstring = parser.to_docstring

              # Add hash_flag/line_range
              if stmt
                object.docstring.hash_flag = stmt.comments_hash_flag
                object.docstring.line_range = stmt.comments_range
              end
            end

            register_transitive_tags(object)
          end