parameters: (self, pattern)
docstring: Actual implementation of JarFinder.find(), dispatching to specialized
          member functions depending on what kind of pattern was given.
docstring_summary: Actual implementation of JarFinder.find(), dispatching to specialized
          member functions depending on what kind of pattern was given.
docstring_tokens: Actual implementation of JarFinder . find () dispatching to specialized member functions depending on what kind of pattern was given .
function: def _find(self, pattern):
          '''
          Actual implementation of JarFinder.find(), dispatching to specialized
          member functions depending on what kind of pattern was given.
          '''
          if '*' in pattern:
              for p in self._files:
                  if mozpack.path.match(p, pattern):
                      yield p, DeflatedFile(self._files[p])
          elif pattern == '':
              for p in self._files:
                  yield p, DeflatedFile(self._files[p])
          elif pattern in self._files:
              yield pattern, DeflatedFile(self._files[pattern])
          else:
              for p in self._files:
                  if mozpack.path.basedir(p, [pattern]) == pattern:
                      yield p, DeflatedFile(self._files[p])
function_tokens: def _find ( self , pattern ) : if '*' in pattern : for p in self . _files : if mozpack . path . match ( p , pattern ) : yield p , DeflatedFile ( self . _files [ p ] ) elif pattern == '' : for p in self . _files : yield p , DeflatedFile ( self . _files [ p ] ) elif pattern in self . _files : yield pattern , DeflatedFile ( self . _files [ pattern ] ) else : for p in self . _files : if mozpack . path . basedir ( p , [ pattern ] ) == pattern : yield p , DeflatedFile ( self . _files [ p ] )