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

Function addNodeWithRecursiveInitializer

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

Source from the content-addressed store, hash-verified

140864 endNode();
140865 }
140866 function addNodeWithRecursiveInitializer(node) {
140867 if (node.initializer && isFunctionOrClassExpression(node.initializer)) {
140868 startNode(node);
140869 ts.forEachChild(node.initializer, addChildrenRecursively);
140870 endNode();
140871 }
140872 else {
140873 addNodeWithRecursiveChild(node, node.initializer);
140874 }
140875 }
140876 /**
140877 * Historically, we've elided dynamic names from the nav tree (including late bound names),
140878 * but included certain "well known" symbol names. While we no longer distinguish those well-known

Callers 1

addChildrenRecursivelyFunction · 0.85

Calls 5

startNodeFunction · 0.85
endNodeFunction · 0.85
forEachChildMethod · 0.80

Tested by

no test coverage detected