public ExtensionLibraryImportOp GetOrCreateExtensionLibraryImport(string extensionLibraryName, bool checkDependencies = true) { var result = FindExtensionLibraryImport(extensionLibraryName, checkDependencies); if (result == null) { result = new ExtensionLibraryImportOp(); result.ExtensionLibraryName = extensionLibraryName; ExtensionLibraryImports.Add(extensionLibraryName, result); } return(result); }
public void Visit(ExtensionLibraryImportOp extLibraryImportOp) { mReferencedExtensionLibraryImports.Add(extLibraryImportOp); }