Searched refs:CodeGenerator (Results 1 – 2 of 2) sorted by relevance
/zcbor-3.7.0/ |
D | ARCHITECTURE.md | 19 4. CodeGenerator (inherits from CddlXcoder) 90 …r inherits from CddlParser, and provides common functionality for DataTranslator and CodeGenerator. 140 CodeGenerator section in Architecture of the Python script 143 CodeGenerator, like DataTranslator, inherits from CddlXcoder. 147 CodeGenerator contains optimizations to reduce both the verbosity of the code and the level of indi… 149 … is predetermined, like in `Foo = 5`), the code will validate it, but CodeGenerator won't include … 154 A CodeGenerator object operates in one of two modes: `"encode"` or `"decode"`. 164 When invoking CodeGenerator, the user must decide which types it will need direct access to decode/… 175 CodeRenderer is a standalone class that takes the result of the CodeGenerator class and constructs … 182 …ucts some pruning and deduplication of the list of types and functions received from CodeGenerator.
|
/zcbor-3.7.0/zcbor/ |
D | zcbor.py | 1758 class CodeGenerator(CddlXcoder): class 1760 super(CodeGenerator, self).__init__(*args, **kwargs) 1767 cddl_res = super(CodeGenerator, cddl_class).from_cddl(*args, **kwargs) 3040 cddl_res[mode] = CodeGenerator.from_cddl(
|