parameters: (self, structs)
return_statement: return
docstring: Parse the structures defined in the JSON file. The order here matters:
  
             * vftables must be parsed before methods because vftables contain additional methods
docstring_summary: Parse the structures defined in the JSON file. The order here matters:
docstring_tokens: Parse the structures defined in the JSON file . The order here matters :
function: def __parse_structs(self, structs):
          '''
          Parse the structures defined in the JSON file. The order here matters:
  
             * vftables must be parsed before methods because vftables contain additional methods
          '''
          self.__parse_results["NumClasses"] = len(structs)
  
          for s in structs.values ():
              # use the ID of the current struct, if it exists
              c = PyClassStructure(s)
  
              #  The class must be created for members to work
              self.__classes.append(c)
  
              print("Found class %s" % c.ida_name)
  
          for s in structs.values ():
              # Now fill out the structures
              for c in self.__classes:
                  if c.name == s['name']:
  
                      cid = ida_struct.get_struc_id(c.ida_name)
                      if cid != idaapi.BADADDR:
                          c.id = cid
  
                      self.__parse_methods(c, s['methods'])
                      self.__parse_vftables(c, s['vftables'])
                      self.__parse_members(c, s['members'])
  
          # this point each class structure is loaded
          self.__classes_found = True
  
          return
function_tokens: def __parse_structs ( self , structs ) : self . __parse_results [ "NumClasses" ] = len ( structs ) for s in structs . values ( ) : # use the ID of the current struct, if it exists c = PyClassStructure ( s ) #  The class must be created for members to work self . __classes . append ( c ) print ( "Found class %s" % c . ida_name ) for s in structs . values ( ) : # Now fill out the structures for c in self . __classes : if c . name == s [ 'name' ] : cid = ida_struct . get_struc_id ( c . ida_name ) if cid != idaapi . BADADDR : c . id = cid self . __parse_methods ( c , s [ 'methods' ] ) self . __parse_vftables ( c , s [ 'vftables' ] ) self . __parse_members ( c , s [ 'members' ] ) # this point each class structure is loaded self . __classes_found = True return