List of functions in the ude.formatters.signatures namespace.

Entity NameDescription
collect_member_declarationsCollects legacy member declaration strings for the class code prototype.
collect_member_display_stringsCollects legacy display strings for member lists.
collect_segregated_member_display_stringsCollects member display strings segregated into class-level, instance-level, and miscellaneous groups.
get_signature_formatterFactory to retrieve a language-specific signature formatter.

Generated with Flude

Copyright © 2026

Directory & Entity Index

Entity NameSummary / Description
collect_member_declarations function

Collects legacy member declaration strings for the class code prototype.

Iterates the typed collections in the order fields, constants, type aliases and returns each member’s preserved definition text. Members without declaration text are skipped, matching v1.0 behavior where such entries never entered the untyped string list.

Returns:

The member declaration strings, in fields/constants/type_aliases order.

Methods

collect_member_declarations

collect_member_declarations(cls: ClassModel) -> List[str]

Collects legacy member declaration strings for the class code prototype.

collect_member_display_strings function

Collects legacy display strings for member lists.

Extends :func:collect_member_declarations with enum value strings so enum wrapper entities keep rendering their values exactly as in v1.0.

Returns:

The member declaration strings followed by each enum’s value strings.

Methods

collect_member_display_strings

collect_member_display_strings(cls: ClassModel) -> List[str]

Collects legacy display strings for member lists.

Extends :func:collect_member_declarations with enum value strings so enum wrapper entities keep rendering their values exactly as in v1.0.

Returns:

The member declaration strings followed by each enum’s value strings.

collect_segregated_member_display_strings function

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.

get_signature_formatter function

Factory to retrieve a language-specific signature formatter.

Satisfies REQ-FUN-03

Raises: ValueError: If language is not one of the supported tokens.

Returns:

The BaseSignatureFormatter strategy for that language.

Methods

get_signature_formatter

get_signature_formatter(language: str) -> BaseSignatureFormatter

Factory to retrieve a language-specific signature formatter.

Satisfies REQ-FUN-03

Raises: ValueError: If language is not one of the supported tokens.

Returns:

The BaseSignatureFormatter strategy for that language.

ParameterTypeDescription
languagestrA language token; case-insensitive. Accepts “cs”/“csharp”/

Generated with Flude