/** * Creates a new tree field only constructor {@code AStartStmIR TAG=start} 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 exp_ the {@link SExpIR} node for the {@code exp} child of this {@link AStartStmIR} node * @param type_ the {@link STypeIR} node for the {@code type} child of this {@link AStartStmIR} node */ public AStartStmIR(SExpIR exp_, STypeIR type_) { super(null,null,null); this.setExp(exp_); this.setType(type_); }
/** * Creates a new complete constructor {@code AStartStmIR} 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 exp_ the {@link SExpIR} node for the {@code exp} child of this {@link AStartStmIR} node * @param type_ the {@link STypeIR} node for the {@code type} child of this {@link AStartStmIR} node */ public AStartStmIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, SExpIR exp_, STypeIR type_) { super(sourceNode_,tag_,metaData_); this.setExp(exp_); this.setType(type_); }
thread.setType(typeIR); thread.setExp(expIR);