aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/declaration.hpp
blob: bf72f2dc3f3470925a789773ca38f3b921465ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef AST_DECLARATION_HPP
#define AST_DECLARATION_HPP

#include "ast.hpp"

// Declaration that holds a list of declarations

class Declaration : public BaseNode {
public:
    Declaration(const Base* _var) : BaseNode(_var) {}
};

class DeclarationList : public BaseList {
public:
    DeclarationList(const Base* _var) : BaseList(_var) {}
};

class InitDeclaratorList : public BaseList {
public:
    InitDeclaratorList(const Base* _var) : BaseList(_var) {}
};

#endif