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

Function visitNode

test/fixtures/snapshot/typescript.js:30662–30664  ·  view source on GitHub ↗
(cbNode, node)

Source from the content-addressed store, hash-verified

30660 /* @internal */
30661 ts.parseNodeFactory = ts.createNodeFactory(1 /* NodeFactoryFlags.NoParenthesizerRules */, ts.parseBaseNodeFactory);
30662 function visitNode(cbNode, node) {
30663 return node && cbNode(node);
30664 }
30665 function visitNodes(cbNode, cbNodes, nodes) {
30666 if (nodes) {
30667 if (cbNodes) {

Callers 6

forEachChildFunction · 0.85
visitArrayFunction · 0.85
visitIterationBodyFunction · 0.85
visitEachChildFunction · 0.85

Calls 7

shouldCheckNodeFunction · 0.85
forEachChildFunction · 0.85
checkNodePositionsFunction · 0.85
assertMethod · 0.80
visitorFunction · 0.70

Tested by

no test coverage detected