Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Integer.h
blob: 86aafb9c1802ac41233fc630cc3a23c0866125e0 (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:
	LLVMRet Visit(LLVMVisitor& visitor) const override;
	const int& get_value() const;

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

#endif