callingVisitor method

  1. @override
TreeVisitor<Calling> callingVisitor(
  1. TreeVisitor<Calling> visitor
)
override

Implementation

@override
TreeVisitor<Calling> callingVisitor(TreeVisitor<Calling> visitor) {
  if (visitor.stopped) return visitor;
  visitor(calling);
  if (!visitor.stopped) {
    for (var child in children) {
      child.visitCallingChildren(visitor);
    }
  }
  return visitor;
}