* Adds a child node. * * @param {string} label Child node label.
(label)
| 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. |
no outgoing calls
no test coverage detected