From 93175ba5edb0eacc182f573c4fd4556f089da305 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Fri, 30 Jan 2026 13:28:45 +0000 Subject: Added BYREF and BYVAL --- include/cps/FunctionAST.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/cps/FunctionAST.h') diff --git a/include/cps/FunctionAST.h b/include/cps/FunctionAST.h index 155bd8c..5b4da6c 100644 --- a/include/cps/FunctionAST.h +++ b/include/cps/FunctionAST.h @@ -3,24 +3,25 @@ #include #include #include +#include namespace cps { class PrototypeAST { std::string Name; - std::vector> Args; + std::vector> Args; std::string ReturnType; bool IsExternal; public: PrototypeAST(const std::string &Name, - std::vector> Args, + std::vector> Args, const std::string &ReturnType, bool IsExternal = false) : Name(Name), Args(std::move(Args)), ReturnType(ReturnType), IsExternal(IsExternal) {} const std::string &getName() const { return Name; } - const std::vector> &getArgs() const { return Args; } + const std::vector> &getArgs() const { return Args; } const std::string &getReturnType() const { return ReturnType; } bool isExternal() const { return IsExternal; } }; -- cgit v1.3.1-4-g156e