kr.motd.maven.sphinx.dist.jinja2.optimizer$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1" f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ [
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.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
jinja2 java/lang/String nodes org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
! setlocal #
$ jinja2.visitor & NodeTransformer ( org/python/core/Py * EmptyObjects [Lorg/python/core/PyObject; , - + . org/python/core/PyFunction 0 f_globals Lorg/python/core/PyObject; 2 3 4
optimize$1 ^The context hint can be used to perform an static optimization
based on the context given. 7 Optimizer 9 getglobal .(Ljava/lang/String;)Lorg/python/core/PyObject; ; <
= getlocal (I)Lorg/python/core/PyObject; ? @
A org/python/core/PyObject C __call__ S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; E F
D G (ILorg/python/core/PyObject;)V # I
J visit L __getattr__ N <
D O f_lasti I Q R S jinja2/optimizer$py U Lorg/python/core/PyCode; 6 W V X j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V Z [
1 \ optimize ^ getname ` <
a Optimizer$2
__module__ d __name__ f
__init__$3 environment i __setattr__ k
D l None n 3 + o h W V q __init__ s n fold$4 Do constant folding. w
generic_visit y Const { from_untrusted } as_const lineno ? g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; E ?
D ? setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; ? ?
+ ?
Impossible ? org/python/core/PyException ? match (Lorg/python/core/PyObject;)Z ? ?
? ? java/lang/Throwable ? v W V ? fold ? visit_Add ? visit_Sub ? visit_Mul ? visit_Div ? visit_FloorDiv ? visit_Pow ? visit_Mod ? visit_And ? visit_Or ? visit_Pos ? visit_Neg ? visit_Not ?
visit_Compare ?
visit_Getitem ?
visit_Getattr ?
visit_Call ? visit_Filter ?
visit_Test ? visit_CondExpr ? dellocal (Ljava/lang/String;)V ? ?
? getf_locals ()Lorg/python/core/PyObject; ? ?
? c W V ? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject; ? ?
+ ? java/util/Arrays ? fill (([Ljava/lang/Object;Ljava/lang/Object;)V ? ?
? ? org/python/core/PyFunctionTable ? ()V Z ?
? ? self Ljinja2/optimizer$py; ? ? V ? ? newCode ?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode; ? ?
+ ? W V ? node ? optimizer ? ? eval_ctx ? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V U Z ?
V ? ? ?
V ? org/python/core/CodeLoader ? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap; ? ?
? ? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V ? ?
+ ? getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap ? )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
V 6
V c
V h
V
v
V org/python/core/PyRunnable Lorg/python/compiler/APIVersion; value % Lorg/python/compiler/MTime; `9?h Lorg/python/compiler/Filename; Z/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/jinja2/optimizer.py org/python/core/ThreadState Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! V ? ? ? W 6 W c W h W v W
? ?+? ? +? ? W+? ? N-S-+? "N-2:+? %:+? '? N-)S-+? "N-2:+)? %:+? ? /N? 1Y+? 5-? Y8? ? ]N+_-? %N+? ? DN+)? b-__S:-? Ǹ ?:+:? %:-? ?+? T? p? 6 k K+? 8? W+? +:? >,+? B? HN+-? KN+? +? BM? P,+? B? HN+? T-? c + +e+g? b? %+ ? ? /N? 1Y+? 5-? r? ]N+t-? %N+#? ? DN+u? b-__S? 1Y+? 5-? ?x? ? ]N+?-? %N+-? +?? bN+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+?-? %+1? +?? ?+? Ű # - 1 h : "+!? +? BN+? Bj-? mN+? T? p? ! v U ?+$? x? W+%? +? Bz? P,+? B? HN+-? KN+'? +? >|? P~? P,? DN+? B?? P,+? B? H-__S+? B?? P-__S+? Bj? P-__S? :?SjS-? ?NN+? T-?+? ?:+? >?? P? ?? ++? +? BN+? T-? ?? ? . ? ? ? ? ? ? ? $ % ' + > ? V D ? ? ? ? V D ? ? ? Z ? ?
?*? ?*? ?? M,+?? ? ? ? ?? M,?S,jS,?S,+_? ?? ? Y? M,+:? ? ? ? ?? M,?S,jS,+t ? ?? ? r? M,?S,?S,?S,+?#? ?? ? ?? ? ? ? ? ? ? ? VY? ? ? ?*? ?? ? ? V?? ? >*,-? 8 $ ( , 0 4???
???????? ? ( V V , V V 0 V V 4 V V 8 V V <