Added initial class template handling

This commit is contained in:
Bartek Kryza
2021-03-06 12:12:35 +01:00
parent 5be5172bd3
commit e267d295f6
10 changed files with 180 additions and 12 deletions

View File

@@ -87,6 +87,10 @@ struct class_relationship {
std::string label;
};
struct class_template {
std::string name;
};
struct class_ : public element {
bool is_struct{false};
bool is_template{false};
@@ -94,8 +98,8 @@ struct class_ : public element {
std::vector<class_method> methods;
std::vector<class_parent> bases;
std::vector<std::string> inner_classes;
std::vector<class_relationship> relationships;
std::vector<class_template> templates;
bool is_abstract() const
{