(... args:Node[])
| 235 | |
| 236 | class OR extends Node { |
| 237 | constructor(... args:Node[]) { |
| 238 | super(); |
| 239 | if (args.length <= 1) { |
| 240 | throw new Error("OR node must have at least 2 children"); |
| 241 | } |
| 242 | this.processChildList(args); |
| 243 | this.type = "OR"; |
| 244 | } |
| 245 | |
| 246 | processChildList(childList: Node[]) { |
| 247 | for (let i = 0; i < childList.length; i++) { |
nothing calls this directly
no test coverage detected