Class: RDG::Control::Return

Inherits:
Analysis::Analyser show all
Defined in:
lib/rdg/control/return.rb

Instance Method Summary collapse

Methods inherited from Analysis::Analyser

#initialize, register_analyser, register_default_analyser

Constructor Details

This class inherits a constructor from RDG::Analysis::Analyser

Instance Method Details

#analyseObject



8
9
10
# File 'lib/rdg/control/return.rb', line 8

def analyse
  graph.each_successor(@ast_node) { |s| graph.remove_edge(@ast_node, s) }
end