class RubyIndexer::Collector
def add_module_entry(node)
def add_module_entry(node) name = node.constant_path.location.slice unless /^[A-Z:]/.match?(name) @queue << node.body return end comments = collect_comments(node) @current_owner = Entry::Module.new(fully_qualify_name(name), @file_path, node.location, comments) @index << @current_owner @stack << name @queue.prepend(node.body, LEAVE_EVENT) end