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

Class BfModuleMethodInstance

IDEHelper/Compiler/BfResolvedTypeUtils.h:1095–1118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1093};
1094
1095class BfModuleMethodInstance
1096{
1097public:
1098 BfMethodInstance* mMethodInstance;
1099 BfIRValue mFunc;
1100
1101public:
1102 BfModuleMethodInstance()
1103 {
1104 mMethodInstance = NULL;
1105 }
1106
1107 BfModuleMethodInstance(BfMethodInstance* methodInstance);
1108
1109 BfModuleMethodInstance(BfMethodInstance* methodInstance, BfIRValue func) : mFunc(func)
1110 {
1111 mMethodInstance = methodInstance;
1112 }
1113
1114 operator bool() const
1115 {
1116 return mMethodInstance != NULL;
1117 }
1118};
1119
1120// The way these work is a bit nuanced
1121// When we use these as keys, we allow collisions between genericParams from different type and

Callers 10

VisitMethod · 0.85
GetMethodByNameMethod · 0.85
HasMixinMethod · 0.85
GetMethodInstanceMethod · 0.85
CreateCallMethod · 0.85
GetSelectedMethodMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected