Skip to main content

Module display

Module display 

Source
Expand description

Rendering of contracts, function signatures, and verification results.

Presentation-only helpers: contract expansion to (call, meaning) pairs, function paths with generic bounds, and grouped result trees with verdicts.

Functionsยง

dedup_compound_props ๐Ÿ”’
Drop consecutive duplicate compound-def entries: a def expands to several primitives sharing the same origin name and arguments, which should render as a single name(args) line.
emit_property_rows ๐Ÿ”’
emit_results_and_verdict ๐Ÿ”’
emit_results_counts_and_checkpoints ๐Ÿ”’
emit_verify_summary ๐Ÿ”’
fmt_contract_expanded ๐Ÿ”’
fmt_fn_path_with_bounds ๐Ÿ”’
fmt_fn_path_with_generics ๐Ÿ”’
fmt_fn_with_params ๐Ÿ”’
fmt_index_access ๐Ÿ”’
Render an IndexAccess { slice, index } into (slice_str, index_str), stripping leading &mut /& from the slice display.
fmt_meaning_template ๐Ÿ”’
Substitute {0}, {1}, {2} placeholders in a meaning template with the rendered positional arguments. Missing arguments fall back to "_".
insert_bounds_into_path ๐Ÿ”’