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

Function transformation

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

Source from the content-addressed store, hash-verified

109633 // Chain together and initialize each transformer.
109634 var transformersWithContext = transformers.map(function (t) { return t(context); });
109635 var transformation = function (node) {
109636 for (var _i = 0, transformersWithContext_1 = transformersWithContext; _i < transformersWithContext_1.length; _i++) {
109637 var transform = transformersWithContext_1[_i];
109638 node = transform(node);
109639 }
109640 return node;
109641 };
109642 // prevent modification of transformation hooks.
109643 state = 1 /* TransformationState.Initialized */;
109644 // Transform each node.

Callers 1

transformRootFunction · 0.85

Calls 1

transformFunction · 0.70

Tested by

no test coverage detected