visitChildren method

  1. @override
TreeVisitor<Binding> visitChildren(
  1. TreeVisitor<Binding> visitor
)
override

Implementation

@override
TreeVisitor<Binding> visitChildren(TreeVisitor<Binding> visitor) {
  if (visitor._stopped) return visitor;
  visitor(this);
  if (!visitor._stopped) {
    return child.visitChildren(visitor);
  }
  return visitor;
}