i.setElsePart(createBlockWithNode(node));
}
} else if (parent instanceof WhileLoop) {
/* the parent is a while and there are no braces, so we should make a new block */
/* I don't think you can find this in the real world, but just to be sure */
WhileLoop w = (WhileLoop) parent;
w.setBody(createBlockWithNode(node));
} else if (parent instanceof ForLoop) {
/* the parent is a for and there are no braces, so we should make a new block */
/* I don't think you can find this in the real world, but just to be sure */
ForLoop f = (ForLoop) parent;
f.setBody(createBlockWithNode(node));