Factory method for Constant AST node expression recursive step.
| 15 | |
| 16 | // Factory method for Constant AST node expression recursive step. |
| 17 | inline std::unique_ptr<DirectExpressionStep> CreateConstValueDirectStep( |
| 18 | cel::Value value, int64_t id = -1) { |
| 19 | return std::make_unique<DirectCompilerConstantStep>(std::move(value), id); |
| 20 | } |
| 21 | |
| 22 | // Factory method for Constant AST node expression step. |
| 23 | inline absl::StatusOr<std::unique_ptr<ExpressionStep>> CreateConstValueStep( |
no outgoing calls