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

Method mark_source_rule_name

src/intermediate.rs:862–864  ·  view source on GitHub ↗

Record the original CDDL source name for a top-level rule's `RustIdent`. Called once per parsed rule (`api::with_types`), before camel-casing has erased the source spelling.

(&mut self, ident: RustIdent, source_name: String)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

with_typesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected