blob: c3c7ef484822aff3e3c7ba342d4b151201bec0f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
class Symbol {
public:
explicit Symbol();
private:
std::string identifier;
Type type;
std::variant<int, bool, std::string> value;
};
Symbol::Symbol(std::string identifier, Type type, std::variant<int, bool, std::string> value) : identifier(identifier), type(type), value(value) { }
|