| 144 | static bool print_expr = false; |
| 145 | |
| 146 | ExpressionPtr TreeExprBuilder::MakeExpression(NodePtr root_node, FieldPtr result_field) { |
| 147 | if (result_field == nullptr) { |
| 148 | return nullptr; |
| 149 | } |
| 150 | if (print_expr) { |
| 151 | std::cout << "Expression: " << root_node->ToString() << "\n"; |
| 152 | } |
| 153 | return ExpressionPtr(new Expression(root_node, result_field)); |
| 154 | } |
| 155 | |
| 156 | ExpressionPtr TreeExprBuilder::MakeExpression(const std::string& function, |
| 157 | const FieldVector& in_fields, |
nothing calls this directly
no test coverage detected