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

Method ConstExprToProto

common/ast/expr_proto.cc:102–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 absl::Status ConstExprToProto(const Expr& expr, const Constant& const_expr,
103 ExprProto* absl_nonnull proto) {
104 proto->Clear();
105 proto->set_id(expr.id());
106 return ConstantToProto(const_expr, proto->mutable_const_expr());
107 }
108
109 absl::Status IdentExprToProto(const Expr& expr, const IdentExpr& ident_expr,
110 ExprProto* absl_nonnull proto) {

Callers

nothing calls this directly

Calls 4

ConstantToProtoFunction · 0.85
ClearMethod · 0.45
set_idMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected