visitExtensionOverride method

  1. @override
bool visitExtensionOverride (ExtensionOverride node)
override

Implementation

@override
bool visitExtensionOverride(ExtensionOverride node) {
  if (identical(node.extensionName, _oldNode)) {
    (node as ExtensionOverrideImpl).extensionName = _newNode as Identifier;
    return true;
  } else if (identical(node.typeArguments, _oldNode)) {
    (node as ExtensionOverrideImpl).typeArguments =
        _newNode as TypeArgumentList;
    return true;
  } else if (identical(node.argumentList, _oldNode)) {
    (node as ExtensionOverrideImpl).argumentList = _newNode as ArgumentList;
    return true;
  }
  return visitNode(node);
}