Home
last modified time | relevance | path

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

12

/third_party/typescript/src/testRunner/unittests/evaluation/
DupdateExpressionInModule.ts14 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"],
DexternalModules.ts35 rootFiles: ["/.src/main.ts"],
76 rootFiles: ["/.src/main.ts"],
/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.ts80 …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 …]
DtypingsInstaller.ts253 rootFiles: [toExternalFile(file1.path)]
285 rootFiles: [toExternalFile(appJs.path)],
312 rootFiles: [toExternalFile(file1.path)],
352 rootFiles: [toExternalFile(file1.path)],
406rootFiles: [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)],
613rootFiles: [toExternalFile(lodashJs.path), toExternalFile(commanderJs.path), toExternalFile(file3d…
695rootFiles: [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]),
DimportHelpers.ts14 …service.openExternalProject({ projectFileName: "p", rootFiles: [toExternalFile(f1.path)], options:…
DtypeAquisition.ts16rootFiles: [toExternalFile(file2.path), { fileName: file1.path, hasMixedContent: true, scriptKind:…
DwatchEnvironment.ts365 rootFiles: toExternalFiles([main.path, bar.path, foo.path]),
390 rootFiles: toExternalFiles([main.path, bar.path, foo.path]),
/third_party/typescript/tests/baselines/reference/
DAPISample_parseConfig.js29 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);
DAPISample_WatchWithOwnWatchHost.js25 rootFiles: files, property
79 rootFiles: files, property
/third_party/typescript/src/testRunner/unittests/
DreuseProgramStructure.ts476 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 …]
DmoduleResolution.ts503 …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/
DcompilerImpl.ts236 …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);
DevaluatorImpl.ts18 …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/
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.ts151 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 …]
DeditorServices.ts3840 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/
DprojectsRunner.ts351 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/
DresolutionCache.ts16 rootFiles: [root.path],
99 rootFiles: [root.path],
157 rootFiles: [root.path],
/third_party/typescript/src/compiler/
Dwatch.ts776 rootFiles: string[]; property
785 rootFiles, options, watchOptions, projectReferences,
789 host.rootFiles = rootFiles;
DwatchPublic.ts167 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/
DbuildProtocol.mjs223 …const rootFiles = includeTypeScriptServices ? [protocolFileName, typeScriptServicesDts] : [protoco…
224 return ts.createProgram(rootFiles, options, host);

12