| 116 | } |
| 117 | |
| 118 | NodePtr TreeExprBuilder::MakeFunction(const std::string& name, const NodeVector& params, |
| 119 | DataTypePtr result_type) { |
| 120 | if (result_type == nullptr) { |
| 121 | return nullptr; |
| 122 | } |
| 123 | return std::make_shared<FunctionNode>(name, params, result_type); |
| 124 | } |
| 125 | |
| 126 | NodePtr TreeExprBuilder::MakeIf(NodePtr condition, NodePtr then_node, NodePtr else_node, |
| 127 | DataTypePtr result_type) { |
nothing calls this directly
no outgoing calls
no test coverage detected