DSMDefinitionsInspector¶
- class dsviper.DSMDefinitionsInspector(definitions)¶
Bases:
objectRetrieves parsed declarations by TypeName, and attachments by identifier.
- attachment_function_pool_ids() set[ValueUUId]¶
Return the set of uuid for all attachment function pools.
- attachment_identifiers() set[str]¶
Return the set of identifiers for all attachments.
- check_attachment(identifier: str) DSMAttachment¶
Return the DSMAttachment whose identifier is identifier, or raise if none is.
- check_attachment_function_pool(uuid: ValueUUId) DSMAttachmentFunctionPool¶
Return the DSMAttachmentFunctionPool declared under uuid, or raise if none is.
- check_concept(type_name: TypeName) DSMConcept¶
Return the DSMConcept named type_name, or raise if none is.
- check_enumeration(type_name: TypeName) DSMEnumeration¶
Return the DSMEnumeration named type_name, or raise if none is.
- check_function_pool(uuid: ValueUUId) DSMFunctionPool¶
Return the DSMFunctionPool declared under uuid, or raise if none is.
- check_structure(type_name: TypeName) DSMStructure¶
Return the DSMStructure named type_name, or raise if none is.
- query_attachment(identifier: str) DSMAttachment | None¶
Return the DSMAttachment whose identifier is identifier, or None if none is.
- query_attachment_function_pool(uuid: ValueUUId) DSMAttachmentFunctionPool | None¶
Return the DSMAttachmentFunctionPool declared under uuid, or None if none is.
- query_club(type_name: TypeName) DSMClub | None¶
Return the DSMClub named type_name, or None if none is.
- query_concept(type_name: TypeName) DSMConcept | None¶
Return the DSMConcept named type_name, or None if none is.
- query_enumeration(type_name: TypeName) DSMEnumeration | None¶
Return the DSMEnumeration named type_name, or None if none is.
- query_function_pool(uuid: ValueUUId) DSMFunctionPool | None¶
Return the DSMFunctionPool declared under uuid, or None if none is.
- query_structure(type_name: TypeName) DSMStructure | None¶
Return the DSMStructure named type_name, or None if none is.