AGEvaluatorSwipl.Schedule sched, HashMap<AGEval.Class,
ArrayList<String>> openLoops, HashMap<AGEval.Class, String> soFar,
HashMap<String, String> exprToCall, HashMap<String, String> exprPrinter) throws InvalidGrammarException {
String res = "";
//String loopVar = sched._ast.extendedClasses.get(cls).idToLoop.get(openLoops.get(cls).get(0).replace("_step", "").replace("_","@"));
ExtendedClass cls2 = sched._ast.extendedClasses.get(cls);
res += backend.openLastChild(cls, loopVar);
boolean hasAnyToCopy = false;
if (!openLoops.containsKey(cls)) {
String options = "";