示例#1
0
 void GlobalsCollector::visit(ast::MatrixExp & e)
 {
     for (auto mle : e.getLines())
     {
         mle->accept(*this);
     }
 }
示例#2
0
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);
}