Home
last modified time | relevance | path

Searched refs:arrayToMap (Results 1 – 17 of 17) sorted by relevance

/third_party/typescript/src/testRunner/unittests/
DcustomTransforms.ts6 const fileMap = arrayToMap(roots, file => file.fileName);
DmoduleResolution.ts1571 …const sourceFiles = arrayToMap(map(files, f => createSourceFile(f.name, f.content, ScriptTarget.ES…
DreuseProgramStructure.ts108 const files = arrayToMap(texts, t => t.name, t => {
/third_party/typescript/src/compiler/
DwatchUtilities.ts329 …const extendedConfigs = arrayToMap(options?.configFile?.extendedSourceFiles || emptyArray, toPath);
416 const newMissingFilePathMap = arrayToMap(missingFilePaths, identity, returnTrue);
Dcore.ts1362 …export function arrayToMap<K, V>(array: readonly V[], makeKey: (value: V) => K | undefined): ESMap… function
1363 …export function arrayToMap<K, V1, V2>(array: readonly V1[], makeKey: (value: V1) => K | undefined,…
1364 …export function arrayToMap<T>(array: readonly T[], makeKey: (value: T) => string | undefined): ESM…
1365 …export function arrayToMap<T, U>(array: readonly T[], makeKey: (value: T) => string | undefined, m…
1366 …export function arrayToMap<K, V1, V2>(array: readonly V1[], makeKey: (value: V1) => K | undefined,…
Dbuilder.ts1514 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagn…
1517 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFiles…
DresolutionCache.ts1108 arrayToMap(typeRoots, tr => resolutionHost.toPath(tr)),
DtsbuildPublic.ts2190 arrayToMap(parsed.fileNames, fileName => toPath(state, fileName)),
DcommandLineParser.ts1974 return arrayToMap(options, getOptionName);
Demitter.ts721 …const prologueMap = jsBundle.sources?.prologues && arrayToMap(jsBundle.sources.prologues, prologue…
/third_party/typescript/src/compiler/factory/
DemitHelpers.ts1002 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = arrayToMap([
/third_party/typescript/src/harness/
DvirtualFileSystemWithWatch.ts171 …const expectedKeys = isArray(expectedKeysMapOrArray) ? arrayToMap(expectedKeysMapOrArray, s => s, …
194 checkMap(caption, arrayToMap(actual, identity), expected, /*eachKeyCount*/ undefined);
/third_party/typescript/src/testRunner/
DprojectsRunner.ts445 const optionNameMap = ts.arrayToMap(ts.optionDeclarations, option => option.name);
/third_party/typescript/src/server/
Dproject.ts1595 const currentFiles = arrayToMap(
1649 this.lastReportedFileNames = arrayToMap(
DeditorServices.ts3812 … const projectsToClose = arrayToMap(this.externalProjects, p => p.getProjectName(), _ => true);
/third_party/typescript/lib/
DtypingsInstaller.js1368 function arrayToMap(array, makeKey, makeValue) { function
1379 ts.arrayToMap = arrayToMap;
29273 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = ts.arrayToMap([
42475 return ts.arrayToMap(options, getOptionName);
115352 …ndle.sources) === null || _a === void 0 ? void 0 : _a.prologues) && ts.arrayToMap(jsBundle.sources…
120335 …var extendedConfigs = ts.arrayToMap(((_a = options === null || options === void 0 ? void 0 : optio…
120408 var newMissingFilePathMap = ts.arrayToMap(missingFilePaths, ts.identity, ts.returnTrue);
126120 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && ts.arrayToMap(program.semanticDi…
126123 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && ts.arrayToMap(program.affectedFi…
127123 …ts.mutateMap(typeRootsWatches, ts.arrayToMap(typeRoots, function (tr) { return resolutionHost.toPa…
[all …]
Dtsc.js1185 function arrayToMap(array, makeKey, makeValue) { function
1196 ts.arrayToMap = arrayToMap;
23510 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = ts.arrayToMap([
34764 return ts.arrayToMap(options, getOptionName);
95217 …ndle.sources) === null || _a === void 0 ? void 0 : _a.prologues) && ts.arrayToMap(jsBundle.sources…
99761 …var extendedConfigs = ts.arrayToMap(((_a = options === null || options === void 0 ? void 0 : optio…
99818 var newMissingFilePathMap = ts.arrayToMap(missingFilePaths, ts.identity, ts.returnTrue);
104762 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && ts.arrayToMap(program.semanticDi…
104765 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && ts.arrayToMap(program.affectedFi…
105672 …ts.mutateMap(typeRootsWatches, ts.arrayToMap(typeRoots, function (tr) { return resolutionHost.toPa…
[all …]