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

Method definite_info

src/intermediate.rs:1512–1545  ·  view source on GitHub ↗

See comment in RustStruct::definite_info(), this is the same, returns a string expression which evaluates to the length. self_expr is an expression that evaluates to this RustType (e.g. member, etc) at the point where the return of this function will be used. self_is_ref whether the above expression is by-ref

(
        &self,
        self_expr: &str,
        self_is_ref: bool,
        types: &IntermediateTypes,
        cli: &Cli,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

codegen_structFunction · 0.80
generate_enumFunction · 0.80

Calls 5

expanded_field_countMethod · 0.80
resolve_alias_shallowMethod · 0.80
is_plain_groupMethod · 0.80
fixed_field_countMethod · 0.80
is_fixed_valueMethod · 0.80

Tested by

no test coverage detected