diff options
[IPL/T] Overhauled how functions are handled, added list type
1 files changed, 0 insertions, 21 deletions
| -rw-r--r-- | Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Function.h | 21 |
diff --git a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Function.h b/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Function.h deleted file mode 100644 index 34e3ea1..0000000 --- a/Year 2/Implementation of Programming Languages/Transpiler/src/Value/Function/Function.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef VALUE_FUNCTION -#define VALUE_FUNCTION - -#include <string> -#include <deque> -#include "../Value.h" - -class Function : public Value { -protected: - std::string name; - std::deque<Value*> args; - -public: - const std::string& get_name() const; - const std::deque<Value*> get_args() const; - - Function(std::string name, std::deque<Value*> args); - ~Function() override = default; -}; - -#endif |
