/usr/local/lib/python3.6/site-packages/jinja2/__pycache__
NameSizeModeActions
async_utils.cpython-36.pyc24350644editdlrm
bccache.cpython-36.pyc130970644editdlrm
compiler.cpython-36.pyc543690644editdlrm
constants.cpython-36.pyc14960644editdlrm
debug.cpython-36.pyc53440644editdlrm
defaults.cpython-36.pyc12410644editdlrm
environment.cpython-36.pyc523970644editdlrm
exceptions.cpython-36.pyc54980644editdlrm
ext.cpython-36.pyc262740644editdlrm
filters.cpython-36.pyc497540644editdlrm
idtracking.cpython-36.pyc111250644editdlrm
lexer.cpython-36.pyc199830644editdlrm
loaders.cpython-36.pyc202170644editdlrm
meta.cpython-36.pyc37460644editdlrm
nativetypes.cpython-36.pyc48050644editdlrm
nodes.cpython-36.pyc411930644editdlrm
optimizer.cpython-36.pyc18610644editdlrm
parser.cpython-36.pyc276350644editdlrm
runtime.cpython-36.pyc328630644editdlrm
sandbox.cpython-36.pyc116960644editdlrm
tests.cpython-36.pyc64820644editdlrm
utils.cpython-36.pyc272170644editdlrm
visitor.cpython-36.pyc38390644editdlrm
_identifier.cpython-36.pyc18500644editdlrm
__init__.cpython-36.pyc18650644editdlrm
Edit: /usr/local/lib/python3.6/site-packages/jinja2/__pycache__/optimizer.cpython-36.pyc (1861B)
3 ^TBgr@s`dZddlZddlmZddlmZejr6ddlm Z ej dej dd d Z Gd d d eZ dS) aThe 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. N)nodes)NodeTransformer) Environmentr)node environmentreturncCst|}tjtj|j|S)z^The context hint can be used to perform an static optimization based on the context given.) OptimizertcastrNodeZvisit)rrZ optimizerr 2/tmp/pip-build-0s3hx122/Jinja2/jinja2/optimizer.pyoptimizesrcs@eZdZdddddZejejejejdfdd ZZ S) r zt.Optional[Environment]N)rrcCs ||_dS)N)r)selfrr r r__init__szOptimizer.__init__)rargskwargsrc sdtj|f||}t|tjr`y(tjj|j|r8|dnd|j|j dStj k r^YnX|S)Nr)linenor) super generic_visit isinstancerZExprZConstZfrom_untrustedZas_constrrZ Impossible)rrrr) __class__r rrs  zOptimizer.generic_visit) __name__ __module__ __qualname__rrr r ZAnyr __classcell__r r )rrr s r ) __doc__Ztypingr rZvisitorrZ TYPE_CHECKINGrrr rr r r r r s