Skip to main content

continuation_parent

Function continuation_parent 

Source
fn continuation_parent(
    gcx: Gcx<'_>,
    all_items: &[NatSpecItem],
    item: &NatSpecItem,
) -> Option<Option<Span>>
Expand description

Returns the original tagged parent of a synthetic line-comment notice. The outer Option distinguishes a continuation from a standalone untagged notice; the inner value is None when Solar’s resolved view omitted the parent because a local section replaced it.