/third_party/typescript/src/testRunner/unittests/evaluation/ |
D | updateExpressionInModule.ts | 14 rootFiles: ["/.src/main.ts"], 29 rootFiles: ["/.src/main.ts"], 44 rootFiles: ["/.src/main.ts"], 59 rootFiles: ["/.src/main.ts"], 74 rootFiles: ["/.src/main.ts"], 89 rootFiles: ["/.src/main.ts"], 104 rootFiles: ["/.src/main.ts"], 119 rootFiles: ["/.src/main.ts"],
|
D | externalModules.ts | 35 rootFiles: ["/.src/main.ts"], 76 rootFiles: ["/.src/main.ts"],
|
/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 | 80 …projectService.openExternalProject({ rootFiles: toExternalFiles([file1.path]), options: {}, projec… 84 …projectService.openExternalProject({ rootFiles: toExternalFiles([file2.path]), options: {}, projec… 88 …projectService.openExternalProject({ rootFiles: toExternalFiles([file3.path]), options: {}, projec… 110 …projectService.openExternalProject({ rootFiles: toExternalFiles([file1.path, file2.path]), options… 137 rootFiles: toExternalFiles([file1.path, config1.path]), 214 …service.openExternalProject({ projectFileName: "/a/b/project", rootFiles: toExternalFiles([f1.path… 246 …service.openExternalProject({ projectFileName: "/a/b/project", rootFiles: [{ fileName: f1.path }, … 347 …tService.openExternalProject({ projectFileName: "project", options: {}, rootFiles: toExternalFiles… 387 …ervice.openExternalProject({ projectFileName: projectName, options: {}, rootFiles: toExternalFiles… 446 …tService.openExternalProject({ projectFileName: "project", options: {}, rootFiles: toExternalFiles… [all …]
|
D | typingsInstaller.ts | 253 rootFiles: [toExternalFile(file1.path)] 285 rootFiles: [toExternalFile(appJs.path)], 312 rootFiles: [toExternalFile(file1.path)], 352 rootFiles: [toExternalFile(file1.path)], 406 …rootFiles: [toExternalFile(lodashJs.path), toExternalFile(file2Jsx.path), toExternalFile(file3dts.… 450 rootFiles: [toExternalFile(jqueryJs.path)], 490 rootFiles: [toExternalFile(jqueryJs.path)], 537 rootFiles: [toExternalFile(jqueryJs.path), toExternalFile(file2Ts.path)], 613 …rootFiles: [toExternalFile(lodashJs.path), toExternalFile(commanderJs.path), toExternalFile(file3d… 695 …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 | importHelpers.ts | 14 …service.openExternalProject({ projectFileName: "p", rootFiles: [toExternalFile(f1.path)], options:…
|
D | typeAquisition.ts | 16 …rootFiles: [toExternalFile(file2.path), { fileName: file1.path, hasMixedContent: true, scriptKind:…
|
D | watchEnvironment.ts | 365 rootFiles: toExternalFiles([main.path, bar.path, foo.path]), 390 rootFiles: toExternalFiles([main.path, bar.path, foo.path]),
|
/third_party/typescript/tests/baselines/reference/ |
D | APISample_parseConfig.js | 29 export function createProgram(rootFiles: string[], compilerOptionsJson: string): ts.Program | undef… 43 return ts.createProgram(rootFiles, settings.options); 63 function createProgram(rootFiles, compilerOptionsJson) { argument 78 return ts.createProgram(rootFiles, settings.options);
|
D | APISample_WatchWithOwnWatchHost.js | 25 rootFiles: files, property 79 rootFiles: files, property
|
/third_party/typescript/src/testRunner/unittests/ |
D | reuseProgramStructure.ts | 476 const rootFiles = [file1Ts, file2Ts]; constant 479 const initialProgram = newProgram(rootFiles, rootFiles.map(f => f.name), options); 514 …const afterNpmInstallProgram = updateProgram(initialProgram, rootFiles.map(f => f.name), options, … 978 …function verifyProgramWithoutConfigFile(system: System, rootFiles: string[], options: CompilerOpti… 980 rootFiles, 985 verifyProgramIsUptoDate(program, duplicate(rootFiles), duplicate(options)); 997 …function verifyProgram(files: File[], rootFiles: string[], options: CompilerOptions, configFile: s… 999 verifyProgramWithoutConfigFile(system, rootFiles, options); 1128 const rootFiles = [module1.path, module2.path, module3.path]; constant 1132 rootFiles, [all …]
|
D | moduleResolution.ts | 503 …function test(files: ESMap<string, string>, currentDirectory: string, rootFiles: string[], expecte… 525 const program = createProgram(rootFiles, options, host); 582 rootFiles: string[], 619 const program = createProgram(rootFiles, options, host);
|
/third_party/typescript/src/harness/ |
D | compilerImpl.ts | 236 …export function compileFiles(host: fakes.CompilerHost, rootFiles: string[] | undefined, compilerOp… 237 if (compilerOptions.project || !rootFiles || rootFiles.length === 0) { 244 rootFiles = project.config.fileNames; 259 …const skipErrorComparison = ts.length(rootFiles) >= 100 || (!!compilerOptions.skipLibCheck && !!co… 261 …const preProgram = !skipErrorComparison ? ts.createProgram(rootFiles || [], { ...compilerOptions, … 264 const program = ts.createProgram(rootFiles || [], compilerOptions, host);
|
D | evaluatorImpl.ts | 18 …export function evaluateTypeScript(source: string | { files: vfs.FileSet, rootFiles: string[], mai… 19 …if (typeof source === "string") source = { files: { [sourceFile]: source }, rootFiles: [sourceFile… 28 const result = compiler.compileFiles(host, source.rootFiles, compilerOptions);
|
/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 | 151 private rootFiles: ScriptInfo[] = []; property in ts.server.Project 491 if (!this.rootFiles) { 512 this.rootFiles.push(scriptInfo); 898 for (const root of this.rootFiles) { 903 this.rootFiles = undefined!; 948 return this.rootFiles === undefined; 952 return this.rootFiles && this.rootFiles.length > 0; 961 return this.rootFiles && this.rootFiles.map(info => info.fileName); 970 return this.rootFiles; 976 return this.rootFiles; [all …]
|
D | editorServices.ts | 3840 const { rootFiles } = proj; constant 3851 … const normalizedNames = rootFiles.map(f => normalizeSlashes(f.fileName)) as NormalizedPath[]; 3908 for (let i = 0; i < proj.rootFiles.length; i++) { 3939 filesToKeep.push(proj.rootFiles[i]); 3944 proj.rootFiles = filesToKeep; 3959 … proj.typeAcquisition.enable = hasNoTypeScriptSource(proj.rootFiles.map(f => f.fileName)); 3965 const rootFiles: protocol.ExternalFile[] = []; constant 3966 for (const file of proj.rootFiles) { 3974 rootFiles.push(file); 3990 …TotalSizeLimitForNonTsFiles(proj.projectFileName, compilerOptions, proj.rootFiles, externalFilePro… [all …]
|
/third_party/typescript/src/testRunner/ |
D | projectsRunner.ts | 351 const rootFiles: string[] = []; constant 357 rootFiles.unshift(sourceFile.fileName); 374 rootFiles.unshift(file.meta.get("fileName") || file.file); 382 rootFiles.unshift(outputDtsFile.meta.get("fileName") || outputDtsFile.file); 394 …(compilerResult.moduleKind, compilerResult.configFileSourceFiles, () => rootFiles, compilerHost, c…
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | resolutionCache.ts | 16 rootFiles: [root.path], 99 rootFiles: [root.path], 157 rootFiles: [root.path],
|
/third_party/typescript/src/compiler/ |
D | watch.ts | 776 rootFiles: string[]; property 785 rootFiles, options, watchOptions, projectReferences, 789 host.rootFiles = rootFiles;
|
D | watchPublic.ts | 167 rootFiles: string[]; property 236 …export function createWatchCompilerHost<T extends BuilderProgram>(rootFiles: string[], options: Co… 240 rootFiles: rootFilesOrConfigFileName, 315 …let { rootFiles: rootFileNames, options: compilerOptions, watchOptions, projectReferences } = host;
|
/third_party/typescript/scripts/ |
D | buildProtocol.mjs | 223 …const rootFiles = includeTypeScriptServices ? [protocolFileName, typeScriptServicesDts] : [protoco… 224 return ts.createProgram(rootFiles, options, host);
|