Home
last modified time | relevance | path

Searched refs:importLiteral (Results 1 – 4 of 4) sorted by relevance

/third_party/typescript/src/services/
DgetEditsForFileRename.ts145 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/
Dprogram.ts723 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/
DtypingsInstaller.js121252 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;
Dtsc.js100584 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;