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

Function checkSourceFile

test/fixtures/snapshot/typescript.js:85917–85924  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

85915 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.pop();
85916 }
85917 function checkSourceFile(node) {
85918 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("check" /* tracing.Phase.Check */, "checkSourceFile", { path: node.path }, /*separateBeginAndEnd*/ true);
85919 ts.performance.mark("beforeCheck");
85920 checkSourceFileWorker(node);
85921 ts.performance.mark("afterCheck");
85922 ts.performance.measure("Check", "beforeCheck", "afterCheck");
85923 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.pop();
85924 }
85925 function unusedIsError(kind, isAmbient) {
85926 if (isAmbient) {
85927 return false;

Callers 1

Calls 5

checkSourceFileWorkerFunction · 0.85
measureMethod · 0.80
popMethod · 0.80
pushMethod · 0.45
markMethod · 0.45

Tested by

no test coverage detected