class RDoc::Parser::Ruby

def parse_comment_ghost container, text, name, column, line_no, # :nodoc:

:nodoc:
def parse_comment_ghost container, text, name, column, line_no, # :nodoc:
                        comment
  name = nil if name.empty?
  meth = RDoc::GhostMethod.new get_tkread, name
  record_location meth
  meth.start_collecting_tokens
  indent = RDoc::Parser::RipperStateLex::Token.new(1, 1, :on_sp, ' ' * column)
  position_comment = RDoc::Parser::RipperStateLex::Token.new(line_no, 1, :on_comment)
  position_comment[:text] = "# File #{@top_level.relative_name}, line #{line_no}"
  newline = RDoc::Parser::RipperStateLex::Token.new(0, 0, :on_nl, "\n")
  meth.add_tokens [position_comment, newline, indent]
  meth.params =
    if text.sub!(/^#\s+:?args?:\s*(.*?)\s*$/i, '') then
      $1
    else
      ''
    end
  comment.normalize
  comment.extract_call_seq meth
  return unless meth.name
  container.add_method meth
  meth.comment = comment
  @stats.add_method meth
  meth
end