/** * Creates a new tree field only constructor {@code ATryStmIR TAG=try} node with the given nodes as children. * @deprecated This method should not be used, use AstFactory instead. * The basic child nodes are removed from their previous parents. * @param stm_ the {@link SStmIR} node for the {@code stm} child of this {@link ATryStmIR} node * @param catchClauses_ the {@link NodeList} node for the {@code catchClauses} child of this {@link ATryStmIR} node * @param finally_ the {@link SStmIR} node for the {@code finally} child of this {@link ATryStmIR} node */ public ATryStmIR(SStmIR stm_, List<? extends ACatchClauseDeclIR> catchClauses_, SStmIR finally_) { super(null,null,null); this.setStm(stm_); this.setCatchClauses(catchClauses_); this.setFinally(finally_); }
/** * Creates a new complete constructor {@code ATryStmIR} node with the given nodes as children. * @deprecated This method should not be used, use AstFactory instead. * The basic child nodes are removed from their previous parents. * @param stm_ the {@link SStmIR} node for the {@code stm} child of this {@link ATryStmIR} node * @param catchClauses_ the {@link NodeList} node for the {@code catchClauses} child of this {@link ATryStmIR} node * @param finally_ the {@link SStmIR} node for the {@code finally} child of this {@link ATryStmIR} node */ public ATryStmIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, SStmIR stm_, List<? extends ACatchClauseDeclIR> catchClauses_, SStmIR finally_) { super(sourceNode_,tag_,metaData_); this.setStm(stm_); this.setCatchClauses(catchClauses_); this.setFinally(finally_); }