Beispiel #1
0
 void GlobalsCollector::visit(ast::CellCallExp & e)
 {
     for (auto arg : e.getArgs())
     {
         arg->accept(*this);
     }
     e.getName().accept(*this);
 }
Beispiel #2
0
void SLintVisitor::visit(const ast::CellCallExp & e)
{
    auto range = preCheck(e);
    e.getName().accept(*this);

    ast::exps_t args = e.getArgs();
    for (auto arg : args)
    {
        arg->accept(*this);
    }
    postCheck(e, range);
}