From 8f41c57ff12fa72693016b75fec63bb86ae6560f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 18 Jan 2023 11:51:57 +0200 Subject: [IPL/T] Implemented initial structure with Integer data type --- .../Transpiler/src/Value/Value.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Year 2/Implementation of Programming Languages/Transpiler/src/Value/Value.h (limited to 'Year 2/Implementation of Programming Languages/Transpiler/src/Value/Value.h') diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Value.h b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Value.h new file mode 100644 index 0000000..8488262 --- /dev/null +++ b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Value.h @@ -0,0 +1,14 @@ +#ifndef VALUE +#define VALUE + +#include + +class LLVMVisitor; + +class Value { +public: + virtual std::string Visit(LLVMVisitor& visitor) const = 0; + virtual ~Value() {}; +}; + +#endif -- cgit v1.3.1-26-gb76a