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

Method IdentExprToProto

common/ast/expr_proto.cc:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 absl::Status IdentExprToProto(const Expr& expr, const IdentExpr& ident_expr,
110 ExprProto* absl_nonnull proto) {
111 proto->Clear();
112 auto* ident_proto = proto->mutable_ident_expr();
113 proto->set_id(expr.id());
114 ident_proto->set_name(ident_expr.name());
115 return absl::OkStatus();
116 }
117
118 absl::Status SelectExprToProto(const Expr& expr,
119 const SelectExpr& select_expr,

Callers

nothing calls this directly

Calls 5

ClearMethod · 0.45
set_idMethod · 0.45
idMethod · 0.45
set_nameMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected