DependencyEnds
- class DependencyEnds
-
Members defined in
DependencyEnds(5 members)
Append a new reference to this container.
Clear all references from this container. Note that empty references cannot be represented in textual syntax, and is a semantic violation.
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)
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.