'Handle lines that are part of the list text. If the end of the list
text is found (the closing bracket matches the self.__list_text_ob),
then change  the state. Always add the line to the self.__list_chunk
Required:
self, line
Returns:
Nothing'

def __list_text_func(self, line):

    if (self.__list_text_ob == self.__cb_count):
        self.__state = 'after_list_text'
        self.__right_after_list_text = 1
        self.__list_type = self.__determine_list_type(self.__list_chunk)
        self.__write_obj.write(('mi<mk<list-type_<%s\n' % self.__list_type))
    if (self.__token_info != 'cw<pf<par-def___'):
        self.__list_chunk = (self.__list_chunk + line)
