pub fn add_member_alias(
        &mut self,
        alias: Name,
        ident: ModuleIdent,
        member: Name,
    ) -> Result<(), Loc> {
        let result = self.remove_member_alias_(&alias);
        self.members
            .add(alias, ((ident, member), /* is_implicit */ false))
            .unwrap();
        result
    }
/// Adds a member alias to the map.
/// Errors if one already bound for that alias
Adds a member alias to the map.
Errors if one already bound for that alias
Adds a member alias to the map . Errors if one already bound for that alias
pub fn add_member_alias(
        &mut self,
        alias: Name,
        ident: ModuleIdent,
        member: Name,
    ) -> Result<(), Loc> {
        let result = self.remove_member_alias_(&alias);
        self.members
            .add(alias, ((ident, member), /* is_implicit */ false))
            .unwrap();
        result
    }
pub fn add_member_alias ( & mut self , alias : Name , ident : ModuleIdent , member : Name , ) -> Result < ( ) , Loc > { let result = self . remove_member_alias_ ( & alias ) ; self . members . add ( alias , ( ( ident , member ) , /* is_implicit */ false ) ) . unwrap ( ) ; result }
Adds a member alias to the map.
Adds a member alias to the map .
&mut self
alias
Name
ident
ModuleIdent
member
Name