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

Method EvaluateWithCallback

eval/eval/evaluator_core.cc:166–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166absl::StatusOr<cel::Value> FlatExpression::EvaluateWithCallback(
167 const cel::ActivationInterface& activation,
168 const cel::EmbedderContext* absl_nullable embedder_context,
169 EvaluationListener listener, FlatExpressionEvaluatorState& state) const {
170 state.Reset();
171
172 ExecutionFrame frame(subexpressions_, activation, options_, state,
173 std::move(listener), embedder_context);
174
175 return frame.Evaluate(frame.callback());
176}
177
178} // namespace google::api::expr::runtime

Callers 3

TEST_FFunction · 0.80
TEST_PFunction · 0.80
TraceImplMethod · 0.80

Calls 2

ResetMethod · 0.45
EvaluateMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_PFunction · 0.64