original_docstring: Tries to find the entry at the path described in the parts list.
          Loads new cat files if needed in order to resolve the path.
          Returns None if the path cannot be resolved.
  
          Arguments:
          parts: list of path compoentns describing the path to find.
                 E.g. to find the directory 'assets/props/Engines/engine.xml' pass
                      ['assets', 'props', 'Engines', 'engine.xml'] as this
                      argument.
  
          Returns:
          owner, entry
          owner: CatFileLoader owning the returned entry
          entry: DirNode|CatEntry|CatFileLoader
          
docstring: Tries to find the entry at the path described in the parts list.
  Loads new cat files if needed in order to resolve the path.
  Returns None if the path cannot be resolved.
  
  list of path compoentns describing the path to find.
  
  
docstring_tokens: Tries to find the entry at the path described in the parts list . Loads new cat files if needed in order to resolve the path . Returns None if the path cannot be resolved . list of path compoentns describing the path to find .
code: def _find_entry(self, parts):
          """Tries to find the entry at the path described in the parts list.
          Loads new cat files if needed in order to resolve the path.
          Returns None if the path cannot be resolved.
  
          Arguments:
          parts: list of path compoentns describing the path to find.
                 E.g. to find the directory 'assets/props/Engines/engine.xml' pass
                      ['assets', 'props', 'Engines', 'engine.xml'] as this
                      argument.
  
          Returns:
          owner, entry
          owner: CatFileLoader owning the returned entry
          entry: DirNode|CatEntry|CatFileLoader
          """
          k = self.file_tree
  
          while parts:
              if isinstance(k, CatEntry):
                  # A file cannot contain other files
                  return None, None
  
              if isinstance(k, CatFileLoader):
                  # delegate the rest of the search to this fie loader
                  return k._find_entry(parts)
  
              if isinstance(k, DirNode):
                  part = parts.pop(0)
                  knext = k.children.get(part)
  
                  # load new .cat file and retry until the directory is found or
                  # no new .cat file can be loaded.
                  while not knext and self._load_next_cat_file():
                      knext = k.children.get(part)
  
                  if not knext:
                      return None, None
  
                  k = knext
                  continue
  
              raise ValueError('Unexpected node type {}'.format(type(k)))
  
          return self, k
code_tokens: def _find_entry ( self , parts ) : k = self . file_tree while parts : if isinstance ( k , CatEntry ) : return None , None if isinstance ( k , CatFileLoader ) : return k . _find_entry ( parts ) if isinstance ( k , DirNode ) : part = parts . pop ( 0 ) knext = k . children . get ( part ) while not knext and self . _load_next_cat_file ( ) : knext = k . children . get ( part ) if not knext : return None , None k = knext continue raise ValueError ( 'Unexpected node type {}' . format ( type ( k ) ) ) return self , k
short_docstring: Tries to find the entry at the path described in the parts list.
short_docstring_tokens: Tries to find the entry at the path described in the parts list .
comment: """Tries to find the entry at the path described in the parts list.
          Loads new cat files if needed in order to resolve the path.
          Returns None if the path cannot be resolved.
  
          Arguments:
          parts: list of path compoentns describing the path to find.
                 E.g. to find the directory 'assets/props/Engines/engine.xml' pass
                      ['assets', 'props', 'Engines', 'engine.xml'] as this
                      argument.
  
          Returns:
          owner, entry
          owner: CatFileLoader owning the returned entry
          entry: DirNode|CatEntry|CatFileLoader
          """$SEP$# A file cannot contain other files$SEP$# delegate the rest of the search to this fie loader$SEP$# load new .cat file and retry until the directory is found or$SEP$# no new .cat file can be loaded.