addSpecialLibraryToGraph method

void addSpecialLibraryToGraph(
  1. DartDocResolvedLibrary resolvedLibrary
)

Call during initialization to add a library possibly containing special/non-documented elements to this PackageGraph. Must be called after any normal libraries.

Implementation

void addSpecialLibraryToGraph(DartDocResolvedLibrary resolvedLibrary) {
  allLibrariesAdded = true;
  assert(!_localDocumentationBuilt);
  findOrCreateLibraryFor(resolvedLibrary);
}