$51 GRAYBYTE WORDPRESS FILE MANAGER $15

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.217.100
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/jinja2/__pycache__/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/jinja2/__pycache__//visitor.cpython-311.pyc
�

�|oi�
���dZddlZddlmZejrddlZGd�dej��Z	Gd�d��Z
Gd	�d
e
��ZdS)zVAPI for traversing the AST nodes. Implemented by the compiler and
meta introspection.
�N�)�Nodec�D�eZdZdedejdejdejfd�ZdS)�
VisitCallable�node�args�kwargs�returnc��dS�N���selfrrr	s    �E/opt/cloudlinux/venv/lib64/python3.11/site-packages/jinja2/visitor.py�__call__zVisitCallable.__call__s���C�N)�__name__�
__module__�__qualname__r�t�Anyrr
rrrrsJ������	��	�a�e�	�q�u�	���	�	�	�	�	�	rrc��eZdZdZdeddfd�Zdedejdejdejfd�Zdedejdejdejfd	�Z	d
S)�NodeVisitoraWalks the abstract syntax tree and call visitor functions for every
    node found.  The visitor functions may return values which will be
    forwarded by the `visit` method.

    Per default the visitor functions for the nodes are ``'visit_'`` +
    class name of the node.  So a `TryFinally` node visit function would
    be `visit_TryFinally`.  This behavior can be changed by overriding
    the `get_visitor` function.  If no visitor function exists for a node
    (return value `None`) the `generic_visit` visitor is used instead.
    rr
zt.Optional[VisitCallable]c�N�t|dt|��j��d��S)z�Return the visitor function for this node or `None` if no visitor
        exists for this node.  In that case the generic visit function is
        used instead.
        �visit_N)�getattr�typer)rrs  r�get_visitorzNodeVisitor.get_visitors(��
�t�;�d�4�j�j�&9�;�;�T�B�B�Brrr	c�j�|�|��}|�||g|�Ri|��S|j|g|�Ri|��S)z
Visit a node.)r�
generic_visit)rrrr	�fs     r�visitzNodeVisitor.visit#s]�����T�"�"���=��1�T�+�D�+�+�+�F�+�+�+�!�t�!�$�8��8�8�8��8�8�8rc�V�|���D]}|j|g|�Ri|���dS)z9Called if no explicit visitor function exists for a node.N)�iter_child_nodesr"rs    rr zNodeVisitor.generic_visit,sL���)�)�+�+�	.�	.�D��D�J�t�-�d�-�-�-�f�-�-�-�-�	.�	.rN)
rrr�__doc__rrrrr"r r
rrrrs�������	�	�C��C�)D�C�C�C�C�9�$�9�q�u�9���9�!�%�9�9�9�9�.�$�.�q�u�.���.�!�%�.�.�.�.�.�.rrc	��eZdZdZdedejdejdefd�Zdedejdejdejefd�Z	dS)	�NodeTransformera�Walks the abstract syntax tree and allows modifications of nodes.

    The `NodeTransformer` will walk the AST and use the return value of the
    visitor functions to replace or remove the old node.  If the return
    value of the visitor function is `None` the node will be removed
    from the previous location otherwise it's replaced with the return
    value.  The return value may be the original node in which case no
    replacement takes place.
    rrr	r
c���|���D]�\}}t|t��rxg}|D]k}t|t��r?|j|g|�Ri|��}|��+t|t��s|�|���V|�|���l||dd�<��t|t��r5|j|g|�Ri|��}|�t||����t|||����|Sr)	�iter_fields�
isinstance�listrr"�extend�append�delattr�setattr)	rrrr	�field�	old_value�
new_values�value�new_nodes	         rr zNodeTransformer.generic_visit=s6�� $� 0� 0� 2� 2�	3�	3��E�9��)�T�*�*�
3��
�&�-�-�E�!�%��.�.�%� *��
�5� B�4� B� B� B�6� B� B�� �=�$�!+�E�4�!8�!8�%�&�-�-�e�4�4�4�$��%�%�e�,�,�,�,�)�	�!�!�!����I�t�,�,�
3�%�4�:�i�A�$�A�A�A�&�A�A���#��D�%�(�(�(�(��D�%��2�2�2���rc�X�|j|g|�Ri|��}t|t��s|gS|S)z{As transformers may return lists in some places this method
        can be used to enforce a list as return value.
        )r"r*r+)rrrr	�rvs     r�
