lib/docrb/lib/docrb/ruby_parser.rb
# Parses a given node and parent. This method is a dispatch source for
# other parsing methods.
#
# node   - Node to be parsed
# parent - Parent node of the node being parsed
Parses a given node and parent. This method is a dispatch source for
other parsing methods.

node   - Node to be parsed
parent - Parent node of the node being parsed
Parses a given node and parent . This method is a dispatch source for other parsing methods . node - Node to be parsed parent - Parent node of the node being parsed
def parse!(node = nil, parent = nil)
      return if node.nil?
      case node.type
      when :def
        parse_def(node, parent)
      when :defs
        parse_singleton_method(node, parent)
      when :class
        parse_class(node, parent)
      when :sclass
        parse_singleton_class(node, parent)
      when :module
        parse_module(node, parent)
      when :begin
        parse_begin(node, parent)
      when :send
        parse_send(node, parent)
      end
    end
def parse! ( node = nil , parent = nil ) return if node . nil? case node . type when :def parse_def ( node , parent ) when :defs parse_singleton_method ( node , parent ) when :class parse_class ( node , parent ) when :sclass parse_singleton_class ( node , parent ) when :module parse_module ( node , parent ) when :begin parse_begin ( node , parent ) when :send parse_send ( node , parent ) end end
Parses a given node and parent.
Parses a given node and parent .
node
parent