mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-24 18:48:01 +02:00
TypeDef MemberSet fixes
This commit is contained in:
parent
cfaeb875f8
commit
069e327850
3 changed files with 28 additions and 37 deletions
|
@ -935,6 +935,24 @@ struct BfMemberSetEntry
|
|||
}
|
||||
};
|
||||
|
||||
class BfTypeDefMemberSet : public HashSet<BfMemberSetEntry>
|
||||
{
|
||||
public:
|
||||
int mSourceSize;
|
||||
|
||||
public:
|
||||
BfTypeDefMemberSet()
|
||||
{
|
||||
mSourceSize = 0;
|
||||
}
|
||||
|
||||
void Clear()
|
||||
{
|
||||
HashSet<BfMemberSetEntry>::Clear();
|
||||
mSourceSize = 0;
|
||||
}
|
||||
};
|
||||
|
||||
// For partial classes, the first entry in the map will contain the combined data
|
||||
class BfTypeDef
|
||||
{
|
||||
|
@ -980,9 +998,9 @@ public:
|
|||
Array<BfFieldDef*> mFields;
|
||||
Array<BfPropertyDef*> mProperties;
|
||||
Array<BfMethodDef*> mMethods;
|
||||
HashSet<BfMemberSetEntry> mMethodSet;
|
||||
HashSet<BfMemberSetEntry> mFieldSet;
|
||||
HashSet<BfMemberSetEntry> mPropertySet;
|
||||
BfTypeDefMemberSet mMethodSet;
|
||||
BfTypeDefMemberSet mFieldSet;
|
||||
BfTypeDefMemberSet mPropertySet;
|
||||
Array<BfOperatorDef*> mOperators;
|
||||
Array<BfGenericParamDef*> mGenericParamDefs;
|
||||
Array<BfExternalConstraintDef> mExternalConstraints;
|
||||
|
@ -1072,7 +1090,6 @@ public:
|
|||
void FreeMembers();
|
||||
void PopulateMemberSets();
|
||||
void ClearMemberSets();
|
||||
void ClearOldMemberSets();
|
||||
void RemoveGenericParamDef(BfGenericParamDef* genericParamDef);
|
||||
int GetSelfGenericParamCount();
|
||||
String ToString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue