aboutsummaryrefslogtreecommitdiffstats
path: root/c_compiler/include/node.hpp
blob: 1612aaf7f2cec34725f557cd2f173e62271bf03b (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