class RDoc::Comment

def self.from_document(document) # :nodoc:

:nodoc:
def self.from_document(document) # :nodoc:
  comment = RDoc::Comment.new('')
  comment.document = document
  comment.location = RDoc::TopLevel.new(document.file) if document.file
  comment
end