DependencyEnds
- class DependencyEnds
An accessor for dependency
clientandsupplierreferences.Members defined in
DependencyEnds(5 members)
Append a new reference to this container.
Clear all references from this container.
Pop and return the reference element at
index. By default, the last reference is popped.
Remove the referenced element. Returns
Trueif the element was removed, andFalseotherwise.
Replace reference element at
indexwithelement. Returns the previously referenced element.Members inherited from
ContainerView(11 members)
Whether this container is not empty
Get the value at
index.
Returns the number of
valueoccurrences in this container
Whether this container is empty
Returns the index of
valuein this container. Methods
- append(element: syside.Element, name: syside.NameID = NameID.Regular) None
Append a new reference to this container.
- clear() None
Clear all references from this container.
Note that empty references cannot be represented in textual syntax, and is a semantic violation.
- pop(index: int = -1) syside.Element
Pop and return the reference element at
index. By default, the last reference is popped.Raises
ValueErrorif theindexis out of bounds.
- remove(arg: syside.Element, /) bool
Remove the referenced element. Returns
Trueif the element was removed, andFalseotherwise.
- replace_at(index: int, element: syside.Element, name: syside.NameID = NameID.Regular) syside.Element
Replace reference element at
indexwithelement. Returns the previously referenced element.Raises
IndexErrorifindexis out-of-bounds.