parse_import_references

Function parse_import_references 

Source
pub fn parse_import_references(import_text: &str) -> Vec<ImportReference>
Expand description

Parse one Rust, JavaScript/TypeScript, or Python import statement.

Malformed and unsupported forms return no references instead of inventing identities from the complete display statement.