parameters: (root_path, patterns)
docstring: A generator function that iterates all files that matches the given patterns
      from the root_path.
docstring_summary: A generator function that iterates all files that matches the given patterns
      from the root_path.
docstring_tokens: A generator function that iterates all files that matches the given patterns from the root_path .
function: def navigate_all_files(root_path, patterns):
      """
      A generator function that iterates all files that matches the given patterns
      from the root_path.
      """
      for root, dirs, files in os.walk(root_path):
          for pattern in patterns:
              for filename in fnmatch.filter(files, pattern):
                  yield os.path.join(root, filename)
function_tokens: def navigate_all_files ( root_path , patterns ) : for root , dirs , files in os . walk ( root_path ) : for pattern in patterns : for filename in fnmatch . filter ( files , pattern ) : yield os . path . join ( root , filename )