Skip to main content

own_declaration_name

Function own_declaration_name 

Source
pub fn own_declaration_name(source: &str) -> Option<(String, Span)>
Expand description

#302: the source’s own declared qualified name and its span — the rewrite target when the file backing this unit is renamed. None for a suite (its SourceUnit::name() is its target’s name, not one of its own; nothing else addresses a suite by name) or on a parse bail.