Function naga_oil::compose::parse_imports::substitute_identifiers
source · pub fn substitute_identifiers(
input: &str,
offset: usize,
declared_imports: &IndexMap<String, Vec<String>>,
used_imports: &mut IndexMap<String, ImportDefWithOffset>,
allow_ambiguous: bool
) -> Result<String, usize>