# File lib/rdoc/generator/markup.rb, line 34
  def formatter
    return @formatter if defined? @formatter

    show_hash = RDoc::RDoc.current.options.show_hash
    hyperlink_all = RDoc::RDoc.current.options.hyperlink_all
    this = RDoc::Context === self ? self : @parent

    @formatter = RDoc::Markup::ToHtmlCrossref.new(this.path, this, show_hash,
                                                  hyperlink_all)
    @formatter.code_object = self
    @formatter
  end