⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.24
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.9
/
site-packages
/
jinja2
/
__pycache__
/
View File Name :
optimizer.cpython-39.opt-1.pyc
a ` @ s8 d Z ddlmZ ddlmZ dd ZG dd deZdS ) 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)nodeenvironmentZ optimizer r 4/usr/lib/python3.9/site-packages/jinja2/optimizer.pyoptimize s r c s$ e Zd Zdd Z fddZ 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|tjrjz*tjj||rB|d nd |j | j dW S tjyh Y n0 |S )N )linenor )superr generic_visit isinstancer ZExprZConstZfrom_untrustedZas_constr r Z Impossible)r r argskwargs __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
s