Function extract_namespace_alias
Source pub fn extract_namespace_alias(rest: &str) -> Option<&str>
Expand description
Extracts the local binding a namespace import introduces.
§Arguments
&str - The import clause, without its leading import keyword.
§Returns
Option<&str> - The alias, or None if the clause is not a
namespace import or carries no name.