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

Method EvalWithCelExpressionBuilder

testing/testrunner/runner_lib.cc:371–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371absl::StatusOr<cel::Value> TestRunner::EvalWithCelExpressionBuilder(
372 const CheckedExpr& checked_expr, const TestCase& test_case,
373 google::protobuf::Arena* arena) {
374 CEL_ASSIGN_OR_RETURN(
375 Activation activation,
376 CreateLegacyActivationFromBindings(test_case, *test_context_, arena));
377 return EvalWithLegacyBindings(checked_expr, *test_context_, activation,
378 arena);
379}
380
381absl::StatusOr<CheckedExpr> TestRunner::GetCheckedExpr() const {
382 const CelExpressionSource* source_ptr = test_context_->expression_source();

Callers

nothing calls this directly

Calls 1

EvalWithLegacyBindingsFunction · 0.85

Tested by

no test coverage detected