/** * Creates a new complete constructor {@code ASeqBind} 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 seq_ the {@link PExp} <b>graph</a> node for the {@code seq} child of this {@link ASeqBind} node. * <i>The parent of this {@code seq } will not be changed by adding it to this node.</i> */ public ASeqBind(ILexLocation location_, PPattern pattern_, PExp seq_) { super(location_,pattern_); this.setSeq(seq_); }
public static ASeqBind newASeqBind(PPattern pattern, PExp readExpression) { ASeqBind result = new ASeqBind(); result.setLocation(pattern.getLocation()); result.setPattern(pattern); result.setSeq(readExpression); return result; }