parameters: (class_def, hierarchy)
docstring: Iterates the class to find all of their base classes
          and iterate through them
  
      Args:
          classDef: The instance of SymbolMap::Class Object whose base we are searching for
          hierachy: The current hierachy of classes to append to if we find another base
docstring_summary: Iterates the class to find all of their base classes
          and iterate through them
docstring_tokens: Iterates the class to find all of their base classes and iterate through them
function: def iter_class_base(class_def, hierarchy):
      """ Iterates the class to find all of their base classes
          and iterate through them
  
      Args:
          classDef: The instance of SymbolMap::Class Object whose base we are searching for
          hierachy: The current hierachy of classes to append to if we find another base
      """
  
      if class_def is None or hasattr(class_def, 'name') is False:
          return False
  
      base = class_def.base
  
      if base is None:
          return False
      else:
          new_tree = g_symbolMap.find_class(base)
          # add to hierarchy if it continues
          if iter_class_base(new_tree, hierarchy) is not False:
              hierarchy.append(new_tree)
function_tokens: def iter_class_base ( class_def , hierarchy ) : if class_def is None or hasattr ( class_def , 'name' ) is False : return False base = class_def . base if base is None : return False else : new_tree = g_symbolMap . find_class ( base ) # add to hierarchy if it continues if iter_class_base ( new_tree , hierarchy ) is not False : hierarchy . append ( new_tree )