/** ** \file ast/seq-exp.cc ** \brief Implementation of ast::SeqExp. */ #include #include #include namespace ast { SeqExp::SeqExp(const Location& location, exps_type* exps) : Exp(location) , exps_(exps) {} SeqExp::~SeqExp() { misc::deep_clear(*exps_); delete exps_; } void SeqExp::accept(ConstVisitor& v) const { v(*this); } void SeqExp::accept(Visitor& v) { v(*this); } } // namespace ast