parameters: (factory, filep)
return_statement: return entities
docstring: Parses the input file and returns C code and corresponding header file.
docstring_summary: Parses the input file and returns C code and corresponding header file.
docstring_tokens: Parses the input file and returns C code and corresponding header file .
function: def Parse(factory, filep):
      """
      Parses the input file and returns C code and corresponding header file.
      """
  
      entities = []
  
      while 1:
          # Just gets the whole struct nicely formatted
          data = GetNextStruct(filep)
  
          if not data:
              break
  
          entities.extend(ProcessStruct(factory, data))
  
      return entities
function_tokens: def Parse ( factory , filep ) : entities = [ ] while 1 : # Just gets the whole struct nicely formatted data = GetNextStruct ( filep ) if not data : break entities . extend ( ProcessStruct ( factory , data ) ) return entities