'Requires:
line --line to parse
Returns:
nothing.
Logic:
The last token found was "{". This method determines what group
you are now in.
WARNING: this could cause problems. If no group is found, the state will remain
unsure_ob, which means no other text will be parsed.'

def __after_bracket_func(self, line):

    if (self.__token_info == 'cw<ls<level-text'):
        self.__state = 'level_text'
        self.__level_text_ob_count = self.__ob_count
    elif (self.__token_info == 'cw<ls<level-numb'):
        self.__level_number_ob_count = self.__ob_count
        self.__state = 'level_number'
    elif (self.__token_info == 'cw<ls<list-tb-le'):
        self.__found_level_func(line)
    elif (self.__token_info == 'cw<ls<list-in-tb'):
        self.__found_list_func(line)
    elif (self.__token_info == 'cw<ls<list-name_'):
        self.__state = 'list_name'
        self.__list_name_ob_count = self.__ob_count
    elif (self.__run_level > 3):
        msg = 'No    matching    token    after    open    bracket\n'
        msg += ('token    is    "%s\n"' % line)
        raise self.__bug_handler
