fn apply_rename_internal(from: Ident, to: Name, ident: Ident, table: &SCTable) -> Ident {
    if (ident.name, ident.ctxt) != (from.name, from.ctxt) {
        return ident;
    }
    let ctxt = *table.renames.borrow_mut().entry(to).or_insert_with(|| {
        SyntaxContext(idx_push(&mut *table.table.borrow_mut(), Rename(to)))
    });
    Ident { ctxt: ctxt, ..ident }
}
/// Extend a syntax context with a given rename and sctable (explicit memoization)
Extend a syntax context with a given rename and sctable (explicit memoization)
Extend a syntax context with a given rename and sctable ( explicit memoization )
fn apply_rename_internal(from: Ident, to: Name, ident: Ident, table: &SCTable) -> Ident {
    if (ident.name, ident.ctxt) != (from.name, from.ctxt) {
        return ident;
    }
    let ctxt = *table.renames.borrow_mut().entry(to).or_insert_with(|| {
        SyntaxContext(idx_push(&mut *table.table.borrow_mut(), Rename(to)))
    });
    Ident { ctxt: ctxt, ..ident }
}
fn apply_rename_internal ( from : Ident , to : Name , ident : Ident , table : & SCTable ) -> Ident { if ( ident . name , ident . ctxt ) != ( from . name , from . ctxt ) { return ident ; } let ctxt = * table . renames . borrow_mut ( ) . entry ( to ) . or_insert_with ( | | { SyntaxContext ( idx_push ( & mut * table . table . borrow_mut ( ) , Rename ( to ) ) ) } ) ; Ident { ctxt : ctxt , .. ident } }
Extend a syntax context with a given rename and sctable (explicit memoization)
Extend a syntax context with a given rename and sctable ( explicit memoization )
from
Ident
to
Name
ident
Ident
table
&SCTable
from
Ident
to
Name
ident
Ident
table
&SCTable