def to_dict(self, delimiter=DEFAULT_DELIMITER, dict_type=collections.OrderedDict):
root_key = self.sections()[<NUM_LIT:0>]<EOL>return self._build_dict(<EOL>self._sections, delimiter=delimiter, dict_type=dict_type<EOL>).get(root_key, {})<EOL>
Get the dictionary representation of the current parser.

        :param str delimiter: The delimiter used for nested dictionaries,
            defaults to ":", optional
        :param class dict_type: The dictionary type to use for building the dictionary
            reperesentation, defaults to collections.OrderedDict, optional
        :return: The dictionary representation of the parser instance
        :rtype: dict