Searched refs:my_types (Results 1 – 3 of 3) sorted by relevance
/zcbor-latest/zcbor/ |
D | zcbor.py | 217 def __init__(self, default_max_qty, my_types, my_control_groups, base_name=None, argument 259 self.my_types = my_types 272 my_types = dict() 277 my_types = \ 285 parsed = cddl_class(*args, default_max_qty, my_types, my_control_groups, **kwargs, 289 if my_type in my_types: 290 my_types[my_type] = parsed 297 for my_type in my_types: 298 my_types[my_type].set_id_prefix() 299 my_types[my_type].post_validate() [all …]
|
/zcbor-latest/tests/scripts/ |
D | test_zcbor.py | 68 self.my_types = zcbor.DataTranslator.from_cddl(cddl_str, 16).my_types 69 cddl = self.my_types["SUIT_Envelope_Tagged"] 680 cddl = cddl_res.my_types['cfg'] 694 cddl = cddl_res.my_types['Simples'] 708 cddl = cddl_res.my_types['Floats'] 736 cddl = cddl_res.my_types['Intmax1'] 743 cddl = cddl_res.my_types['Intmax2'] 771 cddl = cddl_res.my_types['InvalidIdentifiers']
|
/zcbor-latest/ |
D | ARCHITECTURE.md | 78 There is a member called `self.my_types`, which is a dict of all the types defined in the CDDL file. 80 `"OTHER"` objects will look into `self.my_types[self.value]` to find its own definition.
|