visit_listzNodeTransformer.visit_listSsC���T�Z��
.�t�
.�
.�
.�v�
.�
.���"�d�#�#�	��4�K��	rN)
rrrr%rrrr �Listr7r
rrr'r'2s����������$��q�u�����$�����,	�t�	�A�E�	�Q�U�	�q�v�d�|�	�	�	�	�	�	rr')r%�typingr�nodesr�
TYPE_CHECKING�typing_extensions�te�Protocolrrr'r
rr�<module>r?s����������������?��"�"�"�"�����������
.�.�.�.�.�.�.�.�D*�*�*�*�*�k�*�*�*�*�*r


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.cpython-311.pyc
2.485 KB
11 Feb 2026 9.30 AM
root / root
0644
_identifier.cpython-311.pyc
1.899 KB
11 Feb 2026 9.30 AM
root / root
0644
async_utils.cpython-311.pyc
4.095 KB
11 Feb 2026 9.30 AM
root / root
0644
bccache.cpython-311.pyc
19.222 KB
11 Feb 2026 9.30 AM
root / root
0644
compiler.cpython-311.pyc
107.959 KB
11 Feb 2026 9.30 AM
root / root
0644
constants.cpython-311.pyc
1.537 KB
20 Jan 2026 1.01 PM
root / root
0644
debug.cpython-311.pyc
9.21 KB
20 Jan 2026 1.01 PM
root / root
0644
defaults.cpython-311.pyc
1.673 KB
11 Feb 2026 9.30 AM
root / root
0644
environment.cpython-311.pyc
78.47 KB
11 Feb 2026 9.30 AM
root / root
0644
exceptions.cpython-311.pyc
8.396 KB
11 Feb 2026 9.30 AM
root / root
0644
ext.cpython-311.pyc
43.419 KB
20 Jan 2026 1.01 PM
root / root
0644
filters.cpython-311.pyc
73.278 KB
11 Feb 2026 9.30 AM
root / root
0644
idtracking.cpython-311.pyc
19.149 KB
11 Feb 2026 9.30 AM
root / root
0644
lexer.cpython-311.pyc
34.835 KB
11 Feb 2026 9.30 AM
root / root
0644
loaders.cpython-311.pyc
32.027 KB
11 Feb 2026 9.30 AM
root / root
0644
meta.cpython-311.pyc
5.585 KB
20 Jan 2026 1.01 PM
root / root
0644
nativetypes.cpython-311.pyc
7.533 KB
20 Jan 2026 1.01 PM
root / root
0644
nodes.cpython-311.pyc
62.962 KB
11 Feb 2026 9.30 AM
root / root
0644
optimizer.cpython-311.pyc
2.776 KB
11 Feb 2026 9.30 AM
root / root
0644
parser.cpython-311.pyc
57.897 KB
11 Feb 2026 9.30 AM
root / root
0644
runtime.cpython-311.pyc
51.098 KB
11 Feb 2026 9.30 AM
root / root
0644
sandbox.cpython-311.pyc
18.396 KB
20 Jan 2026 1.01 PM
root / root
0644
tests.cpython-311.pyc
9.018 KB
11 Feb 2026 9.30 AM
root / root
0644
utils.cpython-311.pyc
40.291 KB
11 Feb 2026 9.30 AM
root / root
0644
visitor.cpython-311.pyc
5.54 KB
11 Feb 2026 9.30 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF