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

Method GetFieldByName

IDEHelper/Compiler/BfSystem.cpp:914–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912}
913
914BfFieldDef* BfTypeDef::GetFieldByName(const StringImpl& name)
915{
916 PopulateMemberSets();
917 BfFieldDef* nextField = NULL;
918 BfMemberSetEntry* entry;
919 if (mFieldSet.TryGetWith(name, &entry))
920 return (BfFieldDef*)entry->mMemberDef;
921 return NULL;
922}
923
924String BfTypeDef::ToString()
925{

Callers 5

GetTypeIdFromTypeMethod · 0.45
CreateCallMethod · 0.45
CreateObjectMethod · 0.45
DoInvocationMethod · 0.45
TypedValueToStringMethod · 0.45

Calls 1

TryGetWithMethod · 0.80

Tested by

no test coverage detected