Searched refs:importLiteral (Results 1 – 4 of 4) sorted by relevance
/third_party/typescript/src/services/ |
D | getEditsForFileRename.ts | 145 importLiteral => { 146 … const importedModuleSymbol = program.getTypeChecker().getSymbolAtLocation(importLiteral); 153 …? getSourceFileToImportFromResolved(importLiteral, resolveModuleName(importLiteral.text, oldImport… 155 … : getSourceFileToImport(importedModuleSymbol, importLiteral, sourceFile, program, host, oldToNew); 158 …undefined && (toImport.updated || (importingSourceFileMoved && pathIsRelative(importLiteral.text))) 159 …Path, toImport.newFileName, createModuleSpecifierResolutionHost(program, host), importLiteral.text) 179 importLiteral: StringLiteralLike, 192 const mode = getModeForUsageLocation(importingSourceFile, importLiteral); 194 …FromCache && host.getResolvedModuleWithFailedLookupLocationsFromCache(importLiteral.text, importin… 195 …: program.getResolvedModuleWithFailedLookupLocationsFromCache(importLiteral.text, importingSourceF… [all …]
|
/third_party/typescript/src/compiler/ |
D | program.ts | 723 const importLiteral = getModuleNameStringLiteralAt(file, index); constant 724 …packageId = file.resolvedModules?.get(importLiteral.text, getModeForResolutionAtIndex(file, index)… 725 if (importLiteral.pos === -1) return { file, packageId, text: importLiteral.text }; 726 pos = skipTrivia(file.text, importLiteral.pos); 727 end = importLiteral.end;
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 121252 var importLiteral = getModuleNameStringLiteralAt(file, index); 121253 …d = file.resolvedModules) === null || _d === void 0 ? void 0 : _d.get(importLiteral.text, getModeF… 121254 if (importLiteral.pos === -1) 121255 return { file: file, packageId: packageId, text: importLiteral.text }; 121256 pos = ts.skipTrivia(file.text, importLiteral.pos); 121257 end = importLiteral.end;
|
D | tsc.js | 100584 var importLiteral = getModuleNameStringLiteralAt(file, index); 100585 …d = file.resolvedModules) === null || _d === void 0 ? void 0 : _d.get(importLiteral.text, getModeF… 100586 if (importLiteral.pos === -1) 100587 return { file: file, packageId: packageId, text: importLiteral.text }; 100588 pos = ts.skipTrivia(file.text, importLiteral.pos); 100589 end = importLiteral.end;
|