Added basic class access and type specifiers generation

This commit is contained in:
Bartek Kryza
2021-02-23 23:31:35 +01:00
parent a3459035d7
commit 78d8655c6d
8 changed files with 145 additions and 11 deletions

28
tests/t00003/t00003.cc Normal file
View File

@@ -0,0 +1,28 @@
namespace clanguml {
namespace t00003 {
class A {
public:
A() = default;
A(A &&) = default;
A(const A &) = default;
virtual ~A() = default;
void basic_method() {}
static int static_method() { return 0; }
void const_method() const {}
int public_member;
protected:
void protected_method() {}
int protected_member;
private:
void private_method() {}
int private_member;
};
}
}