Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Float.h
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h1
diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h
index 22cd721..0f47be1 100644
--- a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h
+++ b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Float.h
@@ -7,6 +7,7 @@ class Float : public Value {
double value;
public:
std::string Visit(LLVMVisitor& visitor) const override;
+ T_Primitive RetType() const override;
const double& get_value() const;
Float(double value);