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

Method add_conversion_methods

src/generation.rs:4357–4392  ·  view source on GitHub ↗

native_name is &str since we need to possibly prepend namespacing and where we're calling it we'd have to construct a RustType where we didn't have to before, but we already had the string.

(&mut self, native_name: &str, cli: &Cli)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

generate_array_typeMethod · 0.80
create_base_wasm_wrapperFunction · 0.80
codegen_table_typeFunction · 0.80

Calls 2

pushMethod · 0.80
lineMethod · 0.80

Tested by

no test coverage detected