| 245 | } |
| 246 | } |
| 247 | class AndConditionInternal implements ParsedConditionInternal { |
| 248 | children: ParsedConditionInternal[]; |
| 249 | evaluate() { |
| 250 | const children = this.children; |
| 251 | for (let i = 0; i < children.length; i++) { |
| 252 | if (!children[i].evaluate()) { |
| 253 | return false; |
| 254 | } |
| 255 | } |
| 256 | return true; |
| 257 | } |
| 258 | } |
| 259 | class OrConditionInternal implements ParsedConditionInternal { |
| 260 | children: ParsedConditionInternal[]; |
| 261 | evaluate() { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…