Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Value.h
diff options
context:
space:
mode:
1 files changed, 14 insertions, 0 deletions
-rw-r--r--Year 2/Implementation of Programming Languages/Transpiler/src/Value/Value.h14
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 <string>
+
+class LLVMVisitor;
+
+class Value {
+public:
+ virtual std::string Visit(LLVMVisitor& visitor) const = 0;
+ virtual ~Value() {};
+};
+
+#endif