#pragma once #include "list.hpp" #include "identifier.hpp" #include "distinct.hpp" namespace ast { struct ReturnList : public List { using List::List; }; struct Return : public AstNode { Return(ReturnList* return_list) : return_list(return_list), distinct(nullptr) { } Return(Distinct* distinct) : return_list(nullptr), distinct(distinct) { } ReturnList* return_list; Distinct* distinct; }; };