MCPcopy Create free account
hub / github.com/nodejs/node / bindParentToChildIgnoringJSDoc

Function bindParentToChildIgnoringJSDoc

test/fixtures/snapshot/typescript.js:21217–21222  ·  view source on GitHub ↗
(child, parent)

Source from the content-addressed store, hash-verified

21215 ts.forEachChildRecursively(rootNode, ts.isJSDocNode(rootNode) ? bindParentToChildIgnoringJSDoc : bindParentToChild);
21216 return rootNode;
21217 function bindParentToChildIgnoringJSDoc(child, parent) {
21218 if (incremental && child.parent === parent) {
21219 return "skip";
21220 }
21221 setParent(child, parent);
21222 }
21223 function bindJSDoc(child) {
21224 if (ts.hasJSDocNodes(child)) {
21225 for (var _i = 0, _a = child.jsDoc; _i < _a.length; _i++) {

Callers 2

bindJSDocFunction · 0.85
bindParentToChildFunction · 0.85

Calls 1

setParentFunction · 0.85

Tested by

no test coverage detected