'After a cw either add next allowed cw to temporary list or
change groupe and write it.
If the token leading to an exit is an open bracket go to
ignore otherwise goto in body'

def __after_control_word_func(self, line):

    if (self.__token_info in self.__accept):
        self.__temp_group.append(line)
    else:
        self.__change_permanent_group()
        self.__write_group()
        self.__write_obj.write(line)
        if (self.__token_info == 'ob<nu<open-brack'):
            self.__state = 'in_ignore'
            self.__ignore_count = self.__ob_count
        else:
            self.__state = 'in_body'
