* Recursively evaluate a filter node (group or condition) against a task * Returns true if the task matches the filter criteria
( node: FilterGroup | FilterCondition, task: TaskInfo, targetDate?: Date )
| 339 | * Returns true if the task matches the filter criteria |
| 340 | */ |
| 341 | private evaluateFilterNode( |
| 342 | node: FilterGroup | FilterCondition, |
| 343 | task: TaskInfo, |
| 344 | targetDate?: Date |
| 345 | ): boolean { |
| 346 | return evaluateFilterNode(node, task, this.createPredicateEvaluationContext(), targetDate); |
| 347 | } |
| 348 | |
| 349 | private createPredicateEvaluationContext(): FilterPredicateEvaluationContext { |
| 350 | return { |
no test coverage detected