Factory method for Constant AST node expression step.
| 21 | |
| 22 | // Factory method for Constant AST node expression step. |
| 23 | inline 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 |
no outgoing calls