Searched refs:oldSourceFile (Results 1 – 9 of 9) sorted by relevance
/third_party/typescript/src/services/ |
D | exportInfoMap.ts | 56 …onFileChanged(oldSourceFile: SourceFile, newSourceFile: SourceFile, typeAcquisitionEnabled: boolea… 179 …onFileChanged: (oldSourceFile: SourceFile, newSourceFile: SourceFile, typeAcquisitionEnabled: bool… 180 if (fileIsGlobalOnly(oldSourceFile) && fileIsGlobalOnly(newSourceFile)) { 188 …typeAcquisitionEnabled && consumesNodeCoreModules(oldSourceFile) !== consumesNodeCoreModules(newSo… 192 … !arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations) || 193 !ambientModuleDeclarationsAreEqual(oldSourceFile, newSourceFile) 258 … function ambientModuleDeclarationsAreEqual(oldSourceFile: SourceFile, newSourceFile: SourceFile) { 259 … if (!arrayIsEqualTo(oldSourceFile.ambientModuleNames, newSourceFile.ambientModuleNames)) { 266 …oldFileStatementIndex = findIndex(oldSourceFile.statements, isMatchingModuleDeclaration, oldFileSt… 268 …if (oldSourceFile.statements[oldFileStatementIndex] !== newSourceFile.statements[newFileStatementI…
|
D | services.ts | 1474 … function onReleaseOldSourceFile(oldSourceFile: SourceFile, oldOptions: CompilerOptions) { 1476 …entRegistry.releaseDocumentWithKey(oldSourceFile.resolvedPath, oldSettingsKey, oldSourceFile.scrip… 1501 const oldSourceFile = program && program.getSourceFileByPath(path); constant 1502 if (oldSourceFile) { 1528 if (scriptKind === oldSourceFile.scriptKind) { 1533 …Key(oldSourceFile.resolvedPath, documentRegistry.getKeyForCompilationSettings(program.getCompilerO…
|
/third_party/typescript/src/compiler/ |
D | program.ts | 1264 for (const oldSourceFile of oldSourceFiles) { constant 1265 const newFile = getSourceFileByPath(oldSourceFile.resolvedPath); 1266 …houldCreateNewSourceFile || !newFile || newFile.impliedNodeFormat !== oldSourceFile.impliedNodeFor… 1268 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 1269 …host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(… 1533 const oldSourceFile = oldProgram && oldProgram.getSourceFile(file.fileName); constant 1534 if (oldSourceFile !== file && file.resolvedModules) { 1576 if (file === oldSourceFile && !hasInvalidatedResolutions(oldSourceFile.path)) { 1577 …nst oldResolvedModule = getResolvedModule(oldSourceFile, moduleName, getModeForResolutionAtIndex(o… 1651 …if (index >= length(oldSourceFile?.imports) + length(oldSourceFile?.moduleAugmentations)) return f… [all …]
|
D | watchPublic.ts | 622 …function onReleaseOldSourceFile(oldSourceFile: SourceFile, _oldOptions: CompilerOptions, hasSource… 623 const hostSourceFileInfo = sourceFilesCache.get(oldSourceFile.resolvedPath); 631 …lePathsRequestedForRelease || (missingFilePathsRequestedForRelease = [])).push(oldSourceFile.path); 633 else if ((hostSourceFileInfo as FilePresentOnHost).sourceFile === oldSourceFile) { 637 sourceFilesCache.delete(oldSourceFile.resolvedPath); 639 resolutionCache.removeResolutionsOfFile(oldSourceFile.path);
|
D | utilities.ts | 217 oldSourceFile: SourceFile | undefined, 226 …tModeForFileReference(entry, oldSourceFile?.impliedNodeFormat) : oldSourceFile && getModeForResolu…
|
D | types.ts | 7351 …/* @internal */ onReleaseOldSourceFile?(oldSourceFile: SourceFile, oldOptions: CompilerOptions, ha…
|
/third_party/typescript/src/server/ |
D | project.ts | 1334 const oldSourceFile = oldProgram.getSourceFileByPath(fileName); constant 1336 if (!oldSourceFile || !sourceFile) { 1340 …return this.exportMapCache!.onFileChanged(oldSourceFile, sourceFile, !!this.getTypeAcquisition().e…
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 14722 … function hasChangesInResolutions(names, newResolutions, oldResolutions, oldSourceFile, comparer) { argument 14729 …oldSourceFile === null || oldSourceFile === void 0 ? void 0 : oldSourceFile.impliedNodeFormat) : o… 121718 var oldSourceFile = oldSourceFiles_1[_i]; 121719 var newFile = getSourceFileByPath(oldSourceFile.resolvedPath); 121720 …houldCreateNewSourceFile || !newFile || newFile.impliedNodeFormat !== oldSourceFile.impliedNodeFor… 121722 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 121723 …host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(… 121969 var oldSourceFile = oldProgram && oldProgram.getSourceFile(file.fileName); 121970 if (oldSourceFile !== file && file.resolvedModules) { 122011 if (file === oldSourceFile && !hasInvalidatedResolutions(oldSourceFile.path)) { [all …]
|
D | tsc.js | 11251 … function hasChangesInResolutions(names, newResolutions, oldResolutions, oldSourceFile, comparer) { argument 11257 …oldSourceFile === null || oldSourceFile === void 0 ? void 0 : oldSourceFile.impliedNodeFormat) : o… 100972 var oldSourceFile = oldSourceFiles_1[_i]; 100973 var newFile = getSourceFileByPath(oldSourceFile.resolvedPath); 100974 …houldCreateNewSourceFile || !newFile || newFile.impliedNodeFormat !== oldSourceFile.impliedNodeFor… 100975 …(oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path)… 100976 …host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(… 101203 var oldSourceFile = oldProgram && oldProgram.getSourceFile(file.fileName); 101204 if (oldSourceFile !== file && file.resolvedModules) { 101221 if (file === oldSourceFile && !hasInvalidatedResolutions(oldSourceFile.path)) { [all …]
|