#ifndef OBELISK_AST_FUNCTION_AST_H #define OBELISK_AST_FUNCTION_AST_H #include "ast/expression_ast.h" #include "ast/prototype_ast.h" #include namespace obelisk { class FunctionAST { private: std::unique_ptr prototype_; std::unique_ptr body_; std::unique_ptr getPrototype(); void setPrototype(std::unique_ptr prototype); public: FunctionAST(std::unique_ptr prototype, std::unique_ptr body) : prototype_(std::move(prototype)), body_(std::move(body)) { } }; } // namespace obelisk #endif