| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| D | watchEnvironment.ts | 27 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 …]
|
| D | symLinks.ts | 186 …const watchedDirectoriesWithResolvedModule = arrayToMap(getTypeRootsFromLocation(recognizersDateTi…
|
| D | projectErrors.ts | 1010 …const expectedRecursiveWatches = arrayToMap([`${tscWatch.projectRoot}`, `${tscWatch.projectRoot}/s…
|
| /third_party/typescript/src/testRunner/unittests/tsbuild/ |
| D | watchEnvironment.ts | 10 …arrayToMap(["TSC_WATCHFILE"], identity, () => TestFSWithWatch.Tsc_WatchFile.SingleFileWatcherPerNa… 42 const watchFilesDetailed = arrayToMap(flatArray(allPkgFiles), f => f.path, () => 1);
|
| /third_party/typescript/src/testRunner/unittests/ |
| D | customTransforms.ts | 6 const fileMap = arrayToMap(roots, file => file.fileName);
|
| D | moduleResolution.ts | 1513 …const sourceFiles = arrayToMap(map(files, f => createSourceFile(f.name, f.content, ScriptTarget.ES…
|
| D | reuseProgramStructure.ts | 108 const files = arrayToMap(texts, t => t.name, t => {
|
| /third_party/typescript/src/compiler/ |
| D | watchUtilities.ts | 275 …const extendedConfigs = arrayToMap(parsed?.options.configFile?.extendedSourceFiles || emptyArray, … 315 const newMissingFilePathMap = arrayToMap(missingFilePaths, identity, returnTrue);
|
| D | core.ts | 1387 …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,…
|
| D | builder.ts | 1199 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagn… 1202 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFiles…
|
| D | watchPublic.ts | 796 arrayToMap(compilerOptions.configFile?.extendedSourceFiles || emptyArray, toPath),
|
| D | resolutionCache.ts | 878 arrayToMap(typeRoots, tr => resolutionHost.toPath(tr)),
|
| D | tsbuildPublic.ts | 1856 arrayToMap(parsed.fileNames, fileName => toPath(state, fileName)),
|
| D | commandLineParser.ts | 1657 return arrayToMap(options, getOptionName);
|
| D | emitter.ts | 735 …const prologueMap = jsBundle.sources?.prologues && arrayToMap(jsBundle.sources.prologues, prologue…
|
| /third_party/typescript/src/compiler/factory/ |
| D | emitHelpers.ts | 850 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = arrayToMap([
|
| /third_party/typescript/src/harness/ |
| D | virtualFileSystemWithWatch.ts | 172 …const expectedKeys = isArray(expectedKeysMapOrArray) ? arrayToMap(expectedKeysMapOrArray, s => s, … 195 checkMap(caption, arrayToMap(actual, identity), expected, /*eachKeyCount*/ undefined);
|
| /third_party/typescript/src/testRunner/ |
| D | projectsRunner.ts | 441 const optionNameMap = ts.arrayToMap(ts.optionDeclarations, option => option.name);
|
| /third_party/typescript/src/server/ |
| D | project.ts | 1508 const currentFiles = arrayToMap( 1562 this.lastReportedFileNames = arrayToMap(
|
| D | editorServices.ts | 3621 … const projectsToClose = arrayToMap(this.externalProjects, p => p.getProjectName(), _ => true);
|
| /third_party/typescript/lib/ |
| D | tsc.js | 1166 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 …]
|
| D | typingsInstaller.js | 1351 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 …]
|
| D | tsserverlibrary.js | 1556 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 …]
|
| D | tsserver.js | 1362 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 …]
|
| D | typescript.js | 1556 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 …]
|