MCPcopy Index your code
hub / github.com/nodejs/node / executeSteps

Function executeSteps

test/fixtures/snapshot/typescript.js:124753–124790  ·  view source on GitHub ↗
(till, cancellationToken, writeFile, customTransformers)

Source from the content-addressed store, hash-verified

124751 return { emitSkipped: false, diagnostics: emitDiagnostics };
124752 }
124753 function executeSteps(till, cancellationToken, writeFile, customTransformers) {
124754 while (step <= till && step < BuildStep.Done) {
124755 var currentStep = step;
124756 switch (step) {
124757 case BuildStep.CreateProgram:
124758 createProgram();
124759 break;
124760 case BuildStep.SyntaxDiagnostics:
124761 getSyntaxDiagnostics(cancellationToken);
124762 break;
124763 case BuildStep.SemanticDiagnostics:
124764 getSemanticDiagnostics(cancellationToken);
124765 break;
124766 case BuildStep.Emit:
124767 emit(writeFile, cancellationToken, customTransformers);
124768 break;
124769 case BuildStep.EmitBuildInfo:
124770 emitBuildInfo(writeFile, cancellationToken);
124771 break;
124772 case BuildStep.EmitBundle:
124773 emitBundle(writeFile, customTransformers);
124774 break;
124775 case BuildStep.BuildInvalidatedProjectOfBundle:
124776 ts.Debug.checkDefined(invalidatedProjectOfBundle).done(cancellationToken, writeFile, customTransformers);
124777 step = BuildStep.Done;
124778 break;
124779 case BuildStep.QueueReferencingProjects:
124780 queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, ts.Debug.checkDefined(buildResult));
124781 step++;
124782 break;
124783 // Should never be done
124784 case BuildStep.Done:
124785 default:
124786 ts.assertType(step);
124787 }
124788 ts.Debug.assert(step > currentStep);
124789 }
124790 }
124791 }
124792 function needsBuild(_a, status, config) {
124793 var options = _a.options;

Callers 3

doneFunction · 0.85
withProgramOrUndefinedFunction · 0.85

Calls 9

createProgramFunction · 0.85
getSyntaxDiagnosticsFunction · 0.85
getSemanticDiagnosticsFunction · 0.85
emitBuildInfoFunction · 0.85
emitBundleFunction · 0.85
queueReferencingProjectsFunction · 0.85
assertMethod · 0.80
emitFunction · 0.70
doneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…