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

Method FindType

IDEHelper/Compiler/BfContext.cpp:1765–1779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1763}
1764
1765BfType* BfContext::FindType(const StringImpl& fullTypeName)
1766{
1767 int genericArgCount = 0;
1768 String typeName = fullTypeName;
1769 if (typeName.EndsWith('>'))
1770 {
1771 // Generic
1772 }
1773
1774 BfTypeDef* typeDef = mSystem->FindTypeDef(typeName, genericArgCount);
1775 if (typeDef == NULL)
1776 return NULL;
1777
1778 return mUnreifiedModule->ResolveTypeDef(typeDef);
1779}
1780
1781String BfContext::TypeIdToString(int typeId)
1782{

Callers 1

DoInvocationMethod · 0.45

Calls 3

EndsWithMethod · 0.45
FindTypeDefMethod · 0.45
ResolveTypeDefMethod · 0.45

Tested by

no test coverage detected