# File lib/rdoc/markup/document.rb, line 143
  def table_of_contents
    accept RDoc::Markup::ToTableOfContents.to_toc
  end