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

#include "Value.h"

class Integer : public Value {
	int value;
public:
	std::string Visit(LLVMVisitor& visitor) const override;
	const int& get_value() const;

	Integer(int value);
	~Integer() override = default;
};

#endif