Examples of HaxeTryStatement


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

*/
public class HaxeTryCatchSurrounder extends HaxeManyStatementsSurrounder {
  @NotNull
  @Override
  protected PsiElement doSurroundElements(PsiElement[] elements, PsiElement parent) {
    final HaxeTryStatement tryStatement =
      (HaxeTryStatement)HaxeElementGenerator.createStatementFromText(elements[0].getProject(), "try {\n} catch(a) {\n}");
    addStatements(tryStatement.getBlockStatement(), elements);
    return tryStatement;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.