
    4<Wo                     "     G d  de           ZdS )c                       e Zd ZdZd ZdS )VisitorzBase class for visitors.c                 J   t          |t                    r|                                }n!t          |                                          }|D ]*}t          | d|j        z   d          }| ||          c S t          d                    |j        j                            )a"  Visit a node.

        Calls ``visit_CLASSNAME`` on itself passing ``node``, where
        ``CLASSNAME`` is the node's class. If the visitor does not implement an
        appropriate visitation method, will go up the
        `MRO <https://www.python.org/download/releases/2.3/mro/>`_ until a
        match is found.

        If the search exhausts all classes of node, raises a
        :class:`~exceptions.NotImplementedError`.

        :param node: The node to visit.
        :return: The return value of the called visitation function.
        visit_NzNo visitation method visit_{})
isinstancetypemrogetattr__name__NotImplementedErrorformat	__class__)selfnoder   clsmeths        U/var/www/book.euthymeo.com/html/venv/lib/python3.11/site-packages/visitor/__init__.pyvisitzVisitor.visit   s     dD!! 	#((**CCt**..""C 	 	C4CL!8$??D|4::!"A#)6$.*A#B#BD D 	D    N)r
   
__module____qualname____doc__r    r   r   r   r      s.        ""D D D D Dr   r   N)objectr   r   r   r   <module>r      sC   ,D D D D Df D D D D Dr   