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

Function transformSourceFileOrBundle

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

Source from the content-addressed store, hash-verified

90651 function chainBundle(context, transformSourceFile) {
90652 return transformSourceFileOrBundle;
90653 function transformSourceFileOrBundle(node) {
90654 return node.kind === 305 /* SyntaxKind.SourceFile */ ? transformSourceFile(node) : transformBundle(node);
90655 }
90656 function transformBundle(node) {
90657 return context.factory.createBundle(ts.map(node.sourceFiles, transformSourceFile), node.prepends);
90658 }

Callers

nothing calls this directly

Calls 2

transformSourceFileFunction · 0.85
transformBundleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…