Lines Matching refs:Declaration
43 class Declaration : public AstNode {
45 Declaration() = default;
46 virtual ~Declaration() = default;
49 DISALLOW_COPY_AND_ASSIGN(Declaration);
52 class LiteralDecl : public Declaration {
64 class ClassDecl : public Declaration {
70 std::vector<std::unique_ptr<Declaration>> public_members,
71 std::vector<std::unique_ptr<Declaration>> private_members);
76 void AddPublic(std::unique_ptr<Declaration> member);
77 void AddPrivate(std::unique_ptr<Declaration> member);
82 std::vector<std::unique_ptr<Declaration>> public_members_;
83 std::vector<std::unique_ptr<Declaration>> private_members_;
88 class Enum : public Declaration {
130 class ConstructorDecl : public Declaration {
156 class MacroDecl : public Declaration {
170 class MethodDecl : public Declaration {
206 class StatementBlock : public Declaration {
224 class ConstructorImpl : public Declaration {
242 class MethodImpl : public Declaration {
376 class CppNamespace : public Declaration {
379 std::vector<std::unique_ptr<Declaration>> declarations);
381 std::unique_ptr<Declaration> declaration);
388 std::vector<std::unique_ptr<Declaration>> declarations_;
397 std::vector<std::unique_ptr<Declaration>> declarations);
403 std::vector<std::unique_ptr<Declaration>> declarations_;
411 std::vector<std::unique_ptr<Declaration>> declarations);
423 std::vector<std::unique_ptr<Declaration>> declarations);