// The condition is now true. Time for a loop body.
while (iterations > 0) {
// Append the loop body with every known value from context substituted.
statements = statements.appendList(getSubstitutedCopy(tree.body, context));
context.evaluateExpressionStatements(tree.step);
iterations--;
}
tree.getEnclosingBlock().insertBefore(tree, statements);
tree.getEnclosingBlock().remove(tree);