Method: CodeAnalyzer::Checker#node_start

Defined in:
lib/code_analyzer/checker.rb

#node_start(node) ⇒ Object

delegate to start_### according to the sexp_type, like

start_call
start_def

Parameters:



30
31
32
33
# File 'lib/code_analyzer/checker.rb', line 30

def node_start(node)
  @node = node
  self.class.get_callbacks("start_#{node.sexp_type}".to_sym).each { |block| self.instance_exec(node, &block) }
end