| 169 | } |
| 170 | |
| 171 | ConditionPtr TreeExprBuilder::MakeCondition(NodePtr root_node) { |
| 172 | if (root_node == nullptr) { |
| 173 | return nullptr; |
| 174 | } |
| 175 | if (print_expr) { |
| 176 | std::cout << "Condition: " << root_node->ToString() << "\n"; |
| 177 | } |
| 178 | |
| 179 | return ConditionPtr(new Condition(root_node)); |
| 180 | } |
| 181 | |
| 182 | ConditionPtr TreeExprBuilder::MakeCondition(const std::string& function, |
| 183 | const FieldVector& in_fields) { |
nothing calls this directly
no test coverage detected