private function compute(\PHPParser_Node $ast) { $r = new GraphReachability($graph = $this->getCfg($ast)); $r->compute($ast); }
public function enterScope(NodeTraversal $t) { $r = new GraphReachability($cfg = $t->getControlFlowGraph()); $r->compute($cfg->getEntryPoint()->getAstNode()); }