visitLibraryDirective method

  1. @override
bool visitLibraryDirective (LibraryDirective node)
override

Implementation

@override
bool visitLibraryDirective(LibraryDirective node) {
  if (identical(node.name, _oldNode)) {
    node.name = _newNode as LibraryIdentifier;
    return true;
  }
  return visitAnnotatedNode(node);
}