| 45 | } |
| 46 | |
| 47 | ExprPtr constructSpecialForm( |
| 48 | const std::string& functionName, |
| 49 | const TypePtr& type, |
| 50 | std::vector<ExprPtr>&& compiledChildren, |
| 51 | bool trackCpuUsage, |
| 52 | const core::QueryConfig& config) { |
| 53 | auto specialForm = specialFormRegistry().getSpecialForm(functionName); |
| 54 | if (specialForm == nullptr) { |
| 55 | return nullptr; |
| 56 | } |
| 57 | |
| 58 | return specialForm->constructSpecialForm( |
| 59 | type, std::move(compiledChildren), trackCpuUsage, config); |
| 60 | } |
| 61 | } // namespace bytedance::bolt::exec |
no test coverage detected