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 (component.root != null) {
    rootBinding!.visitCallingChildren(visitor);
  }
  if (component.child != null) {
    childBinding!.visitCallingChildren(visitor);
  }
  // if (component.unknown != null) {
  //   unknownBinding!.visitCallingChildren(visitor);
  // }
  return visitor;
}