aboutsummaryrefslogtreecommitdiff
path: root/include/symbol.hpp
blob: a388f045c88d392b8713305b1b8ca29c9226bbec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "symbol_type.hpp"
#include "type.hpp"

#include <variant>
#include <string>

class Symbol {
public:
    explicit Symbol();

private:
    std::string identifier;

    SymbolType symbol_type;
    std::variant<int, bool, std::string> value;
};