| 447 | |
| 448 | |
| 449 | class ConditionalExpressionParsed { |
| 450 | |
| 451 | private _cond: ParsedConditionInternal; |
| 452 | |
| 453 | constructor( |
| 454 | exprOption: ConditionalExpressionOption, |
| 455 | getters: ConditionalGetters |
| 456 | ) { |
| 457 | this._cond = parseOption(exprOption, getters); |
| 458 | } |
| 459 | |
| 460 | evaluate(): boolean { |
| 461 | return this._cond.evaluate(); |
| 462 | } |
| 463 | }; |
| 464 | |
| 465 | interface ConditionalGetters<VGP extends ValueGetterParam = ValueGetterParam> { |
| 466 | prepareGetValue: ConditionalExpressionValueGetterParamGetter<VGP>; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…