Home
last modified time | relevance | path

Searched refs:rootFiles (Results 1 – 25 of 43) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/tsserver/
DexternalProjects.ts22 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 …]
Dprojects.ts93 …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 …]
DimportHelpers.ts14 …service.openExternalProject({ projectFileName: "p", rootFiles: [toExternalFile(f1.path)], options:…
DtypingsInstaller.ts274 rootFiles: [toExternalFile(file1.path)]
306 rootFiles: [toExternalFile(appJs.path)],
333 rootFiles: [toExternalFile(file1.path)],
373 rootFiles: [toExternalFile(file1.path)],
427rootFiles: [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)],
634rootFiles: [toExternalFile(lodashJs.path), toExternalFile(commanderJs.path), toExternalFile(file3d…
716rootFiles: [toExternalFile(lodashJs.path), toExternalFile(commanderJs.path), toExternalFile(file3.…
[all …]
DreloadProjects.ts94 rootFiles: [{ fileName: file1.path }, { fileName: file2.path }]
120rootFiles: [{ fileName: file1.path }, { fileName: file2.path }, { fileName: configFile.path }]
DskipLibCheck.ts63 rootFiles: toExternalFiles([jsFile.path, dTsFile.path]),
99 rootFiles: toExternalFiles([jsFile.path, dTsFile.path]),
DtypeAquisition.ts16rootFiles: [toExternalFile(file2.path), { fileName: file1.path, hasMixedContent: true, scriptKind:…
DopenFile.ts12 …projectService.openExternalProject({ projectFileName, rootFiles: [toExternalFile(f.path)], options…
Dtelemetry.ts81 rootFiles: toExternalFiles([file1.path]),
DprojectErrors.ts52 rootFiles: toExternalFiles([file1.path, file2.path])
791 rootFiles: externalFiles,
811 rootFiles: externalFiles,
/third_party/typescript/tests/baselines/reference/
DAPISample_parseConfig.js28 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);
DAPISample_WatchWithOwnWatchHost.js24 rootFiles: files, property
78 rootFiles: files, property
/third_party/typescript/src/harness/
DcompilerImpl.ts238 …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/
DreuseProgramStructure.ts456 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 …]
DmoduleResolution.ts478 …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/
DAPISample_parseConfig.ts32 export function createProgram(rootFiles: string[], compilerOptionsJson: string): ts.Program | undef…
46 return ts.createProgram(rootFiles, settings.options);
DAPISample_WatchWithOwnWatchHost.ts28 rootFiles: files,
/third_party/typescript/src/server/
Dproject.ts142 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 …]
DeditorServices.ts3649 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/
DprojectsRunner.ts347 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/
DbuildProtocol.ts164 …const rootFiles = includeTypeScriptServices ? [protocolFileName, typeScriptServicesDts] : [protoco… constant
165 return ts.createProgram(rootFiles, options, host);
/third_party/typescript/src/compiler/
DwatchPublic.ts129 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;
Dwatch.ts611 rootFiles: string[]; property
620 rootFiles, options, watchOptions, projectReferences,
624 host.rootFiles = rootFiles;
/third_party/typescript/src/testRunner/unittests/tscWatch/
Dhelpers.ts41 …export function createWatchOfFilesAndCompilerOptions(rootFiles: string[], system: WatchedSystem, o…
42 …const compilerHost = createWatchCompilerHostOfFilesAndCompilerOptions({ rootFiles, options, watchO…
/third_party/typescript/src/testRunner/unittests/tsserver/events/
DprojectLoading.ts163 rootFiles: toExternalFiles([aTs.path, configA.path]),

12