parameters: (feat)
return_statement: return list_of_deps
docstring: getAllDependencies(feat): gets all features feat depends on, directly or indirectly. 
      Returns a list, with deepest dependencies last. feat is not included in the list, except 
      if the feature depends on itself (dependency loop).
docstring_summary: getAllDependencies(feat): gets all features feat depends on, directly or indirectly. 
      Returns a list, with deepest dependencies last. feat is not included in the list, except 
      if the feature depends on itself (dependency loop).
docstring_tokens: getAllDependencies ( feat ) : gets all features feat depends on directly or indirectly . Returns a list with deepest dependencies last . feat is not included in the list except if the feature depends on itself ( dependency loop ) .
function: def getAllDependencies(feat):
      '''getAllDependencies(feat): gets all features feat depends on, directly or indirectly. 
      Returns a list, with deepest dependencies last. feat is not included in the list, except 
      if the feature depends on itself (dependency loop).'''
      list_traversing_now = [feat]
      set_of_deps = set()
      list_of_deps = []
      
      while len(list_traversing_now) > 0:
          list_to_be_traversed_next = []
          for feat in list_traversing_now:
              for dep in feat.OutList:
                  if not (dep in set_of_deps):
                      set_of_deps.add(dep)
                      list_of_deps.append(dep)
                      list_to_be_traversed_next.append(dep)
          
          list_traversing_now = list_to_be_traversed_next
      
      return list_of_deps
function_tokens: def getAllDependencies ( feat ) : list_traversing_now = [ feat ] set_of_deps = set ( ) list_of_deps = [ ] while len ( list_traversing_now ) > 0 : list_to_be_traversed_next = [ ] for feat in list_traversing_now : for dep in feat . OutList : if not ( dep in set_of_deps ) : set_of_deps . add ( dep ) list_of_deps . append ( dep ) list_to_be_traversed_next . append ( dep ) list_traversing_now = list_to_be_traversed_next return list_of_deps