(... args:Node[])
| 198 | |
| 199 | class AND extends Node { |
| 200 | constructor(... args:Node[]) { |
| 201 | super(); |
| 202 | if (args.length <= 1) { |
| 203 | throw new Error("AND node must have at least 2 children"); |
| 204 | } |
| 205 | this.processChildList(args); |
| 206 | this.type = "AND"; |
| 207 | } |
| 208 | |
| 209 | processChildList(childList: Node[]) { |
| 210 | for (let i = 0; i < childList.length; i++) { |
nothing calls this directly
no test coverage detected