original_docstring: 
          Build a container used to resolve long path names. Set annotations for all identifiers.
  
          Every name's Annotation must be loaded initially. Later the name's value can be provided
          in the case of variables or functions.
  
          ``{"name1.name2": annotation}`` becomes ``{"name1": {"name2": annotation}}``.
  
          :param names: A dictionary of {"name1.name1....": Referent, ...} items.
          
docstring: Build a container used to resolve long path names. Set annotations for all identifiers.
  Every name's Annotation must be loaded initially. Later the name's value can be provided
  in the case of variables or functions.
  
  
docstring_tokens: Build a container used to resolve long path names . Set annotations for all identifiers . Every name ' s Annotation must be loaded initially . Later the name ' s value can be provided in the case of variables or functions .
code: def load_mapping(self, names: Mapping[str, Referent]) -> None:
          """
          Build a container used to resolve long path names. Set annotations for all identifiers.
  
          Every name's Annotation must be loaded initially. Later the name's value can be provided
          in the case of variables or functions.
  
          ``{"name1.name2": annotation}`` becomes ``{"name1": {"name2": annotation}}``.
  
          :param names: A dictionary of {"name1.name1....": Referent, ...} items.
          """
  
          for name, refers_to in names.items():
              self.logger.info(f"load_mapping {name!r} : {refers_to!r}")
              if not self.extended_name_path.match(name):
                  raise ValueError(f"Invalid name {name}")
  
              # Expand "name1.name2...." into ["name1", "name2", ...]
              name_path = self.ident_pat.findall(name)
  
              # Create nested Referent(s) with the names leading to the target Referent.
              # V1: top_mapping only has a single name: value pair in it.
              top_mapping = NameContainer.make_nested_ident(refers_to, name_path)
              top_name, top_ident = list(top_mapping.items())[0]
  
              # V2: don't emit the mapping,
              # top_name, top_ident = NameContainer.make_nested_ident(refers_to, name_path)
  
              # Merge the namespaces into this NameContainer, sharing common elements.
              # i.e., "A.B" and "A.C" both share a common "A".
              # V1: NameContainer.merge_ident(self, top_mapping)
              NameContainer.merge_ident(self, top_name, top_ident)
code_tokens: def load_mapping ( self , names : Mapping [ str , Referent ] ) -> None : for name , refers_to in names . items ( ) : self . logger . info ( f"load_mapping {name!r} : {refers_to!r}" ) if not self . extended_name_path . match ( name ) : raise ValueError ( f"Invalid name {name}" ) name_path = self . ident_pat . findall ( name ) top_mapping = NameContainer . make_nested_ident ( refers_to , name_path ) top_name , top_ident = list ( top_mapping . items ( ) ) [ 0 ] NameContainer . merge_ident ( self , top_name , top_ident )
short_docstring: Build a container used to resolve long path names.
short_docstring_tokens: Build a container used to resolve long path names .
comment: """
          Build a container used to resolve long path names. Set annotations for all identifiers.
  
          Every name's Annotation must be loaded initially. Later the name's value can be provided
          in the case of variables or functions.
  
          ``{"name1.name2": annotation}`` becomes ``{"name1": {"name2": annotation}}``.
  
          :param names: A dictionary of {"name1.name1....": Referent, ...} items.
          """$SEP$# Expand "name1.name2...." into ["name1", "name2", ...]$SEP$# Create nested Referent(s) with the names leading to the target Referent.$SEP$# V1: top_mapping only has a single name: value pair in it.$SEP$# V2: don't emit the mapping,$SEP$# top_name, top_ident = NameContainer.make_nested_ident(refers_to, name_path)$SEP$# Merge the namespaces into this NameContainer, sharing common elements.$SEP$# i.e., "A.B" and "A.C" both share a common "A".$SEP$# V1: NameContainer.merge_ident(self, top_mapping)