Home
last modified time | relevance | path

Searched refs:builderProgram (Results 1 – 21 of 21) sorted by relevance

/third_party/typescript/src/testRunner/unittests/tsc/
DcancellationToken.ts55 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram = undefined!;
84 builderProgram.getSemanticDiagnosticsOfNextAffectedFile(cancellationToken);
90 builderProgram.emitBuildInfo();
91 baselineBuildInfo(builderProgram.getCompilerOptions(), sys);
116 programs = [[builderProgram.getProgram(), builderProgram]];
120 builderProgram = useBuildInfo ?
126builderProgram = builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram(
130 builderProgram,
138 emitFilesAndReportErrorsAndGetExitStatus(builderProgram, reportDiagnostic);
139 baselineBuildInfo(builderProgram.getCompilerOptions(), sys);
[all …]
/third_party/typescript/src/testRunner/unittests/
Dbuilder.ts76 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram | undefined;
79builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram(program, host, builderProgram);
82 … while (builderProgram.emitNextAffectedFile(fileName => outputFileNames.push(fileName))) {
90 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram | undefined;
104builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram(program, host, builderProgram);
112 …} while (builderProgram.emitNextAffectedFile(fileName => outputFileNames.push(fileName), cancellat…
/third_party/typescript/src/linter/ArkTSLinter_1_1/
DTSDiagnostics.ts24 …const strict = program.wasStrict ? program.builderProgram : reverseStrictBuilderProgram.builderPro…
25 …onStrict = program.wasStrict ? reverseStrictBuilderProgram.builderProgram : program.builderProgram;
DLinterRunner.ts20 builderProgram: BuilderProgram, property
/third_party/typescript/src/linter/ArkTSLinter_1_0/
DTSDiagnostics.ts24 …const strict = program.wasStrict ? program.builderProgram : reverseStrictBuilderProgram.builderPro…
25 …onStrict = program.wasStrict ? reverseStrictBuilderProgram.builderProgram : program.builderProgram;
DLinterRunner.ts20 builderProgram: BuilderProgram, property
/third_party/typescript/src/testRunner/unittests/tscWatch/
Dhelpers.ts229 host.afterProgramCreate = builderProgram => {
230 emitFilesAndReportErrors.call(host, builderProgram);
231 cb(builderProgram);
317 …function baselineProgram(baseline: string[], [program, builderProgram]: CommandLineProgram, oldPro…
333 if (!builderProgram) return;
334 if (builderProgram !== oldProgram?.[1]) {
335 const state = builderProgram.getState();
372 for (const file of builderProgram.getSourceFiles()) {
374 for (const depenedency of builderProgram.getAllDependencies(file)) {
Dincremental.ts149 const builderProgram = createIncrementalProgram({ constant
157 const state = builderProgram.getState();
/third_party/typescript/src/compiler/
DwatchPublic.ts282 let builderProgram: T;
382 builderProgram = readBuilderProgram(compilerOptions, compilerHost) as any as T;
434 return builderProgram;
438 return builderProgram && builderProgram.getProgramOrUndefined();
463builderProgram = createProgram(/*rootNames*/ undefined, /*options*/ undefined, compilerHost, build…
475 if (host.afterProgramCreate && program !== builderProgram) {
476 host.afterProgramCreate(builderProgram);
485 return builderProgram;
502builderProgram = createProgram(rootFileNames, compilerOptions, compilerHost, builderProgram, confi…
503 … resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram);
[all …]
Dbuilder.ts1155 … const builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics); constant
1156 builderProgram.getState = getState;
1157 builderProgram.saveEmitState = () => backupBuilderProgramEmitState(state);
1158 builderProgram.restoreEmitState = (saved) => restoreBuilderProgramEmitState(state, saved);
1159 builderProgram.hasChangedEmitSignature = () => !!state.hasChangedEmitSignature;
1160builderProgram.getAllDependencies = sourceFile => BuilderState.getAllDependencies(state, Debug.che…
1161 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
1162 builderProgram.emit = emit;
1163 builderProgram.releaseProgram = () => releaseCache(state);
1166 …(builderProgram as SemanticDiagnosticsBuilderProgram).getSemanticDiagnosticsOfNextAffectedFile = g…
[all …]
Dwatch.ts718 result.afterProgramCreate = builderProgram => {
719 const compilerOptions = builderProgram.getCompilerOptions();
723 builderProgram,
810 const builderProgram = createIncrementalProgram(input); constant
812 builderProgram,
817 … if (input.afterProgramEmitAndDiagnostics) input.afterProgramEmitAndDiagnostics(builderProgram);
DwatchUtilities.ts538 … const builderProgram = !realProgram && !isArray(program) ? program as BuilderProgram : undefined; constant
550 builderProgram ?
551 builderProgram.getState().fileInfos.has(file) :
/third_party/typescript/src/executeCommandLine/
DexecuteCommandLine.ts839 afterProgramEmitAndDiagnostics: builderProgram => {
840 reportStatistics(sys, builderProgram.getProgram(), /*builder*/ undefined);
841 cb(builderProgram);
879 watchCompilerHost.afterProgramCreate = builderProgram => {
880 emitFilesUsingBuilder(builderProgram);
881 reportStatistics(sys, builderProgram.getProgram(), /*builder*/ undefined);
882 cb(builderProgram);
/third_party/typescript/src/services/
Dservices.ts1244 let builderProgram: BuilderProgram;
1415 builderProgram = createIncrementalProgram(options);
1416 program = builderProgram.getProgram();
1559 Debug.assert(builderProgram === undefined);
1565 return builderProgram;
/third_party/typescript/lib/
Dtsc.js99877 var builderProgram = !realProgram && !ts.isArray(program) ? program : undefined;
99888 builderProgram ?
99889 builderProgram.getState().fileInfos.has(file) :
104503 var builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics);
104504 builderProgram.getState = getState;
104505 builderProgram.saveEmitState = function () { return backupBuilderProgramEmitState(state); };
104506builderProgram.restoreEmitState = function (saved) { return restoreBuilderProgramEmitState(state, …
104507builderProgram.hasChangedEmitSignature = function () { return !!state.hasChangedEmitSignature; };
104508builderProgram.getAllDependencies = function (sourceFile) { return ts.BuilderState.getAllDependenc…
104509 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
[all …]
DtypingsInstaller.js120490 var builderProgram = !realProgram && !ts.isArray(program) ? program : undefined;
120501 builderProgram ?
120502 builderProgram.getState().fileInfos.has(file) :
125798 var builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics);
125799 builderProgram.getState = getState;
125800 builderProgram.saveEmitState = function () { return backupBuilderProgramEmitState(state); };
125801builderProgram.restoreEmitState = function (saved) { return restoreBuilderProgramEmitState(state, …
125802builderProgram.hasChangedEmitSignature = function () { return !!state.hasChangedEmitSignature; };
125803builderProgram.getAllDependencies = function (sourceFile) { return ts.BuilderState.getAllDependenc…
125804 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
[all …]
Dtypescript.d.ts9026 builderProgram: BuilderProgram;
9558 builderProgram: BuilderProgram;
DtypescriptServices.d.ts9026 builderProgram: BuilderProgram;
9558 builderProgram: BuilderProgram;
Dtsserverlibrary.d.ts12965 builderProgram: BuilderProgram;
13497 builderProgram: BuilderProgram;
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts9026 builderProgram: BuilderProgram;
9558 builderProgram: BuilderProgram;
Dtsserverlibrary.d.ts12965 builderProgram: BuilderProgram;
13497 builderProgram: BuilderProgram;