Skip to content
Back to top
View this page

# DefinitionsCollector

class dsviper.DefinitionsCollector

  Bases: `object`

  A class used to collect referenced types.

  Note: Not directly instantiable.

  club_runtime_ids() → set[ValueUUId]

    Return the set of uuid for collected clubs.

  collect_attachment(attachment: Attachment) → None

    Collect the types referenced by the attachment.

  collect_prototype(prototype: FunctionPrototype) → None

    Collect the types referenced by the prototype.

  collect_prototypes(prototypes: list[FunctionPrototype]) → None

    Collect the types referenced by the list of prototypes.

  collect_structure_descriptor(type_structure_descriptor: TypeStructureDescriptor) → None

    Collect the types referenced by a structure descriptor.

  collect_type(type: Type) → None

    Collect the types referenced by the type.

  concept_runtime_ids() → set[ValueUUId]

    Return the set of uuid for collected concepts.

  enumeration_runtime_ids() → set[ValueUUId]

    Return the set of uuid for collected enumerations.

  has_any() → bool

    Return True if the type any was collected.

  has_any_concept() → bool

    Return True if the type any_concept was collected.

  structure_runtime_ids() → set[ValueUUId]

    Return the set of uuid for collected structures.