MCPcopy Create free account
hub / github.com/WheretIB/nullc / FunctionGeneric

Function FunctionGeneric

NULLC/Callbacks.cpp:2936–2947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2934}
2935
2936bool FunctionGeneric(bool setGeneric, unsigned pos)
2937{
2938 FunctionInfo &lastFunc = *currDefinedFunc.back();
2939 if(setGeneric)
2940 {
2941 lastFunc.generic = currDefinedFunc.back()->CreateGenericContext(pos);
2942 lastFunc.generic->globalVarTop = varTop;
2943 lastFunc.generic->blockDepth = lastFunc.vTopSize;
2944 lastFunc.generic->parent = &lastFunc;
2945 }
2946 return !!lastFunc.generic;
2947}
2948
2949void FunctionParameter(const char* pos, InplaceStr paramName)
2950{

Callers 4

FunctionAddFunction · 0.85
ParseSelectTypeFunction · 0.85
ParseFunctionVariablesFunction · 0.85
ParseFunctionDefinitionFunction · 0.85

Calls 1

CreateGenericContextMethod · 0.45

Tested by

no test coverage detected