'Main gateway into parsing the data. Will retrieve all necessary data elements.'

def parse_for_data(self):

    data = []
    functions = []
    for function_section in self.function_sections:
        function = self.parse_for_function_name(function_section[0])
        if function:
            method_signature = self.parse_for_method_signature(function_section[0])
            description = self.parse_for_description(function_section[1])
            anchor = self.parse_for_anchor(function_section[0])
            example = self.parse_for_example(function_section[0])
            parameter = self.parse_for_parameters(function_section[0])
            abstract = ((('<p>' + description) + '</p>') + method_signature)
            if example:
                abstract = (abstract + example)
            if parameter:
                abstract = ('%s%s' % (abstract, parameter))
            abstract = (('<section    class="prog__container">' + abstract) + '</section>')
            url = self.create_url(anchor)
            if (function in functions):
                index = functions.index(function)
                data_elements = data[index]
                data_elements['abstract'] += abstract
            else:
                functions.append(function)
                data_elements = {'function': function, 'abstract': abstract, 'url': url}
                data.append(data_elements)
    self.parsed_data = data
