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

Method MakeEvaluatorState

eval/eval/evaluator_core.cc:157–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157FlatExpressionEvaluatorState FlatExpression::MakeEvaluatorState(
158 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
159 google::protobuf::MessageFactory* absl_nonnull message_factory,
160 google::protobuf::Arena* absl_nonnull arena) const {
161 return FlatExpressionEvaluatorState(path_.size(), comprehension_slots_size_,
162 type_provider_, descriptor_pool,
163 message_factory, arena);
164}
165
166absl::StatusOr<cel::Value> FlatExpression::EvaluateWithCallback(
167 const cel::ActivationInterface& activation,

Callers 5

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_PFunction · 0.80
TraceImplMethod · 0.80

Calls 2

sizeMethod · 0.45

Tested by 3

TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_PFunction · 0.64