DefinitionsCollector¶
- class dsviper.DefinitionsCollector¶
Bases:
objectA class used to collect referenced types.
Note: Not directly instantiable.
- 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.
- has_any() bool¶
Return True if the type any was collected.
- has_any_concept() bool¶
Return True if the type any_concept was collected.