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

Function codegen_group_choices

src/generation.rs:6958–7112  ·  view source on GitHub ↗
(
    gen_scope: &mut GenerationScope,
    types: &IntermediateTypes,
    name: &RustIdent,
    variants: &[EnumVariant],
    rep: Representation,
    tag: Option<usize>,
    config: &RustStructConfig

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generateMethod · 0.85

Calls 14

generate_enumFunction · 0.85
create_base_wasm_wrapperFunction · 0.85
convert_to_snake_caseFunction · 0.85
add_wasm_enum_gettersFunction · 0.85
resolve_alias_shallowMethod · 0.80
variantMethod · 0.80
rust_structMethod · 0.80
is_fixed_valueMethod · 0.80
lineMethod · 0.80
to_embedded_rust_typeMethod · 0.80
for_wasm_paramMethod · 0.80

Tested by

no test coverage detected