* Calls the specified function for every child. * * @param {function(CallTreeNode)} f Visitor function.
(f)
| 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. |
no test coverage detected