MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / LookupBinaryOperator

Function LookupBinaryOperator

common/operators.cc:186–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186absl::optional<std::string> LookupBinaryOperator(absl::string_view op) {
187 const auto& bin_ops = BinaryOperators();
188 auto o = bin_ops.find(op);
189 if (o == bin_ops.end()) {
190 return absl::optional<std::string>();
191 }
192 return o->second;
193}
194
195absl::optional<std::string> LookupOperator(absl::string_view op) {
196 const auto& ops = Operators();

Callers 2

VisitCallMethod · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected