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

Function visitorWorker

test/fixtures/snapshot/typescript.js:91709–91714  ·  view source on GitHub ↗

* Visits and possibly transforms any node. * * @param node The node to visit.

(node)

Source from the content-addressed store, hash-verified

91707 * @param node The node to visit.
91708 */
91709 function visitorWorker(node) {
91710 if (node.transformFlags & 1 /* TransformFlags.ContainsTypeScript */) {
91711 return visitTypeScript(node);
91712 }
91713 return node;
91714 }
91715 /**
91716 * Specialized visitor that visits the immediate children of a SourceFile.
91717 *

Callers 6

discardedValueVisitorFunction · 0.85
visitorFunction · 0.85

Calls 15

visitTypeScriptFunction · 0.85
visitClassLikeFunction · 0.85
visitPropertyDeclarationFunction · 0.85
visitVariableStatementFunction · 0.85
visitPrivateIdentifierFunction · 0.85
visitBinaryExpressionFunction · 0.85
visitCallExpressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…