void (ASTNode next, boolean value) { if (next == null) return; setNodeGenerated(next, value); for (ASTNode child = next.getFirstChildNode(); child != null; child = child.getTreeNext()) { setNodeGeneratedRecursively(child, value); } }