/** * Creates a new complete constructor {@code AMultiBindListDefinition} 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 bindings_ the {@link GraphNodeList} <b>graph</a> node for the {@code bindings} child of this {@link AMultiBindListDefinition} node. * <i>The parent of this {@code bindings } will not be changed by adding it to this node.</i> * @param defs_ the {@link GraphNodeList} <b>graph</a> node for the {@code defs} child of this {@link AMultiBindListDefinition} node. * <i>The parent of this {@code defs } will not be changed by adding it to this node.</i> */ public AMultiBindListDefinition(ILexLocation location_, ILexNameToken name_, NameScope nameScope_, Boolean used_, SClassDefinition classDefinition_, AAccessSpecifierAccessSpecifier access_, PType type_, Pass pass_, List<? extends PMultipleBind> bindings_, List<? extends PDefinition> defs_) { super(location_,name_,nameScope_,used_,classDefinition_,access_,type_,pass_); this.setBindings(bindings_); this.setDefs(defs_); }
public static AMultiBindListDefinition newAMultiBindListDefinition( ILexLocation location, List<PMultipleBind> bindings) { AMultiBindListDefinition result = new AMultiBindListDefinition(); initDefinition(result, Pass.DEFS, location, null, null); result.setBindings(bindings); return result; }