[? ]
(filter gval.Evaluable)
| 122 | |
| 123 | //[? ] |
| 124 | func filterSelector(filter gval.Evaluable) ambiguousSelector { |
| 125 | return func(c context.Context, r, v interface{}, match ambiguousMatcher) { |
| 126 | visitAll(v, func(wildcard string, v interface{}) { |
| 127 | condition, err := filter.EvalBool(currentContext(c, v), r) |
| 128 | if err != nil { |
| 129 | return |
| 130 | } |
| 131 | if condition { |
| 132 | match(wildcard, v) |
| 133 | } |
| 134 | }) |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | //[::] |
| 139 | func rangeSelector(min, max, step gval.Evaluable) ambiguousSelector { |
no test coverage detected
searching dependent graphs…