class RDoc::Parser::Ruby

def parse_top_level_statements container

def parse_top_level_statements container
  comment = collect_first_comment
  look_for_directives_in container, comment
  throw :eof if container.done_documenting
  @markup = comment.format
  # HACK move if to RDoc::Context#comment=
  container.comment = comment if container.document_self unless comment.empty?
  parse_statements container, NORMAL, nil, comment
end