Package com.intellij.plugins.haxe.lang.psi

Examples of com.intellij.plugins.haxe.lang.psi.HaxeDoWhileStatement


*/
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;
  }
View Full Code Here

TOP

Related Classes of com.intellij.plugins.haxe.lang.psi.HaxeDoWhileStatement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.