/** * Creates a new complete constructor {@code AMutexSyncDefinition} 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 operations_ the {@link NodeList} node for the {@code operations} child of this {@link AMutexSyncDefinition} node */ public AMutexSyncDefinition(ILexLocation location_, ILexNameToken name_, NameScope nameScope_, Boolean used_, SClassDefinition classDefinition_, AAccessSpecifierAccessSpecifier access_, PType type_, Pass pass_, List<? extends ILexNameToken> operations_) { super(location_,name_,nameScope_,used_,classDefinition_,access_,type_,pass_); this.setOperations(operations_); }
/** * Creates a new tree field only constructor {@code AMutexSyncDefinition TAG=mutexSync} 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 operations_ the {@link NodeList} node for the {@code operations} child of this {@link AMutexSyncDefinition} node */ public AMutexSyncDefinition(ILexLocation location_, NameScope nameScope_, Boolean used_, AAccessSpecifierAccessSpecifier access_, Pass pass_, List<? extends ILexNameToken> operations_) { super(location_,null,nameScope_,used_,null,access_,null,pass_); this.setOperations(operations_); }
public static AMutexSyncDefinition newAMutexSyncDefinition( ILexLocation location, LexNameList operations) { AMutexSyncDefinition result = new AMutexSyncDefinition(); // Definition initialization initDefinition(result, Pass.DEFS, location, null, NameScope.GLOBAL); result.setOperations(operations); return result; }