parameters: (nodes)
return_statement: return disallowed
docstring: Decorator to disallow certain nodes from parsing. Raises a
      NotImplementedError instead.
  
      Returns
      -------
      disallowed : callable
docstring_summary: Decorator to disallow certain nodes from parsing. Raises a
      NotImplementedError instead.
docstring_tokens: Decorator to disallow certain nodes from parsing . Raises a NotImplementedError instead .
function: def disallow(nodes):
      """Decorator to disallow certain nodes from parsing. Raises a
      NotImplementedError instead.
  
      Returns
      -------
      disallowed : callable
      """
  
      def disallowed(cls):
          cls.unsupported_nodes = ()
          for node in nodes:
              new_method = _node_not_implemented(node, cls)
              name = f"visit_{node}"
              cls.unsupported_nodes += (name,)
              setattr(cls, name, new_method)
          return cls
  
      return disallowed
function_tokens: def disallow ( nodes ) : def disallowed ( cls ) : cls . unsupported_nodes = ( ) for node in nodes : new_method = _node_not_implemented ( node , cls ) name = f"visit_{node}" cls . unsupported_nodes += ( name , ) setattr ( cls , name , new_method ) return cls return disallowed