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

#include "Value.h"

class Float : public Value {
	double value;
public:
	LLVMRet Visit(LLVMVisitor& visitor) const override;
	const double& get_value() const;

	Float(double value);
	~Float() override = default;
};

#endif