Package org.mozilla.javascript.ast

Examples of org.mozilla.javascript.ast.TryStatement


    return vars;
  }

  @Override
  public AstNode tryStatement(AstNode tryBlock, Iterable<AstNode> catchClauses, AstNode finallyBlock) {
    TryStatement t = new TryStatement();
    t.setTryBlock(tryBlock);
    for (AstNode c : catchClauses) {
      t.addCatchClause((CatchClause) c);
    }
    t.setFinallyBlock(finallyBlock);
    return t;
  }
View Full Code Here

TOP

Related Classes of org.mozilla.javascript.ast.TryStatement

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.