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

Function CreateConstValueStep

eval/eval/const_value_step.h:23–27  ·  view source on GitHub ↗

Factory method for Constant AST node expression step.

Source from the content-addressed store, hash-verified

21
22// Factory method for Constant AST node expression step.
23inline absl::StatusOr<std::unique_ptr<ExpressionStep>> CreateConstValueStep(
24 cel::Value value, int64_t expr_id, bool comes_from_ast = true) {
25 return std::make_unique<CompilerConstantStep>(std::move(value), expr_id,
26 comes_from_ast);
27}
28
29} // namespace google::api::expr::runtime
30

Callers 4

PostVisitConstMethod · 0.85
OnPostVisitMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68