code: def disallow(nodes):
      
      def disallowed(cls):
          cls.unsupported_nodes = ()
          for node in nodes:
              new_method = _node_not_implemented(node, cls)
              name = 'visit_{node}'.format(node=node)
              cls.unsupported_nodes += (name,)
              setattr(cls, name, new_method)
          return cls
      return disallowed
docs: Decorator to disallow certain nodes from parsing. Raises a
      NotImplementedError instead.
  
      Returns
      -------
      disallowed : callable