visitRedirectingConstructorInvocation method

  1. @override
bool visitRedirectingConstructorInvocation (RedirectingConstructorInvocation node)
override

Implementation

@override
bool visitRedirectingConstructorInvocation(
    RedirectingConstructorInvocation node) {
  if (identical(node.constructorName, _oldNode)) {
    node.constructorName = _newNode as SimpleIdentifier;
    return true;
  } else if (identical(node.argumentList, _oldNode)) {
    node.argumentList = _newNode as ArgumentList;
    return true;
  }
  return visitNode(node);
}