MCPcopy Create free account
hub / github.com/bytedance/bolt / resolveTypeForSpecialForm

Function resolveTypeForSpecialForm

bolt/expression/FunctionCallToSpecialForm.cpp:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace bytedance::bolt::exec {
35
36TypePtr 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
47ExprPtr constructSpecialForm(
48 const std::string& functionName,

Callers 4

resolveAggregateTypeFunction · 0.85
resolveTypeFunction · 0.85
TEST_FFunction · 0.85

Calls 1

resolveTypeMethod · 0.45

Tested by

no test coverage detected