From b8d2ea4f75c21b46f37310e94d2409290b35469a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 8 Feb 2023 00:20:02 +0200 Subject: [IPL/T] Moved Funcall out of it's folder --- .../Transpiler/src/Value/Function/Funcall.cpp | 16 ---------------- .../Transpiler/src/Value/Function/Funcall.h | 20 -------------------- 2 files changed, 36 deletions(-) delete mode 100644 Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.cpp delete mode 100644 Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Funcall.h (limited to 'Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function') 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& Funcall::get_args() const { - return args; -} - -LLVMRet Funcall::Visit(LLVMVisitor& visitor) const { - return visitor.Visit(*this); -} - -Funcall::Funcall(std::string funName, std::vector 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 -#include "../Value.h" - -class Funcall : public Value { - std::string funName; - std::vector args; -public: - const std::string& get_funname() const; - const std::vector& get_args() const; - - LLVMRet Visit(LLVMVisitor& visitor) const override; - - Funcall(std::string funName, std::vector args); - ~Funcall() override = default; -}; - -#endif -- cgit v1.3.1-23-gd82d