syside.ChainedChildrenNodes
- class ChainedChildrenNodes
Bases:
ChildrenNodes
[R
,M
]Container that stores a vector of children nodes that may own feature chainings.
- append_chain(relationship: type[syside.R], features: Sequence[syside.Feature]) tuple[syside.R, syside.Feature]
Append a relationship with an owned chaining. Raises
TypeError
if the relationship type cannot have owned chaining in the textual syntax.
- insert_chain(index: int, relationship: type[syside.R], features: Sequence[syside.Feature]) tuple[syside.R, syside.Feature]
Insert a relationship with an owned chaining at the specified index. Raises
TypeError
if the relationship type cannot have owned chaining in the textual syntax.
- replace_chain_at(index: int, relationship: type[syside.R], features: Sequence[syside.Feature]) tuple[syside.R, syside.Feature]
Replace the relationship and its related element at the specified index with an owned chaining. The relationship may be reused if its type matches the current relationship at that index. Raises
TypeError
if the relationship type cannot have owned chaining in the textual syntax.