/** ** \file ast/assert-exp.cc ** \brief Implementation of ast::AssertExp. */ #include #include namespace ast { AssertExp::AssertExp(const Location& location, Exp* condition) : Exp(location) , cond_{condition} {} AssertExp::~AssertExp() { delete cond_; } void AssertExp::accept(ConstVisitor& v) const { v(*this); } void AssertExp::accept(Visitor& v) { v(*this); } } // namespace ast