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

Method IdentExprFromProto

common/ast/expr_proto.cc:327–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325 }
326
327 absl::Status IdentExprFromProto(const ExprProto& proto,
328 const ExprProto::Ident& ident_proto,
329 Expr& expr) {
330 expr.Clear();
331 expr.set_id(proto.id());
332 auto& ident_expr = expr.mutable_ident_expr();
333 ident_expr.set_name(ident_proto.name());
334 return absl::OkStatus();
335 }
336
337 absl::Status SelectExprFromProto(const ExprProto& proto,
338 const ExprProto::Select& select_proto,

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