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

Function withProgramOrUndefined

test/fixtures/snapshot/typescript.js:124566–124569  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

124564 return doneInvalidatedProject(state, projectPath);
124565 }
124566 function withProgramOrUndefined(action) {
124567 executeSteps(BuildStep.CreateProgram);
124568 return program && action(program);
124569 }
124570 function withProgramOrEmptyArray(action) {
124571 return withProgramOrUndefined(action) || ts.emptyArray;
124572 }

Callers 2

withProgramOrEmptyArrayFunction · 0.85

Calls 2

executeStepsFunction · 0.85
actionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…