*/
public class HaxeDoWhileSurrounder extends HaxeManyStatementsSurrounder {
@NotNull
@Override
protected PsiElement doSurroundElements(PsiElement[] elements, PsiElement parent) {
final HaxeDoWhileStatement whileStatement =
(HaxeDoWhileStatement)HaxeElementGenerator.createStatementFromText(elements[0].getProject(), "do {\n} while(a);");
addStatements(whileStatement.getBlockStatement(), elements);
return whileStatement;
}