Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Name.h
blob: b242c06269061975b8140cbad4df6e305a02161f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef VALUE_NAME
#define VALUE_NAME

#include <string>
#include "Value.h"

class Name : public Value {
	std::string val;

public:
	const std::string& get_value() const;

	std::string Visit(LLVMVisitor& visitor) const override;
	T_Primitive RetType() const override;

	Name(std::string);
	~Name() override = default;
};

#endif