visitDominatorTree method
Implementation
void visitDominatorTree(bool Function(CallGraphNode n, int depth) callback,
    [int depth = 0]) {
  if (callback(this, depth)) {
    for (var n in dominated) {
      n.visitDominatorTree(callback, depth + 1);
    }
  }
}