Example #1
0
 void GlobalsCollector::visit(ast::ArrayListVar & e)
 {
     for (auto arg : e.getVars())
     {
         arg->accept(*this);
     }
 }
Example #2
0
void SLintVisitor::visit(const ast::ArrayListVar & e)
{
    auto range = preCheck(e);
    ast::exps_t vars = e.getVars();
    for (ast::exps_t::const_iterator it = vars.begin (), itEnd = vars.end(); it != itEnd; ++it)
    {
        (*it)->accept(*this);
    }
    postCheck(e, range);
}