$14 GRAYBYTE WORDPRESS FILE MANAGER $34

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

/opt/alt/python37/lib/python3.7/site-packages/jinja2/__pycache__/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/jinja2/__pycache__//visitor.cpython-37.opt-1.pyc
B

�:�`�
�@sZdZddlZddlmZejr8ddlZGdd�dej�Z	Gdd�d�Z
Gd	d
�d
e
�ZdS)zVAPI for traversing the AST nodes. Implemented by the compiler and
meta introspection.
�N�)�Nodec@s&eZdZeejejejd�dd�ZdS)�
VisitCallable)�node�args�kwargs�returncOsdS)N�)�selfrrrr	r	�?/opt/alt/python37/lib/python3.7/site-packages/jinja2/visitor.py�__call__szVisitCallable.__call__N)�__name__�
__module__�__qualname__r�t�Anyrr	r	r	rrsrc@sTeZdZdZedd�dd�Zeejejejd�dd�Zeejejejd�d	d
�Z	dS)�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.
    zt.Optional[VisitCallable])rrcCst|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.
        Zvisit_N)�getattr�typer
)r
rr	r	r�get_visitorszNodeVisitor.get_visitor)rrrrcOs4|�|�}|dk	r"||f|�|�S|j|f|�|�S)z
Visit a node.N)r�
generic_visit)r
rrr�fr	r	r�visit#s
zNodeVisitor.visitcOs(x"|��D]}|j|f|�|�q
WdS)z9Called if no explicit visitor function exists for a node.N)Ziter_child_nodesr)r
rrrr	r	rr,szNodeVisitor.generic_visitN)
r
rr�__doc__rrrrrrr	r	r	rrs
	rc@sFeZdZdZeejejed�dd�Zeejejejed�dd�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.
    )rrrrc	Os�x�|��D]�\}}t|t�r�g}xT|D]L}t|t�rh|j|f|�|�}|dkrRq&nt|t�sh|�|�q&|�|�q&W||dd�<q
t|t�r
|j|f|�|�}|dkr�t||�q
t|||�q
W|S)N)	Ziter_fields�
isinstance�listrr�extend�append�delattr�setattr)	r
rrrZfield�	old_valueZ
new_values�valueZnew_noder	r	rr=s&





zNodeTransformer.generic_visitcOs&|j|f|�|�}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.
        )rrr)r
rrr�rvr	r	r�
visit_listSs
zNodeTransformer.visit_listN)
r
rrrrrrrZListr$r	r	r	rr2s	r)r�typingrZnodesrZ
TYPE_CHECKINGZtyping_extensionsZteZProtocolrrrr	r	r	r�<module>s"


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 11.11 PM
root / linksafe
0755
__init__.cpython-37.opt-1.pyc
1.84 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
__init__.cpython-37.pyc
1.84 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
_identifier.cpython-37.opt-1.pyc
1.825 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
_identifier.cpython-37.pyc
1.825 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
async_utils.cpython-37.opt-1.pyc
2.389 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
async_utils.cpython-37.pyc
2.389 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
bccache.cpython-37.opt-1.pyc
12.802 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
bccache.cpython-37.pyc
12.802 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
compiler.cpython-37.opt-1.pyc
53.089 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
compiler.cpython-37.pyc
53.089 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
constants.cpython-37.opt-1.pyc
1.479 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
constants.cpython-37.pyc
1.479 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
debug.cpython-37.opt-1.pyc
5.204 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
debug.cpython-37.pyc
5.204 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
defaults.cpython-37.opt-1.pyc
1.282 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
defaults.cpython-37.pyc
1.282 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
environment.cpython-37.opt-1.pyc
51.229 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
environment.cpython-37.pyc
51.229 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
exceptions.cpython-37.opt-1.pyc
5.422 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
exceptions.cpython-37.pyc
5.422 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
ext.cpython-37.opt-1.pyc
25.626 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
ext.cpython-37.pyc
25.626 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
filters.cpython-37.opt-1.pyc
48.595 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
filters.cpython-37.pyc
48.595 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
idtracking.cpython-37.opt-1.pyc
10.889 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
idtracking.cpython-37.pyc
10.889 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
lexer.cpython-37.opt-1.pyc
19.562 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
lexer.cpython-37.pyc
19.562 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
loaders.cpython-37.opt-1.pyc
19.753 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
loaders.cpython-37.pyc
19.753 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
meta.cpython-37.opt-1.pyc
3.679 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
meta.cpython-37.pyc
3.679 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
nativetypes.cpython-37.opt-1.pyc
4.707 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
nativetypes.cpython-37.pyc
4.707 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
nodes.cpython-37.opt-1.pyc
40.422 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
nodes.cpython-37.pyc
40.422 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
optimizer.cpython-37.opt-1.pyc
1.836 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
optimizer.cpython-37.pyc
1.836 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
parser.cpython-37.opt-1.pyc
26.864 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
parser.cpython-37.pyc
26.864 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
runtime.cpython-37.opt-1.pyc
32.179 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
runtime.cpython-37.pyc
32.179 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
sandbox.cpython-37.opt-1.pyc
11.517 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
sandbox.cpython-37.pyc
11.517 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
tests.cpython-37.opt-1.pyc
6.349 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
tests.cpython-37.pyc
6.349 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
utils.cpython-37.opt-1.pyc
26.536 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
utils.cpython-37.pyc
26.536 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
visitor.cpython-37.opt-1.pyc
3.768 KB
14 Nov 2023 1.02 PM
root / linksafe
0644
visitor.cpython-37.pyc
3.768 KB
14 Nov 2023 1.02 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF