Collects member display strings segregated into class-level, instance-level, and miscellaneous groups.

constants (static members) become class variables, fields (instance members) become instance variables, and type_aliases plus enum values fall into other_fields. Each entry preserves its accessor_mode suffix, matching :func:collect_member_declarations. Shared by every Hugo-family renderer so the class/instance split stays identical across both.

Returns:

A SegregatedMembers tuple of class/instance/other display strings.

Methods

collect_segregated_member_display_strings

collect_segregated_member_display_strings(cls: ClassModel) -> SegregatedMembers

Collects member display strings segregated into class-level, instance-level, and miscellaneous groups.

constants (static members) become class variables, fields (instance members) become instance variables, and type_aliases plus enum values fall into other_fields. Each entry preserves its accessor_mode suffix, matching :func:collect_member_declarations. Shared by every Hugo-family renderer so the class/instance split stays identical across both.

Returns:

A SegregatedMembers tuple of class/instance/other display strings.

ParameterTypeDescription
clsClassModelThe class model whose members are segregated.

Generated with Flude

Copyright © 2026