Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Function
diff options
context:
space:
mode:
Commitb8d2ea4f75c21b46f37310e94d2409290b35469a (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-02-08 00:20:02 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-02-08 00:20:02 +0200
Filesd0ada84d7599296d9a0f3b64ffeb7587c676544b /Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function
uni-projects-b8d2ea4f75c21b46f37310e94d2409290b35469a.tar
uni-projects-b8d2ea4f75c21b46f37310e94d2409290b35469a.tar.gz
uni-projects-b8d2ea4f75c21b46f37310e94d2409290b35469a.zip
Parentd0c8546702bcb021f09b3279db048894a88c179a (diff)
[IPL/T] Moved Funcall out of it's folder
diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.cpp b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.cpp
deleted file mode 100644
index df88001..0000000
--- a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "Funcall.h"
-#include "../../LLVMVisitor/LLVMVisitor.h"
-
-const std::string& Funcall::get_funname() const {
- return funName;
-}
-
-const std::vector<Value*>& Funcall::get_args() const {
- return args;
-}
-
-LLVMRet Funcall::Visit(LLVMVisitor& visitor) const {
- return visitor.Visit(*this);
-}
-
-Funcall::Funcall(std::string funName, std::vector<Value*> args) : funName(funName), args(args) {}
diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h
deleted file mode 100644
index 30dda60..0000000
--- a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef VALUE_FUNCALL
-#define VALUE_FUNCALL
-
-#include <vector>
-#include "../Value.h"
-
-class Funcall : public Value {
- std::string funName;
- std::vector<Value*> args;
-public:
- const std::string& get_funname() const;
- const std::vector<Value*>& get_args() const;
-
- LLVMRet Visit(LLVMVisitor& visitor) const override;
-
- Funcall(std::string funName, std::vector<Value*> args);
- ~Funcall() override = default;
-};
-
-#endif