void (RootStatement root) { LinkedList<Statement> stack = new LinkedList<>(); stack.add(root); while (!stack.isEmpty()) { Statement stat = stack.removeFirst(); stat.clearTempInformation(); stack.addAll(stat.getStats()); } }