Skip to main content

summarize

Function summarize 

Source
pub fn summarize(ctx: &FileContext) -> ContextSummary
Expand description

Project a full FileContext into a serde-serializable summary.

The summary is lossy (signatures rendered as strings, private fns dropped, type bodies reduced to field/variant names). It’s designed for JSON emission — playground Context panel, future LSP metadata.