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/Funcall.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Year 2/Implementation of Programming Languages/Transpiler/src/Value/Funcall.h (limited to 'Year 2/Implementation of Programming Languages/Transpiler/src/Value/Funcall.h') diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Funcall.h b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Funcall.h new file mode 100644 index 0000000..4b7b826 --- /dev/null +++ b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Funcall.h @@ -0,0 +1,20 @@ +#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-26-gb76a