kr.motd.maven.sphinx.dist.libpasteurize.fixes.fix_annotations$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
???? 14 f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ &
Fixer to remove function annotations
org/python/core/PyUnicode fromInterned /(Ljava/lang/String;)Lorg/python/core/PyUnicode;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
lib2to3 java/lang/String
fixer_base org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
! setlocal #
$
lib2to3.pgen2 & token ( lib2to3.fixer_util * syms , )Removing function annotations completely. . warning_text 0 org/python/core/Py 2 EmptyObjects [Lorg/python/core/PyObject; 4 5 3 6 org/python/core/PyFunction 8 f_globals Lorg/python/core/PyObject; : ; < param_without_annotations$1 getlocal (I)Lorg/python/core/PyObject; ? @
A children C org/python/core/PyObject E __getattr__ .(Ljava/lang/String;)Lorg/python/core/PyObject; G H
F I
newInteger (I)Lorg/python/core/PyInteger; K L
3 M __getitem__ 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; O P
F Q f_lasti I S T U &libpasteurize/fixes/fix_annotations$py W Lorg/python/core/PyCode; > Y X Z j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V \ ]
9 ^ param_without_annotations ` getname b H
c BaseFix e FixAnnotations g FixAnnotations$2
__module__ j __name__ l False n warned p warn_once$3 __not__ ()Lorg/python/core/PyObject; s t
F u __nonzero__ ()Z w x
F y True { getglobal } H
~ __setattr__ ?
F ? warning ? reason ? __call__ g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; ? ?
F ? None ? ; 3 ? r Y X ? warn_once ? m
funcdef< 'def' any parameters< '(' [params=any] ')' > ['->' ret=any] ':' any* >
? PATTERN ? transform$4 K
This just strips annotations from the funcdef completely.
? get ? params ? S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
F ? (ILorg/python/core/PyObject;)V # ?
? ret ? ? _isnot ? P
F ? __debug__ ? prev_sibling ? type ? RARROW ? _eq ? P
F ? Invalid return annotation ? AssertionError ?
makeException S(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyException; ? ?
3 ? remove ? 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; ? ?
F ? _is ? P
F ?
typedargslist ? __iter__ ? t
F ? tname ? replace ? __iternext__ ? t
F ? ? Y X ? transform ? getf_locals ? t
? i Y X ? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject; ? ?
3 ? java/util/Arrays ? fill (([Ljava/lang/Object;Ljava/lang/Object;)V ? ?
? ? (Ljava/lang/String;)V org/python/core/PyFunctionTable ? ()V \ ?
? ? self (Llibpasteurize/fixes/fix_annotations$py; ? ? X ? ? 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; ? ?
3 ? Y X ? node ? ? results ? param ? getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V W \ ?
X ? ?
X org/python/core/CodeLoader createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;
runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V
3
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;
X >
X i
X r
X ?
X! org/python/core/PyRunnable# Lorg/python/compiler/APIVersion; value % Lorg/python/compiler/MTime; `9 K? Lorg/python/compiler/Filename; m/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/libpasteurize/fixes/fix_annotations.py org/python/core/ThreadState- Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! X ? $ ? ? Y > Y i Y r Y ? Y
/ 8 +? ? +? ? W+? ? N-S-+? "N-2:+? %:+? '? N-)S-+? "N-2:+)? %:+? +? N--S-+? "N-2:+-? %:+ ? /? N+1-? %N+? ? 7N? 9Y+? =-? [? _N+a-? %N+? ? FN+? df? J-__Sh-? ظ ?:+h? %:-? ?+? V? ?? 0 > / 7 +? +? BD? J? N? RN+? V-? 0 i / ? ?+k+m? d? %+? +o? dN+q-? %N+? ? 7N? 9Y+? =-? ?? _N+?-? %N+? ?? N+?-? %N+? ? 7N? 9Y+? =-? ??? ? _N+?-? %N+? ְ 0 r / ? ~+? +? Bq? J? v? z? _+? +|? N+? Bq-? ?N+? +? B?? J,? FN+? B-__S+? B-__S? :?S-? ?NW? +? V? ?? 0 1 u X . ? / ? ?+? ?? W+? +? B?? J,?? ? ?N+-? ?N+ ? +? B?? J,?? ? ?N+-? ?N+!? +? BN+?? -_? ?N? z? ?+"? +?? ? z? ;+? B?? J?? JN+)? ?? J-_? ?N? z? ?? +?? _? ??+#? +? B?? J,? FN+? B-__S+1? -__S? :?S-? ?NW+$? +? B?? J?? J,? ?W+%? +? B?? J,? ?W? +&? +? BN+?? -_? ?N? z? +&? +? V? ??+'? +? B?? JN+-? Ŷ J-_? ?N? z? ?+)? +? BD? J? ?N? ?+? ?+*? +? B?? J:+-? ʶ J_? ?:? z? o++? +? B?? J,? F:+? B__S+1? __S? :?S? ?:W+,? +? B̶ J,+a? ,+? B? ?? ?W? +)? -? ?:??S? ?+-? +? B?? JN+-? ʶ J-_? ?N? z? j+/? +? B?? J,? FN+? B-__S+1? -__S? :?S-? ?NW+0? +? B̶ J,+a? ,+? B? ?? ?W? +? V? ?? 0 N ! " # $ % &