Searched refs:arrayToMap (Results 1 – 17 of 17) sorted by relevance
| /third_party/typescript/src/testRunner/unittests/ |
| D | customTransforms.ts | 6 const fileMap = arrayToMap(roots, file => file.fileName);
|
| D | moduleResolution.ts | 1571 …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 | 329 …const extendedConfigs = arrayToMap(options?.configFile?.extendedSourceFiles || emptyArray, toPath); 416 const newMissingFilePathMap = arrayToMap(missingFilePaths, identity, returnTrue);
|
| D | core.ts | 1362 …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,…
|
| D | builder.ts | 1514 …semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagn… 1517 …affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFiles…
|
| D | resolutionCache.ts | 1108 arrayToMap(typeRoots, tr => resolutionHost.toPath(tr)),
|
| D | tsbuildPublic.ts | 2190 arrayToMap(parsed.fileNames, fileName => toPath(state, fileName)),
|
| D | commandLineParser.ts | 1974 return arrayToMap(options, getOptionName);
|
| D | emitter.ts | 721 …const prologueMap = jsBundle.sources?.prologues && arrayToMap(jsBundle.sources.prologues, prologue…
|
| /third_party/typescript/src/compiler/factory/ |
| D | emitHelpers.ts | 1002 return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = arrayToMap([
|
| /third_party/typescript/src/harness/ |
| D | virtualFileSystemWithWatch.ts | 171 …const expectedKeys = isArray(expectedKeysMapOrArray) ? arrayToMap(expectedKeysMapOrArray, s => s, … 194 checkMap(caption, arrayToMap(actual, identity), expected, /*eachKeyCount*/ undefined);
|
| /third_party/typescript/src/testRunner/ |
| D | projectsRunner.ts | 445 const optionNameMap = ts.arrayToMap(ts.optionDeclarations, option => option.name);
|
| /third_party/typescript/src/server/ |
| D | project.ts | 1595 const currentFiles = arrayToMap( 1649 this.lastReportedFileNames = arrayToMap(
|
| D | editorServices.ts | 3812 … const projectsToClose = arrayToMap(this.externalProjects, p => p.getProjectName(), _ => true);
|
| /third_party/typescript/lib/ |
| D | typingsInstaller.js | 1368 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 …]
|
| D | tsc.js | 1185 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 …]
|