One Hat Cyber Team
Your IP :
216.73.216.109
Server IP :
178.162.244.166
Server :
Linux flexi.hostpinnacleservers.com 5.14.0-611.30.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 11 06:42:00 EST 2026 x86_64
Server Software :
Apache
PHP Version :
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.9
/
site-packages
/
jinja2
/
__pycache__
/
Edit File:
optimizer.cpython-39.pyc
a �`� � @ s8 d Z ddlmZ ddlmZ dd� ZG dd� de�ZdS ) a� The optimizer tries to constant fold expressions and modify the AST in place so that it should be faster to evaluate. Because the AST does not contain all the scoping information and the compiler has to find that out, we cannot do all the optimizations we want. For example, loop unrolling doesn't work because unrolled loops would have a different scope. The solution would be a second syntax tree that stored the scoping rules. � )�nodes)�NodeTransformerc C s t |�}|�| �S )z^The context hint can be used to perform an static optimization based on the context given.)� OptimizerZvisit)�node�environmentZ optimizer� r �4/usr/lib/python3.9/site-packages/jinja2/optimizer.py�optimize s r c s$ e Zd Zdd� Z� fdd�Z� ZS )r c C s || _ d S )N)r )�selfr r r r �__init__ s zOptimizer.__init__c sn t t| �j|g|�R i |��}t|tj�rjz*tjj|�|rB|d nd �|j | j d�W S tjyh Y n0 |S )N� )�linenor )�superr � generic_visit� isinstancer ZExprZConstZfrom_untrustedZas_constr r Z Impossible)r r �args�kwargs�� __class__r r r s �zOptimizer.generic_visit)�__name__� __module__�__qualname__r r � __classcell__r r r r r s r N)�__doc__� r Zvisitorr r r r r r r �<module> s
Simpan