DSMTypeMap

class dsviper.DSMTypeMap

Bases: DSMType

The map<key_type, element_type> as a parsed model declares it.

Both are other declared types, so the leaves are names. Definitions holds the registered TypeMap those names stand for.

Note: Not directly instantiable.

element_type() → DSMType

Return the type of the element.

key_type() → DSMType

Return the type of the key.