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

Function GetExtensionFieldName

extensions/proto_ext.cc:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65absl::optional<std::string> GetExtensionFieldName(const Expr& expr) {
66 if (const auto* select_expr =
67 expr.has_select_expr() ? &expr.select_expr() : nullptr;
68 select_expr) {
69 return ValidateExtensionIdentifier(expr);
70 }
71 return absl::nullopt;
72}
73
74bool IsExtensionCall(const Expr& target) {
75 if (const auto* ident_expr =

Callers 1

proto_macrosFunction · 0.85

Calls 2

has_select_exprMethod · 0.80

Tested by

no test coverage detected