code: def _add_name_mapping(self, name: str, translated_name: str, name_type: Type = None):
          
          self.local_name_mapping[name] = translated_name
          self.reverse_name_mapping[translated_name] = name
          if name_type:
              self.local_type_signatures[translated_name] = name_type
docs: Utility method to add a name and its translation to the local name mapping, and the corresponding
          signature, if available to the local type signatures. This method also updates the reverse name
          mapping.