void GlobalsCollector::visit(ast::ArrayListExp & e) { for (auto _e : e.getExps()) { _e->accept(*this); } }
void SLintVisitor::visit(const ast::ArrayListExp & e) { auto range = preCheck(e); const ast::exps_t & exps = e.getExps(); for (ast::exps_t::const_iterator it = exps.begin(), itEnd = exps.end(); it != itEnd; ++it) { (*it)->accept(*this); } postCheck(e, range); }