'Required:
line
Returns:
nothing.
Logic:
Check the line info in the state dictionary. When the beginning of
the styles table is found, change the state to in the styles
table.'

def __before_styles_func(self, line):

    action = self.__state_dict.get(self.__token_info)
    if (not action):
        self.__write_obj.write(line)
    else:
        action(line)
