Skip to main content

strip_node_scope

Function strip_node_scope 

Source
pub fn strip_node_scope(identifier: &str) -> &str
Expand description

Strip a @scope/name node identifier down to its bare short name. Plain (already-short) identifiers pass through unchanged.