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

#include "Value.h"

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

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

#endif