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

Function ExprPtrToAny

parser/parser.cc:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90constexpr const char kHiddenAccumulatorVariableName[] = "@result";
91
92std::any ExprPtrToAny(std::unique_ptr<Expr>&& expr) {
93 return std::make_any<Expr*>(expr.release());
94}
95
96std::any ExprToAny(Expr&& expr) {
97 return ExprPtrToAny(std::make_unique<Expr>(std::move(expr)));

Callers 1

ExprToAnyFunction · 0.85

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected