aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/node.hpp
blob: 6945b210e228dd41f6d62a60b10cfa31e6dc8a5b (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 NODE_HPP
#define NODE_HPP

#include <cstdint>
#include <map>
#include <string>

class Type;
class Bindings; 


// base node class
class Node
{
public:
	virtual ~Node() {}

	virtual void print() const = 0;
	virtual void printXml() const = 0;
	virtual Bindings printAsm(Bindings bindings, int& label_count) const = 0;
};

    
#endif