/** * Creates a new tree field only constructor {@code AUnionType TAG=union} 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 infinite_ the {@link Boolean} node for the {@code infinite} child of this {@link AUnionType} node * @param expanded_ the {@link Boolean} node for the {@code expanded} child of this {@link AUnionType} node */ public AUnionType(ILexLocation location_, Boolean resolved_, Boolean infinite_, Boolean expanded_) { super(location_,resolved_,null); this.setInfinite(infinite_); this.setExpanded(expanded_); this.setSeqDone(false); this.setSetDone(false); this.setMapDone(false); this.setProdCard(0); this.setFuncDone(false); this.setOpDone(false); this.setNumDone(false); this.setRecDone(false); this.setClassDone(false); }
type.setInfinite(true); type.setInfinite(type.getInfinite() && question.root.getInfinite());
this.setInfinite(infinite_); this.setExpanded(expanded_); this.setSeqDone(seqDone_);