MCPcopy Create free account
hub / github.com/dcSpark/cddl-codegen / generate

Method generate

src/generation.rs:526–1252  ·  view source on GitHub ↗

Generates, i.e. populates the state, based on `types`. this does not create any files, call export() after.

(&mut self, types: &IntermediateTypes, cli: &Cli)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

generate_to_diskFunction · 0.80
generated_stringsFunction · 0.80

Calls 15

pick_generic_nameFunction · 0.85
convert_to_snake_caseFunction · 0.85
codegen_table_typeFunction · 0.85
codegen_structFunction · 0.85
codegen_group_choicesFunction · 0.85
generate_wrapper_structFunction · 0.85
generate_intFunction · 0.85
generate_c_style_enumFunction · 0.85
encoding_fieldsFunction · 0.85
declare_modulesFunction · 0.85
emit_generated_testsFunction · 0.85

Tested by

no test coverage detected