'Requires:
line--line of text
Returns:
nothing
Logic:'

def __set_list_func(self, line):

    if (self.__place == 'in_list'):
        if (self.__token_info == 'mi<mk<lst-tx-end'):
            self.__place = 'not_in_list'
            self.__inline_list = self.__body_inline_list
            self.__groups_in_waiting = self.__groups_in_waiting_body
    elif (self.__token_info == 'mi<mk<lst-tx-beg'):
        self.__place = 'in_list'
        self.__inline_list = self.__list_inline_list
        self.__groups_in_waiting = self.__groups_in_waiting_list
