| 115 | explicit ComparisonVisitor(CelValue rhs) : rhs(rhs) {} |
| 116 | template <typename T> |
| 117 | int operator()(T lhs_value) { |
| 118 | T rhs_value; |
| 119 | if (!rhs.GetValue(&rhs_value)) { |
| 120 | return ComparisonImpl(CelValue::Type(CelValue::IndexOf<T>::value), |
| 121 | rhs.type()); |
| 122 | } |
| 123 | return ComparisonImpl(lhs_value, rhs_value); |
| 124 | } |
| 125 | |
| 126 | CelValue rhs; |
| 127 | }; |
nothing calls this directly
no test coverage detected