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

Function ExprToAny

parser/parser.cc:96–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96std::any ExprToAny(Expr&& expr) {
97 return ExprPtrToAny(std::make_unique<Expr>(std::move(expr)));
98}
99
100std::unique_ptr<Expr> ExprPtrFromAny(std::any&& any) {
101 return absl::WrapUnique(std::any_cast<Expr*>(std::move(any)));

Callers 15

visitMethod · 0.85
visitPrimaryExprMethod · 0.85
visitMemberExprMethod · 0.85
visitExprMethod · 0.85
visitConditionalOrMethod · 0.85
visitConditionalAndMethod · 0.85
visitRelationMethod · 0.85
visitCalcMethod · 0.85
visitUnaryMethod · 0.85
visitLogicalNotMethod · 0.85
visitNegateMethod · 0.85
visitSelectMethod · 0.85

Calls 1

ExprPtrToAnyFunction · 0.85

Tested by

no test coverage detected