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

#include <vector>
#include <string>
#include <iostream>
#include <map>
#include <cstdint>

struct VarLocation;

typedef std::map<std::string, VarLocation> VariableStack;

#include "node.hpp"
#include "type.hpp"
#include "expression.hpp"
#include "declaration.hpp"
#include "statement.hpp"
#include "function.hpp"
#include "translation_unit.hpp"

TranslationUnit* parseAST();

#endif