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

Function bindJSDoc

test/fixtures/snapshot/typescript.js:21223–21231  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

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++) {
21226 var doc = _a[_i];
21227 bindParentToChildIgnoringJSDoc(doc, child);
21228 ts.forEachChildRecursively(doc, bindParentToChildIgnoringJSDoc);
21229 }
21230 }
21231 }
21232 function bindParentToChild(child, parent) {
21233 return bindParentToChildIgnoringJSDoc(child, parent) || bindJSDoc(child);
21234 }

Callers 3

bindParentToChildFunction · 0.85
bindChildrenFunction · 0.85
bindFunction · 0.85

Calls 2

bindFunction · 0.70

Tested by

no test coverage detected