Home
last modified time | relevance | path

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

12

/third_party/typescript/src/testRunner/unittests/tsserver/
DwatchEnvironment.ts27 const expectedWatchedFiles = arrayToMap(fileNames.slice(1), s => s, () => 1);
161 const expectedWatchedFiles = arrayToMap(fileNames.slice(1), identity, () => 1);
162 …const expectedWatchedDirectories = arrayToMap([projectFolder, projectSrcFolder, `${projectFolder}/…
284 arrayToMap(
299 arrayToMap(
338 arrayToMap(
352 arrayToMap(
394 arrayToMap(
431 arrayToMap(
446 arrayToMap(
[all …]
DsymLinks.ts186 …const watchedDirectoriesWithResolvedModule = arrayToMap(getTypeRootsFromLocation(recognizersDateTi…
DprojectErrors.ts1010 …const expectedRecursiveWatches = arrayToMap([`${tscWatch.projectRoot}`, `${tscWatch.projectRoot}/s…
/third_party/typescript/src/testRunner/unittests/tsbuild/
DwatchEnvironment.ts10arrayToMap(["TSC_WATCHFILE"], identity, () => TestFSWithWatch.Tsc_WatchFile.SingleFileWatcherPerNa…
42 const watchFilesDetailed = arrayToMap(flatArray(allPkgFiles), f => f.path, () => 1);
/third_party/typescript/src/testRunner/unittests/
DcustomTransforms.ts6 const fileMap = arrayToMap(roots, file => file.fileName);
DmoduleResolution.ts1513 …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.ts275 …const extendedConfigs = arrayToMap(parsed?.options.configFile?.extendedSourceFiles || emptyArray, …
315 const newMissingFilePathMap = arrayToMap(missingFilePaths, identity, returnTrue);
Dcore.ts1387 …export function arrayToMap<K, V>(array: readonly V[], makeKey: (value: V) => K | undefined): ESMap… function
1388 …export function arrayToMap<K, V1, V2>(array: readonly V1[], makeKey: (value: V1) => K | undefined,…
1389 …export function arrayToMap<T>(array: readonly T[], makeKey: (value: T) => string | undefined): ESM…
1390 …export function arrayToMap<T, U>(array: readonly T[], makeKey: (value: T) => string | undefined, m…
1391 …export function arrayToMap<K, V1, V2>(array: readonly V1[], makeKey: (value: V1) => K | undefined,…
Dbuilder.ts1199 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagn…
1202 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFiles…
DwatchPublic.ts796 arrayToMap(compilerOptions.configFile?.extendedSourceFiles || emptyArray, toPath),
DresolutionCache.ts878 arrayToMap(typeRoots, tr => resolutionHost.toPath(tr)),
DtsbuildPublic.ts1856 arrayToMap(parsed.fileNames, fileName => toPath(state, fileName)),
DcommandLineParser.ts1657 return arrayToMap(options, getOptionName);
Demitter.ts735 …const prologueMap = jsBundle.sources?.prologues && arrayToMap(jsBundle.sources.prologues, prologue…
/third_party/typescript/src/compiler/factory/
DemitHelpers.ts850 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = arrayToMap([
/third_party/typescript/src/harness/
DvirtualFileSystemWithWatch.ts172 …const expectedKeys = isArray(expectedKeysMapOrArray) ? arrayToMap(expectedKeysMapOrArray, s => s, …
195 checkMap(caption, arrayToMap(actual, identity), expected, /*eachKeyCount*/ undefined);
/third_party/typescript/src/testRunner/
DprojectsRunner.ts441 const optionNameMap = ts.arrayToMap(ts.optionDeclarations, option => option.name);
/third_party/typescript/src/server/
Dproject.ts1508 const currentFiles = arrayToMap(
1562 this.lastReportedFileNames = arrayToMap(
DeditorServices.ts3621 … const projectsToClose = arrayToMap(this.externalProjects, p => p.getProjectName(), _ => true);
/third_party/typescript/lib/
Dtsc.js1166 function arrayToMap(array, makeKey, makeValue) { function
1177 ts.arrayToMap = arrayToMap;
21261 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = ts.arrayToMap([
30700 return ts.arrayToMap(options, getOptionName);
82752 …ndle.sources) === null || _a === void 0 ? void 0 : _a.prologues) && ts.arrayToMap(jsBundle.sources…
86832 …var extendedConfigs = ts.arrayToMap(((_a = parsed === null || parsed === void 0 ? void 0 : parsed.…
86862 var newMissingFilePathMap = ts.arrayToMap(missingFilePaths, ts.identity, ts.returnTrue);
91192 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && ts.arrayToMap(program.semanticDi…
91195 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && ts.arrayToMap(program.affectedFi…
91869 …ts.mutateMap(typeRootsWatches, ts.arrayToMap(typeRoots, function (tr) { return resolutionHost.toPa…
[all …]
DtypingsInstaller.js1351 function arrayToMap(array, makeKey, makeValue) { function
1362 ts.arrayToMap = arrayToMap;
26511 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = ts.arrayToMap([
37716 return ts.arrayToMap(options, getOptionName);
101316 …ndle.sources) === null || _a === void 0 ? void 0 : _a.prologues) && ts.arrayToMap(jsBundle.sources…
105805 …var extendedConfigs = ts.arrayToMap(((_a = parsed === null || parsed === void 0 ? void 0 : parsed.…
105842 var newMissingFilePathMap = ts.arrayToMap(missingFilePaths, ts.identity, ts.returnTrue);
110880 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && ts.arrayToMap(program.semanticDi…
110883 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && ts.arrayToMap(program.affectedFi…
111639 …ts.mutateMap(typeRootsWatches, ts.arrayToMap(typeRoots, function (tr) { return resolutionHost.toPa…
[all …]
Dtsserverlibrary.js1556 function arrayToMap(array, makeKey, makeValue) { function
1567 ts.arrayToMap = arrayToMap;
26716 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = ts.arrayToMap([
37921 return ts.arrayToMap(options, getOptionName);
101521 …ndle.sources) === null || _a === void 0 ? void 0 : _a.prologues) && ts.arrayToMap(jsBundle.sources…
106010 …var extendedConfigs = ts.arrayToMap(((_a = parsed === null || parsed === void 0 ? void 0 : parsed.…
106047 var newMissingFilePathMap = ts.arrayToMap(missingFilePaths, ts.identity, ts.returnTrue);
111085 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && ts.arrayToMap(program.semanticDi…
111088 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && ts.arrayToMap(program.affectedFi…
111844 …ts.mutateMap(typeRootsWatches, ts.arrayToMap(typeRoots, function (tr) { return resolutionHost.toPa…
[all …]
Dtsserver.js1362 function arrayToMap(array, makeKey, makeValue) { function
1373 ts.arrayToMap = arrayToMap;
26522 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = ts.arrayToMap([
37727 return ts.arrayToMap(options, getOptionName);
101327 …ndle.sources) === null || _a === void 0 ? void 0 : _a.prologues) && ts.arrayToMap(jsBundle.sources…
105816 …var extendedConfigs = ts.arrayToMap(((_a = parsed === null || parsed === void 0 ? void 0 : parsed.…
105853 var newMissingFilePathMap = ts.arrayToMap(missingFilePaths, ts.identity, ts.returnTrue);
110891 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && ts.arrayToMap(program.semanticDi…
110894 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && ts.arrayToMap(program.affectedFi…
111650 …ts.mutateMap(typeRootsWatches, ts.arrayToMap(typeRoots, function (tr) { return resolutionHost.toPa…
[all …]
Dtypescript.js1556 function arrayToMap(array, makeKey, makeValue) { function
1567 ts.arrayToMap = arrayToMap;
26716 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = ts.arrayToMap([
37921 return ts.arrayToMap(options, getOptionName);
101521 …ndle.sources) === null || _a === void 0 ? void 0 : _a.prologues) && ts.arrayToMap(jsBundle.sources…
106010 …var extendedConfigs = ts.arrayToMap(((_a = parsed === null || parsed === void 0 ? void 0 : parsed.…
106047 var newMissingFilePathMap = ts.arrayToMap(missingFilePaths, ts.identity, ts.returnTrue);
111085 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && ts.arrayToMap(program.semanticDi…
111088 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && ts.arrayToMap(program.affectedFi…
111844 …ts.mutateMap(typeRootsWatches, ts.arrayToMap(typeRoots, function (tr) { return resolutionHost.toPa…
[all …]

12