parameters: (self, depth = 0)
return_statement: return False
docstring: Mark the class as 'cocos2d::Ref' or its subclass.
docstring_summary: Mark the class as 'cocos2d::Ref' or its subclass.
docstring_tokens: Mark the class as cocos2d :: Ref or its subclass .
function: def _is_ref_class(self, depth = 0):
          """
          Mark the class as 'cocos2d::Ref' or its subclass.
          """
          # print ">" * (depth + 1) + " " + self.class_name
  
          if len(self.parents) > 0:
              return self.parents[0]._is_ref_class(depth + 1)
  
          if self.is_ref_class:
              return True
  
          return False
function_tokens: def _is_ref_class ( self , depth = 0 ) : # print ">" * (depth + 1) + " " + self.class_name if len ( self . parents ) > 0 : return self . parents [ 0 ] . _is_ref_class ( depth + 1 ) if self . is_ref_class : return True return False