| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| D | externalProjects.ts | 22 rootFiles: toExternalFiles([f1.path, upperCaseConfigFilePath]), 58 …const p1 = { projectFileName: "/a/proj1.csproj", rootFiles: [toExternalFile(f1.path)], options: {}… 128 …const makeProject = (f: File) => ({ projectFileName: f.path + ".csproj", rootFiles: [toExternalFil… 188 rootFiles: toExternalFiles([file1.path, file2.path]), 217 rootFiles: externalFiles, 243 rootFiles: [ 286 rootFiles: toExternalFiles([config1.path, config2.path, file3.path]), 349 rootFiles: toExternalFiles([configFile.path]), 386 rootFiles: toExternalFiles([configFile.path]), 420 …projectService.openExternalProject({ projectFileName: "project", options: {}, rootFiles: toExterna… [all …]
|
| D | projects.ts | 93 …projectService.openExternalProject({ rootFiles: toExternalFiles([file1.path]), options: {}, projec… 97 …projectService.openExternalProject({ rootFiles: toExternalFiles([file2.path]), options: {}, projec… 101 …projectService.openExternalProject({ rootFiles: toExternalFiles([file3.path]), options: {}, projec… 123 …projectService.openExternalProject({ rootFiles: toExternalFiles([file1.path, file2.path]), options… 150 rootFiles: toExternalFiles([file1.path, config1.path]), 227 …service.openExternalProject({ projectFileName: "/a/b/project", rootFiles: toExternalFiles([f1.path… 259 …service.openExternalProject({ projectFileName: "/a/b/project", rootFiles: [{ fileName: f1.path }, … 360 …tService.openExternalProject({ projectFileName: "project", options: {}, rootFiles: toExternalFiles… 400 …ervice.openExternalProject({ projectFileName: projectName, options: {}, rootFiles: toExternalFiles… 459 …tService.openExternalProject({ projectFileName: "project", options: {}, rootFiles: toExternalFiles… [all …]
|
| D | importHelpers.ts | 14 …service.openExternalProject({ projectFileName: "p", rootFiles: [toExternalFile(f1.path)], options:…
|
| D | typingsInstaller.ts | 274 rootFiles: [toExternalFile(file1.path)] 306 rootFiles: [toExternalFile(appJs.path)], 333 rootFiles: [toExternalFile(file1.path)], 373 rootFiles: [toExternalFile(file1.path)], 427 …rootFiles: [toExternalFile(lodashJs.path), toExternalFile(file2Jsx.path), toExternalFile(file3dts.… 471 rootFiles: [toExternalFile(jqueryJs.path)], 511 rootFiles: [toExternalFile(jqueryJs.path)], 558 rootFiles: [toExternalFile(jqueryJs.path), toExternalFile(file2Ts.path)], 634 …rootFiles: [toExternalFile(lodashJs.path), toExternalFile(commanderJs.path), toExternalFile(file3d… 716 …rootFiles: [toExternalFile(lodashJs.path), toExternalFile(commanderJs.path), toExternalFile(file3.… [all …]
|
| D | reloadProjects.ts | 94 rootFiles: [{ fileName: file1.path }, { fileName: file2.path }] 120 … rootFiles: [{ fileName: file1.path }, { fileName: file2.path }, { fileName: configFile.path }]
|
| D | skipLibCheck.ts | 63 rootFiles: toExternalFiles([jsFile.path, dTsFile.path]), 99 rootFiles: toExternalFiles([jsFile.path, dTsFile.path]),
|
| D | typeAquisition.ts | 16 …rootFiles: [toExternalFile(file2.path), { fileName: file1.path, hasMixedContent: true, scriptKind:…
|
| D | openFile.ts | 12 …projectService.openExternalProject({ projectFileName, rootFiles: [toExternalFile(f.path)], options…
|
| D | telemetry.ts | 81 rootFiles: toExternalFiles([file1.path]),
|
| D | projectErrors.ts | 52 rootFiles: toExternalFiles([file1.path, file2.path]) 791 rootFiles: externalFiles, 811 rootFiles: externalFiles,
|
| /third_party/typescript/tests/baselines/reference/ |
| D | APISample_parseConfig.js | 28 export function createProgram(rootFiles: string[], compilerOptionsJson: string): ts.Program | undef… 42 return ts.createProgram(rootFiles, settings.options); 61 function createProgram(rootFiles, compilerOptionsJson) { argument 76 return ts.createProgram(rootFiles, settings.options);
|
| D | APISample_WatchWithOwnWatchHost.js | 24 rootFiles: files, property 78 rootFiles: files, property
|
| /third_party/typescript/src/harness/ |
| D | compilerImpl.ts | 238 …export function compileFiles(host: fakes.CompilerHost, rootFiles: string[] | undefined, compilerOp… 239 if (compilerOptions.project || !rootFiles || rootFiles.length === 0) { 246 rootFiles = project.config.fileNames; 259 …const preProgram = ts.length(rootFiles) < 100 ? ts.createProgram(rootFiles || [], { ...compilerOpt… 262 const program = ts.createProgram(rootFiles || [], compilerOptions, host);
|
| /third_party/typescript/src/testRunner/unittests/ |
| D | reuseProgramStructure.ts | 456 const rootFiles = [file1Ts, file2Ts]; constant 459 const initialProgram = newProgram(rootFiles, rootFiles.map(f => f.name), options); 492 …const afterNpmInstallProgram = updateProgram(initialProgram, rootFiles.map(f => f.name), options, … 948 …function verifyProgramWithoutConfigFile(system: System, rootFiles: string[], options: CompilerOpti… 950 rootFiles, 955 verifyProgramIsUptoDate(program, duplicate(rootFiles), duplicate(options)); 967 …function verifyProgram(files: File[], rootFiles: string[], options: CompilerOptions, configFile: s… 969 verifyProgramWithoutConfigFile(system, rootFiles, options); 1098 const rootFiles = [module1.path, module2.path, module3.path]; constant 1102 rootFiles, [all …]
|
| D | moduleResolution.ts | 478 …function test(files: ESMap<string, string>, currentDirectory: string, rootFiles: string[], expecte… 500 const program = createProgram(rootFiles, options, host); 557 rootFiles: string[], 594 const program = createProgram(rootFiles, options, host);
|
| /third_party/typescript/tests/cases/compiler/ |
| D | APISample_parseConfig.ts | 32 export function createProgram(rootFiles: string[], compilerOptionsJson: string): ts.Program | undef… 46 return ts.createProgram(rootFiles, settings.options);
|
| D | APISample_WatchWithOwnWatchHost.ts | 28 rootFiles: files,
|
| /third_party/typescript/src/server/ |
| D | project.ts | 142 private rootFiles: ScriptInfo[] = []; property in ts.server.Project 416 if (!this.rootFiles) { 437 this.rootFiles.push(scriptInfo); 806 for (const root of this.rootFiles) { 811 this.rootFiles = undefined!; 849 return this.rootFiles === undefined; 853 return this.rootFiles && this.rootFiles.length > 0; 862 return this.rootFiles && this.rootFiles.map(info => info.fileName); 871 return this.rootFiles; 877 return this.rootFiles; [all …]
|
| D | editorServices.ts | 3649 const { rootFiles } = proj; constant 3660 … const normalizedNames = rootFiles.map(f => normalizeSlashes(f.fileName)) as NormalizedPath[]; 3717 for (let i = 0; i < proj.rootFiles.length; i++) { 3748 filesToKeep.push(proj.rootFiles[i]); 3753 proj.rootFiles = filesToKeep; 3768 … proj.typeAcquisition.enable = hasNoTypeScriptSource(proj.rootFiles.map(f => f.fileName)); 3774 const rootFiles: protocol.ExternalFile[] = []; constant 3775 for (const file of proj.rootFiles) { 3783 rootFiles.push(file); 3799 …TotalSizeLimitForNonTsFiles(proj.projectFileName, compilerOptions, proj.rootFiles, externalFilePro… [all …]
|
| /third_party/typescript/src/testRunner/ |
| D | projectsRunner.ts | 347 const rootFiles: string[] = []; constant 353 rootFiles.unshift(sourceFile.fileName); 370 rootFiles.unshift(file.meta.get("fileName") || file.file); 378 rootFiles.unshift(outputDtsFile.meta.get("fileName") || outputDtsFile.file); 390 …(compilerResult.moduleKind, compilerResult.configFileSourceFiles, () => rootFiles, compilerHost, c…
|
| /third_party/typescript/scripts/ |
| D | buildProtocol.ts | 164 …const rootFiles = includeTypeScriptServices ? [protocolFileName, typeScriptServicesDts] : [protoco… constant 165 return ts.createProgram(rootFiles, options, host);
|
| /third_party/typescript/src/compiler/ |
| D | watchPublic.ts | 129 rootFiles: string[]; property 197 …export function createWatchCompilerHost<T extends BuilderProgram>(rootFiles: string[], options: Co… 201 rootFiles: rootFilesOrConfigFileName, 263 …let { rootFiles: rootFileNames, options: compilerOptions, watchOptions, projectReferences } = host;
|
| D | watch.ts | 611 rootFiles: string[]; property 620 rootFiles, options, watchOptions, projectReferences, 624 host.rootFiles = rootFiles;
|
| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| D | helpers.ts | 41 …export function createWatchOfFilesAndCompilerOptions(rootFiles: string[], system: WatchedSystem, o… 42 …const compilerHost = createWatchCompilerHostOfFilesAndCompilerOptions({ rootFiles, options, watchO…
|
| /third_party/typescript/src/testRunner/unittests/tsserver/events/ |
| D | projectLoading.ts | 163 rootFiles: toExternalFiles([aTs.path, configA.path]),
|