* Execute a callback for each of the child nodes of this node * @param {function(child: Node, path: string, parent: Node)} callback
(callback)
| 82 | * @param {function(child: Node, path: string, parent: Node)} callback |
| 83 | */ |
| 84 | forEach (callback) { |
| 85 | for (const key in this.properties) { |
| 86 | if (hasOwnProperty(this.properties, key)) { |
| 87 | callback( |
| 88 | this.properties[key], 'properties[' + stringify(key) + ']', this) |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * Create a new ObjectNode whose children are the results of calling |
nothing calls this directly
no test coverage detected