code: def pre_ref_resolution_callback(self, other_model):
          
          # print("PRE-CALLBACK{}".format(filename))
          filename = other_model._tx_filename
          assert (filename)
          other_model._tx_model_repository = \
              GlobalModelRepository(self.all_models)
          self.all_models.filename_to_model[filename] = other_model
docs: (internal: used to store a model after parsing into the repository)
  
          Args:
              other_model: the parsed model
  
          Returns:
              nothing