visit method

  1. @override
bool visit(
  1. T n
)
override

Implementation

@override
bool visit(T n) {
  if (cycleNodes.contains(n)) {
    // skip any nodes on a known cycle.
    return true;
  }

  return super.visit(n);
}