method
parse_include
ruby latest stable - Class:
RDoc::RubyParser
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