method

parse_include

ruby latest stable - Class: RDoc::RubyParser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

parse_include(context, comment)
private

No documentation available.

# File lib/rdoc/parsers/parse_rb.rb, line 2433
  def parse_include(context, comment)
    loop do
      skip_tkspace_comment
      name = get_constant_with_optional_parens
      unless name.empty?
        context.add_include(Include.new(name, comment))
      end
      return unless peek_tk.kind_of?(TkCOMMA)
      get_tk
    end
  end