Searched refs:builderProgram (Results 1 – 16 of 16) sorted by relevance
/third_party/typescript/src/testRunner/unittests/tsc/ |
D | cancellationToken.ts | 55 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram = undefined!; 84 builderProgram.getSemanticDiagnosticsOfNextAffectedFile(cancellationToken); 90 builderProgram.emitBuildInfo(); 91 baselineBuildInfo(builderProgram.getCompilerOptions(), sys); 116 programs = [[builderProgram.getProgram(), builderProgram]]; 120 builderProgram = useBuildInfo ? 126 … builderProgram = builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram( 130 builderProgram, 138 emitFilesAndReportErrorsAndGetExitStatus(builderProgram, reportDiagnostic); 139 baselineBuildInfo(builderProgram.getCompilerOptions(), sys); [all …]
|
/third_party/typescript/src/testRunner/unittests/ |
D | builder.ts | 76 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram | undefined; 79 … builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram(program, host, builderProgram); 82 … while (builderProgram.emitNextAffectedFile(fileName => outputFileNames.push(fileName))) { 90 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram | undefined; 104 … builderProgram = createEmitAndSemanticDiagnosticsBuilderProgram(program, host, builderProgram); 112 …} while (builderProgram.emitNextAffectedFile(fileName => outputFileNames.push(fileName), cancellat…
|
/third_party/typescript/src/linter/ArkTSLinter_1_1/ |
D | TSDiagnostics.ts | 82 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/ |
D | TSDiagnostics.ts | 82 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/ |
D | helpers.ts | 229 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)) {
|
D | incremental.ts | 149 const builderProgram = createIncrementalProgram({ constant 157 const state = builderProgram.getState();
|
/third_party/typescript/src/compiler/ |
D | watchPublic.ts | 297 let builderProgram: T; 397 builderProgram = readBuilderProgram(compilerOptions, compilerHost) as any as T; 449 return builderProgram; 453 return builderProgram && builderProgram.getProgramOrUndefined(); 478 …builderProgram = createProgram(/*rootNames*/ undefined, /*options*/ undefined, compilerHost, build… 490 if (host.afterProgramCreate && program !== builderProgram) { 491 host.afterProgramCreate(builderProgram); 500 return builderProgram; 517 …builderProgram = createProgram(rootFileNames, compilerOptions, compilerHost, builderProgram, confi… 518 … resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram); [all …]
|
D | builderPublic.ts | 186 let builderProgram: EmitAndSemanticDiagnosticsBuilderProgram = createBuilderProgram( 196 builderProgram.builderProgramForLinter = builderProgramForLinter; 197 return builderProgram;
|
D | builder.ts | 1285 … 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; 1290 …builderProgram.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 …]
|
D | watch.ts | 718 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);
|
D | watchUtilities.ts | 538 … const builderProgram = !realProgram && !isArray(program) ? program as BuilderProgram : undefined; constant 550 builderProgram ? 551 builderProgram.getState().fileInfos.has(file) :
|
/third_party/typescript/tests/arkTSTest/ |
D | run.js | 167 builderProgram = ts.createIncrementalProgramForArkTs({ 172 … '1.0' ? ts.ArkTSLinter_1_0.runArkTSLinter(builderProgram) : ts.ArkTSLinter_1_1.runArkTSLinter(bui…
|
/third_party/typescript/src/executeCommandLine/ |
D | executeCommandLine.ts | 839 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/ |
D | services.ts | 1244 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/ |
D | tsc.js | 100035 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); }; 104781 …builderProgram.restoreEmitState = function (saved) { return restoreBuilderProgramEmitState(state, … 104782 … builderProgram.hasChangedEmitSignature = function () { return !!state.hasChangedEmitSignature; }; 104783 …builderProgram.getAllDependencies = function (sourceFile) { return ts.BuilderState.getAllDependenc… 104784 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics; [all …]
|
D | typingsInstaller.js | 120666 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); }; 126096 …builderProgram.restoreEmitState = function (saved) { return restoreBuilderProgramEmitState(state, … 126097 … builderProgram.hasChangedEmitSignature = function () { return !!state.hasChangedEmitSignature; }; 126098 …builderProgram.getAllDependencies = function (sourceFile) { return ts.BuilderState.getAllDependenc… 126099 builderProgram.getSemanticDiagnostics = getSemanticDiagnostics; [all …]
|