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

Function setParent

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

Source from the content-addressed store, hash-verified

21193 }
21194 ts.setNodeFlags = setNodeFlags;
21195 function setParent(child, parent) {
21196 if (child && parent) {
21197 child.parent = parent;
21198 }
21199 return child;
21200 }
21201 ts.setParent = setParent;
21202 function setEachParent(children, parent) {
21203 if (children) {

Callers 2

setEachParentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected