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

Method addChild

deps/v8/tools/profile.mjs:1181–1185  ·  view source on GitHub ↗

* Adds a child node. * * @param {string} label Child node label.

(label)

Source from the content-addressed store, hash-verified

1179 * @param {string} label Child node label.
1180 */
1181 addChild(label) {
1182 const child = new CallTreeNode(label, this);
1183 this.children[label] = child;
1184 return child;
1185 }
1186
1187 /**
1188 * Computes node's total weight.

Callers 4

findOrAddChildMethod · 0.95
profile_view.mjsFile · 0.80
profile_view.jsFile · 0.80
createNodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected