| 34 | namespace bytedance::bolt::exec { |
| 35 | |
| 36 | TypePtr resolveTypeForSpecialForm( |
| 37 | const std::string& functionName, |
| 38 | const std::vector<TypePtr>& argTypes) { |
| 39 | auto specialForm = specialFormRegistry().getSpecialForm(functionName); |
| 40 | if (specialForm == nullptr) { |
| 41 | return nullptr; |
| 42 | } |
| 43 | |
| 44 | return specialForm->resolveType(argTypes); |
| 45 | } |
| 46 | |
| 47 | ExprPtr constructSpecialForm( |
| 48 | const std::string& functionName, |
no test coverage detected