$39 GRAYBYTE WORDPRESS FILE MANAGER $54

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__//meta.cpython-311.pyc
�

�|oi,��`�dZddlZddlmZddlmZddlmZejrddl	m
Z
Gd�d	e��Zd
ejdej
efd�ZejejejejfZejejejejejfZd
ejdejejefd
�ZdS)z_Functions that expose information about templates that might be
interesting for introspection.
�N�)�nodes)�
CodeGenerator)�Frame)�Environmentc�H��eZdZdZd�fd�Zdeddfd�Zd	eddf�fd
�Z�xZ	S)�TrackingCodeGeneratorz.We abuse the code generator for introspection.�environmentr�returnNc�t��t���|dd��t��|_dS)Nz<introspection>)�super�__init__�set�undeclared_identifiers)�selfr
�	__class__s  ��]/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/jinja2/meta.pyrzTrackingCodeGenerator.__init__s3���
������&7�9J�K�K�K�25�%�%��#�#�#��xc��dS)zDon't write.N�)rrs  r�writezTrackingCodeGenerator.writes���r�framec����t���|��|jj���D]6\}\}}|dkr(||jjvr|j�|���7dS)z$Remember all undeclared identifiers.�resolveN)	r
�enter_frame�symbols�loads�itemsr
�globalsr�add)rr�_�action�paramrs     �rrz!TrackingCodeGenerator.enter_frames����
�����E�"�"�"�"'�-�"5�";�";�"=�"=�	7�	7��A������"�"�u�D�4D�4L�'L�'L��+�/�/��6�6�6��	7�	7r)r
rrN)
�__name__�
__module__�__qualname__�__doc__r�strrrr�
__classcell__)rs@rr	r	s��������8�8�8�8�8�8�8�8��s��t�����7��7�4�7�7�7�7�7�7�7�7�7�7rr	�astrc�b�t|j��}|�|��|jS)aReturns a set of all variables in the AST that will be looked up from
    the context at runtime.  Because at compile time it's not known which
    variables will be used depending on the path the execution takes at
    runtime, all variables are returned.

    >>> from jinja2 import Environment, meta
    >>> env = Environment()
    >>> ast = env.parse('{% set foo = 42 %}{{ bar + foo }}')
    >>> meta.find_undeclared_variables(ast) == {'bar'}
    True

    .. admonition:: Implementation

       Internally the code generator is used for finding undeclared variables.
       This is good to know because the code generator might raise a
       :exc:`TemplateAssertionError` during compilation and as a matter of
       fact this function can currently raise that exception as well.
    )r	r
�visitr)r+�codegens  r�find_undeclared_variablesr/!s.��&$�C�O�4�4�G��M�M�#�����)�)rc#�K�|�t��D�]$}|j}t|tj��sxt|tjtjf��rM|jD]D}t|tj��r$t|j	t��r	|j	V��@dV��EndV���t|j	t��r
|j	V���t|tj��rFt|j	ttf��r%|j	D]}t|t��r|V���� dV���&dS)abFinds all the referenced templates from the AST.  This will return an
    iterator over all the hardcoded template extensions, inclusions and
    imports.  If dynamic inheritance or inclusion is used, `None` will be
    yielded.

    >>> from jinja2 import Environment, meta
    >>> env = Environment()
    >>> ast = env.parse('{% extends "layout.html" %}{% include helper %}')
    >>> list(meta.find_referenced_templates(ast))
    ['layout.html', None]

    This function is useful for dependency tracking.  For example if you want
    to rebuild parts of the website after a layout template has changed.
    N)�find_all�
_ref_types�template�
isinstancer�Const�Tuple�Listr�valuer)�Include�tuple�list)r+�noder3�
template_names    r�find_referenced_templatesr>=sk����"���Z�(�(�!�!��#�}���(�E�K�0�0�	��(�U�[�%�*�$=�>�>�
�%-�^�#�#�M�"�-���=�=�#�%�m�&9�3�?�?�6�"/�"5�5�5�5��#�
�
�
�
�#��
�
�
���h�n�c�*�*�
	��.� � � � ���e�m�
,�
,�	���N�U�D�M�2
�2
�	�"*��
(�
(�
��m�S�1�1�(�'�'�'�'��
(�
�J�J�J�J�C!�!r)r(�typing�t�r�compilerrr�
TYPE_CHECKINGr
rr	�Template�Setr)r/�Extends�
FromImport�Importr9r2�Union�_RefType�Iterator�Optionalr>rrr�<module>rMs5��������������#�#�#�#�#�#��������?�)�(�(�(�(�(�(�7�7�7�7�7�M�7�7�7�&*�5�>�*�a�e�C�j�*�*�*�*�0�m�U�-�u�|�U�]�
K�
��7�5�=�%�"2�E�L�%�-�O�P��2�5�>�2�a�j���C��6Q�2�2�2�2�2�2r


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