code: def do_class(self, element, decl, pseudo):
          
          step = self.state[self.state['current_step']]
          actions = step['actions']
          strval = self.eval_string_value(element, decl.value)
          actions.append(('attrib', ('class', strval)))
docs: Implement class declaration - pre-match.