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

Method ExprToProto

common/ast/expr_proto.cc:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51 public:
52 absl::Status ExprToProto(const Expr& expr,
53 cel::expr::Expr* absl_nonnull proto) {
54 Push(expr, proto);
55 Frame frame;
56 while (Pop(frame)) {
57 CEL_RETURN_IF_ERROR(ExprToProtoImpl(*frame.expr, frame.proto));
58 }
59 return absl::OkStatus();
60 }
61
62 private:
63 absl::Status ExprToProtoImpl(const Expr& expr,

Callers 1

ExprToProtoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected