Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Name.h
blob: b0e0693af992299ffe70bd0358f085ba2f848197 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;

	LLVMRet Visit(LLVMVisitor& visitor) const override;

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

#endif