DependencyEnds
- class DependencyEnds
-
Members defined in
DependencyEnds(5 members)
Members inherited from
ContainerView(11 members)
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.