public Object visitStmtAssign(StmtAssign stmt) {
   if (stmt.getLHS() instanceof ExprArrayRange) {
     ExprArrayRange v = (ExprArrayRange) stmt.getLHS();
     if (v.getBase() instanceof ExprVar) {
       ExprVar v2 = (ExprVar) (v.getBase());
       if (inputParameters.contains(v2.getName())) {
         parametersToInout.add(v2.getName());
       }
     }
   }
   return stmt;
 }
 public Object visitExprVar(ExprVar expr) {
   if (collecting) return expr;
   expr = (ExprVar) super.visitExprVar(expr);
   String newName = renameMap.get(expr.getName());
   if (newName != null) {
     expr = new ExprVar(expr, newName);
   }
   return expr;
 }