finish codeparser improvements

pip_cmg now works with new nested entities approach
Getters now can access to bitfields
This commit is contained in:
2025-09-18 05:54:31 +03:00
parent af02684dc5
commit 7083b2c32b
15 changed files with 244 additions and 157 deletions

View File

@@ -100,7 +100,7 @@ public:
struct PIP_EXPORT Entity {
Entity() {
visibility = Global;
has_name = true;
is_anonymous = false;
size = 0;
parent_scope = 0;
}
@@ -110,10 +110,9 @@ public:
PIString file;
Visibility visibility;
int size;
bool has_name;
bool is_anonymous;
Entity * parent_scope;
PIVector<Entity *> parents;
PIVector<Entity *> children;
PIVector<Member> functions;
PIVector<Member> members;
PIVector<Typedef> typedefs;