code: def add_generator_action(self, action):
          
          if not isinstance(action, GeneratorAction):
              raise RuntimeError('Can not add a none GeneratorAction object.')
  
          self.__generator_actions.append(action)
docs: Attach/add one :class:`GeneratorAction`.
  
          Warning:
              The order in which you add :class:`GeneratorAction` objects **is** important in case of conflicting :class:`GeneratorAction` objects:
              **only** the **first compatible** :class:`GeneratorAction` object will be used to generate the (source code) files.