ChainedMemberAccessor
- class ChainedMemberAccessor[R: Membership, M: Feature]
-
Members defined in
ChainedMemberAccessor(1 member)
Set the reference to a chain of
Features. Replaces the previousmember_element.Members inherited from
MemberAccessor(6 members)
RThe
member_elementof thismemberif it is not empty.
RThe
membershipof thismemberif it is not empty.
Extract the
member_elementleaving thismemberempty. Note that not all emptymembersare valid textual syntax. This does not check that the model is left in a valid state.
Remove the
member_elementleaving thismemberempty. Note that not all emptymembersare valid textual syntax. This does not check that the model is left in a valid state.
Set a new
member_element.elementwill only be referenced if themembershipisMembership, otherwise ownership constraints apply. Replaces the previousmember_element, which may be reused by the model if it was owned. Methods
- set_member_element_chain(arg: Sequence[syside.Feature], /) tuple[syside.OwningMembership, syside.Feature]
Set the reference to a chain of
Features. Replaces the previousmember_element.Returns a pair of (
membership,member_element) wheremember_elementis theFeaturewith ownedFeatureChainingsto the providedFeatureswith order preserved.