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

Method GetInternalMethod

IDEHelper/Compiler/BfModule.cpp:11666–11676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11664}
11665
11666BfModuleMethodInstance BfModule::GetInternalMethod(const StringImpl& methodName, int paramCount)
11667{
11668 auto internalType = ResolveTypeDef(mCompiler->mInternalTypeDef);
11669 PopulateType(internalType);
11670 auto moduleMethodInstance = GetMethodByName(internalType->ToTypeInstance(), methodName, paramCount);
11671 if (!moduleMethodInstance)
11672 {
11673 Fail(StrFormat("Failed to find System.Internal method '%s'", methodName.c_str()));
11674 }
11675 return moduleMethodInstance;
11676}
11677
11678BfOperatorInfo* BfModule::GetOperatorInfo(BfTypeInstance* typeInstance, BfOperatorDef* operatorDef)
11679{

Callers 4

EmitTestMethodMethod · 0.80
CreateVDataMethod · 0.80
PopulateReifiedMethod · 0.80
DoCompileMethod · 0.80

Calls 3

FailFunction · 0.85
ToTypeInstanceMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected