Home
last modified time | relevance | path

Searched refs:builderProgram (Results 1 – 16 of 16) 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.ts82 function getAllDiagnostics(builderProgram: BuilderProgram, fileName: string, isStrict: boolean = fa…
83 let program = builderProgram.getProgram();
87 if (!builderProgram.builderProgramForLinter) {
90 return builderProgram.builderProgramForLinter.getSemanticDiagnostics(sourceFile)
94 return builderProgram.getSemanticDiagnostics(sourceFile)
/third_party/typescript/src/linter/ArkTSLinter_1_0/
DTSDiagnostics.ts82 function getAllDiagnostics(builderProgram: BuilderProgram, fileName: string, isStrict: boolean = fa…
83 let program = builderProgram.getProgram();
87 if (!builderProgram.builderProgramForLinter) {
90 return builderProgram.builderProgramForLinter.getSemanticDiagnostics(sourceFile)
94 return builderProgram.getSemanticDiagnostics(sourceFile)
/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.ts297 let builderProgram: T;
397 builderProgram = readBuilderProgram(compilerOptions, compilerHost) as any as T;
449 return builderProgram;
453 return builderProgram && builderProgram.getProgramOrUndefined();
478builderProgram = createProgram(/*rootNames*/ undefined, /*options*/ undefined, compilerHost, build…
490 if (host.afterProgramCreate && program !== builderProgram) {
491 host.afterProgramCreate(builderProgram);
500 return builderProgram;
517builderProgram = createProgram(rootFileNames, compilerOptions, compilerHost, builderProgram, confi…
518 … resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram);
[all …]
DbuilderPublic.ts186 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram = createBuilderProgram(
196 builderProgram.builderProgramForLinter = builderProgramForLinter;
197 return builderProgram;
Dbuilder.ts1285 … const builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics); constant
1286 builderProgram.getState = getState;
1287 builderProgram.saveEmitState = () => backupBuilderProgramEmitState(state);
1288 builderProgram.restoreEmitState = (saved) => restoreBuilderProgramEmitState(state, saved);
1289 builderProgram.hasChangedEmitSignature = () => !!state.hasChangedEmitSignature;
1290builderProgram.getAllDependencies = sourceFile => BuilderState.getAllDependencies(state, Debug.che…
1291 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
1292 builderProgram.emit = emit;
1293 builderProgram.releaseProgram = () => releaseCache(state);
1296 …(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/tests/arkTSTest/
Drun.js167 builderProgram = ts.createIncrementalProgramForArkTs({
172 … '1.0' ? ts.ArkTSLinter_1_0.runArkTSLinter(builderProgram) : ts.ArkTSLinter_1_1.runArkTSLinter(bui…
/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;
1416 builderProgram = createIncrementalProgramForArkTs(options);
1418 builderProgram = createIncrementalProgram(options);
1420 program = builderProgram.getProgram();
1563 Debug.assert(builderProgram === undefined);
1569 return builderProgram;
/third_party/typescript/lib/
Dtsc.js100035 var builderProgram = !realProgram && !ts.isArray(program) ? program : undefined;
100046 builderProgram ?
100047 builderProgram.getState().fileInfos.has(file) :
104778 var builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics);
104779 builderProgram.getState = getState;
104780 builderProgram.saveEmitState = function () { return backupBuilderProgramEmitState(state); };
104781builderProgram.restoreEmitState = function (saved) { return restoreBuilderProgramEmitState(state, …
104782builderProgram.hasChangedEmitSignature = function () { return !!state.hasChangedEmitSignature; };
104783builderProgram.getAllDependencies = function (sourceFile) { return ts.BuilderState.getAllDependenc…
104784 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
[all …]
DtypingsInstaller.js120666 var builderProgram = !realProgram && !ts.isArray(program) ? program : undefined;
120677 builderProgram ?
120678 builderProgram.getState().fileInfos.has(file) :
126093 var builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics);
126094 builderProgram.getState = getState;
126095 builderProgram.saveEmitState = function () { return backupBuilderProgramEmitState(state); };
126096builderProgram.restoreEmitState = function (saved) { return restoreBuilderProgramEmitState(state, …
126097builderProgram.hasChangedEmitSignature = function () { return !!state.hasChangedEmitSignature; };
126098builderProgram.getAllDependencies = function (sourceFile) { return ts.BuilderState.getAllDependenc…
126099 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;
[all …]