| 200 | } |
| 201 | |
| 202 | std::vector<CelValue::Type> ArgumentMatcher(int argument_count) { |
| 203 | std::vector<CelValue::Type> argument_matcher(argument_count); |
| 204 | for (int i = 0; i < argument_count; i++) { |
| 205 | argument_matcher[i] = CelValue::Type::kAny; |
| 206 | } |
| 207 | return argument_matcher; |
| 208 | } |
| 209 | |
| 210 | std::vector<CelValue::Type> ArgumentMatcher(const CallExpr& call) { |
| 211 | return ArgumentMatcher(call.has_target() ? call.args().size() + 1 |
no test coverage detected