MCPcopy Create free account
hub / github.com/beefytech/Beef / GetDataIdxFromParamIdx

Method GetDataIdxFromParamIdx

IDEHelper/Compiler/BfResolvedTypeUtils.cpp:3218–3227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3216}
3217
3218int BfMethodRefType::GetDataIdxFromParamIdx(int paramIdx)
3219{
3220 if (paramIdx == -1)
3221 {
3222 if (mMethodRef->HasThis())
3223 return 0;
3224 return -1;
3225 }
3226 return mParamToDataIdx[paramIdx];
3227}
3228
3229int BfMethodRefType::GetParamIdxFromDataIdx(int dataIdx)
3230{

Callers 2

DoImplicitArgCaptureMethod · 0.80

Calls 1

HasThisMethod · 0.45

Tested by

no test coverage detected