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