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) {
    return child.visitCallingChildren(visitor);
  }
  return visitor;
}