/third_party/typescript/tests/baselines/reference/ |
D | APISample_WatchWithDefaults.js | 40 host.createProgram = (rootNames, options, host, oldProgram) => { argument 42 return origCreateProgram(rootNames, options, host, oldProgram); 85 host.createProgram = function (rootNames, options, host, oldProgram) { 87 return origCreateProgram(rootNames, options, host, oldProgram);
|
D | APISample_WatchWithOwnWatchHost.js | 47 host.createProgram = (rootNames, options, host, oldProgram) => { argument 49 return origCreateProgram(rootNames, options, host, oldProgram); 97 host.createProgram = function (rootNames, options, host, oldProgram) { 99 return origCreateProgram(rootNames, options, host, oldProgram);
|
D | APISample_Watch.js | 53 host.createProgram = (rootNames: ReadonlyArray<string>, options, host, oldProgram) => { 55 return origCreateProgram(rootNames, options, host, oldProgram); 118 host.createProgram = function (rootNames, options, host, oldProgram) { 120 return origCreateProgram(rootNames, options, host, oldProgram);
|
/third_party/typescript/tests/cases/compiler/ |
D | APISample_WatchWithDefaults.ts | 44 host.createProgram = (rootNames, options, host, oldProgram) => { 46 return origCreateProgram(rootNames, options, host, oldProgram);
|
D | APISample_Watch.ts | 57 host.createProgram = (rootNames: ReadonlyArray<string>, options, host, oldProgram) => { 59 return origCreateProgram(rootNames, options, host, oldProgram);
|
D | APISample_WatchWithOwnWatchHost.ts | 51 host.createProgram = (rootNames, options, host, oldProgram) => { 53 return origCreateProgram(rootNames, options, host, oldProgram);
|
/third_party/typescript/src/compiler/ |
D | builderPublic.ts | 140 …export function createSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, … 150 …export function createEmitAndSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | unde… 159 …export function createAbstractBuilder(rootNames: readonly string[] | undefined, options: CompilerO…
|
D | tsbuildPublic.ts | 194 …SolutionBuilder<T extends BuilderProgram>(host: SolutionBuilderHost<T>, rootNames: readonly string… 195 return createSolutionBuilderWorker(/*watch*/ false, host, rootNames, defaultOptions); 198 …hWatch<T extends BuilderProgram>(host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string… 199 …return createSolutionBuilderWorker(/*watch*/ true, host, rootNames, defaultOptions, baseWatchOptio… 224 readonly rootNames: readonly string[]; property 264 …ostWithWatch: SolutionBuilderHost<T> | SolutionBuilderWithWatchHost<T>, rootNames: readonly string… 297 rootNames, 438 …const buildOrder = createBuildOrder(state, state.rootNames.map(f => resolveProjectName(state, f))); 1904 …r<T extends BuilderProgram>(watch: false, host: SolutionBuilderHost<T>, rootNames: readonly string… 1905 …nds BuilderProgram>(watch: true, host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string… [all …]
|
D | watchPublic.ts | 28 rootNames: readonly string[]; property 37 rootNames, options, configFileParsingDiagnostics, projectReferences, host, createProgram 42 …return createProgram(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectRe… 47 …export type CreateProgram<T extends BuilderProgram> = (rootNames: readonly string[] | undefined, o…
|
D | program.ts | 762 …function createCreateProgramOptions(rootNames: readonly string[], options: CompilerOptions, host?:… 764 rootNames, 797 …export function createProgram(rootNames: readonly string[], options: CompilerOptions, host?: Compi… 800 …const { rootNames, options, configFileParsingDiagnostics, projectReferences } = createProgramOptio… constant 940 if (rootNames.length) { 968 tracing?.push(tracing.Phase.Program, "processRootFiles", { count: rootNames.length }); 969 …forEach(rootNames, (name, index) => processRootFile(name, /*isDefaultLib*/ false, /*ignoreNoDefaul… 973 …const typeReferences: string[] = rootNames.length ? getAutomaticTypeDirectiveNames(options, host) … 991 if (rootNames.length && !skipDefaultLib) { 1043 getRootFileNames: () => rootNames, [all …]
|
D | watch.ts | 632 rootNames: readonly string[]; property
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | graphOrdering.ts | 49 … function checkGraphOrdering(rootNames: string[], expectedBuildSet: string[], circular?: true) { 50 …const builder = createSolutionBuilder(host!, rootNames.map(getProjectFileName), { dry: true, force…
|
D | watchMode.ts | 13 …export function createSolutionBuilder(system: WatchedSystem, rootNames: readonly string[], default… 15 return ts.createSolutionBuilder(host, rootNames, defaultOptions || {}); 18 export function ensureErrorFreeBuild(host: WatchedSystem, rootNames: readonly string[]) { 20 const solutionBuilder = createSolutionBuilder(host, rootNames, {});
|
/third_party/typescript/src/testRunner/unittests/ |
D | publicApi.ts | 95 rootNames: ["/file.ts"], 117 rootNames: ["/file.ts"],
|
D | reuseProgramStructure.ts | 147 …export function newProgram(texts: NamedSourceText[], rootNames: string[], options: CompilerOptions… 149 const program = <ProgramWithSourceTexts>createProgram(rootNames, options, host); 155 …export function updateProgram(oldProgram: ProgramWithSourceTexts, rootNames: readonly string[], op… 161 const program = <ProgramWithSourceTexts>createProgram(rootNames, options, host, oldProgram);
|
/third_party/typescript/src/executeCommandLine/ |
D | executeCommandLine.ts | 528 rootNames: fileNames, 558 rootNames: fileNames, 587 …host.createProgram = (rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectR… 588 Debug.assert(rootNames !== undefined || (options === undefined && !!oldProgram)); 592 …return compileUsingBuilder(rootNames, options, host, oldProgram, configFileParsingDiagnostics, pro…
|
/third_party/typescript/src/server/ |
D | project.ts | 1938 let rootNames: string[] | undefined; 1958 rootNames = append(rootNames, fileName); 1960 …if (dependencySelection === PackageJsonAutoImportPreference.Auto && rootNames.length > this.maxDep… 1967 return rootNames || ts.emptyArray; 1992 …const rootNames = this.getRootFileNames(dependencySelection, hostProject, moduleResolutionHost, co… constant 1993 if (!rootNames.length) { 1997 … return new AutoImportProviderProject(hostProject, rootNames, documentRegistry, compilerOptions);
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | incremental.ts | 139 rootNames: parsedConfig.fileNames, 149 rootNames: command.fileNames,
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | projectReferences.ts | 91 rootNames: file.fileNames,
|
/third_party/typescript/lib/ |
D | typescriptServices.d.ts | 3019 rootNames: readonly string[]; property 4855 …export function createProgram(rootNames: readonly string[], options: CompilerOptions, host?: Compi… 4994 …function createSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, options… 5000 …function createEmitAndSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, … 5005 …function createAbstractBuilder(rootNames: readonly string[] | undefined, options: CompilerOptions … 5016 rootNames: readonly string[]; 5023 …<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>({ rootNames, options, config… 5026 …type CreateProgram<T extends BuilderProgram> = (rootNames: readonly string[] | undefined, options:… 5188 …SolutionBuilder<T extends BuilderProgram>(host: SolutionBuilderHost<T>, rootNames: readonly string… 5189 …hWatch<T extends BuilderProgram>(host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string…
|
D | typescript.d.ts | 3019 rootNames: readonly string[]; property 4855 …export function createProgram(rootNames: readonly string[], options: CompilerOptions, host?: Compi… 4994 …function createSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, options… 5000 …function createEmitAndSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, … 5005 …function createAbstractBuilder(rootNames: readonly string[] | undefined, options: CompilerOptions … 5016 rootNames: readonly string[]; 5023 …<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>({ rootNames, options, config… 5026 …type CreateProgram<T extends BuilderProgram> = (rootNames: readonly string[] | undefined, options:… 5188 …SolutionBuilder<T extends BuilderProgram>(host: SolutionBuilderHost<T>, rootNames: readonly string… 5189 …hWatch<T extends BuilderProgram>(host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string…
|
D | tsserverlibrary.d.ts | 3019 rootNames: readonly string[]; property 4855 …export function createProgram(rootNames: readonly string[], options: CompilerOptions, host?: Compi… 4994 …function createSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, options… 5000 …function createEmitAndSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, … 5005 …function createAbstractBuilder(rootNames: readonly string[] | undefined, options: CompilerOptions … 5016 rootNames: readonly string[]; 5023 …<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>({ rootNames, options, config… 5026 …type CreateProgram<T extends BuilderProgram> = (rootNames: readonly string[] | undefined, options:… 5188 …SolutionBuilder<T extends BuilderProgram>(host: SolutionBuilderHost<T>, rootNames: readonly string… 5189 …hWatch<T extends BuilderProgram>(host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string…
|
/third_party/typescript/tests/baselines/reference/api/ |
D | typescript.d.ts | 3056 rootNames: readonly string[]; property 4938 …export function createProgram(rootNames: readonly string[], options: CompilerOptions, host?: Compi… 5077 …function createSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, options… 5083 …function createEmitAndSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, … 5088 …function createAbstractBuilder(rootNames: readonly string[] | undefined, options: CompilerOptions … 5099 rootNames: readonly string[]; 5106 …<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>({ rootNames, options, config… 5109 …type CreateProgram<T extends BuilderProgram> = (rootNames: readonly string[] | undefined, options:… 5271 …SolutionBuilder<T extends BuilderProgram>(host: SolutionBuilderHost<T>, rootNames: readonly string… 5272 …hWatch<T extends BuilderProgram>(host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string…
|
D | tsserverlibrary.d.ts | 3056 rootNames: readonly string[]; property 4938 …export function createProgram(rootNames: readonly string[], options: CompilerOptions, host?: Compi… 5077 …function createSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, options… 5083 …function createEmitAndSemanticDiagnosticsBuilderProgram(rootNames: readonly string[] | undefined, … 5088 …function createAbstractBuilder(rootNames: readonly string[] | undefined, options: CompilerOptions … 5099 rootNames: readonly string[]; 5106 …<T extends BuilderProgram = EmitAndSemanticDiagnosticsBuilderProgram>({ rootNames, options, config… 5109 …type CreateProgram<T extends BuilderProgram> = (rootNames: readonly string[] | undefined, options:… 5271 …SolutionBuilder<T extends BuilderProgram>(host: SolutionBuilderHost<T>, rootNames: readonly string… 5272 …hWatch<T extends BuilderProgram>(host: SolutionBuilderWithWatchHost<T>, rootNames: readonly string…
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | projectReferences.ts | 3 …function createHost(files: readonly TestFSWithWatch.FileOrFolderOrSymLink[], rootNames: readonly s… 6 tscWatch.ensureErrorFreeBuild(host, rootNames);
|