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

Method forEachChild

deps/v8/tools/profile.mjs:1234–1238  ·  view source on GitHub ↗

* Calls the specified function for every child. * * @param {function(CallTreeNode)} f Visitor function.

(f)

Source from the content-addressed store, hash-verified

1232 * @param {function(CallTreeNode)} f Visitor function.
1233 */
1234 forEachChild(f) {
1235 for (let c in this.children) {
1236 f(this.children[c]);
1237 }
1238 }
1239
1240 /**
1241 * Walks up from the current node up to the call tree root.

Callers 15

computeTotalWeightMethod · 0.95
exportChildrenMethod · 0.95
aggregateChildDataFunction · 0.80
traverseFunction · 0.80
getLastChildFunction · 0.80
walkTreeForJSXTagsFunction · 0.80
bindEachChildFunction · 0.80
containsReferenceFunction · 0.80
markNodeAssignmentsFunction · 0.80

Calls 1

fFunction · 0.50

Tested by

no test coverage detected