+
    ic  c                   s   ^ RI 5 R1RRRRRR2/R lltR tR3R	RR
R/R lltR tR tR4R ltR tR tR5R lt	Rs
R6R ltR tRR/R ltR tRR/R lt ! R R]4      t ! R R]4      t ! R R]4      t ! R R ]4      t ! R! R"]4      t]! ]R#4      '       g   R$ tR% t]! ]]4      ]n         ! R& R']4      t ! R( R)]4      t  ! R* R+]4      t! ! R, R-]4      t"R. t#R6R/ lt$]%R08X  d
   ]$! 4        R# R# )7    )Z*type_commentsFfeature_versionNoptimizec          	      s    \         pV^ 8  d   V\        ,          pV'       d   V\        ,          pVf   RpM1\        V\        4      '       d   Vw  rxV^8w  d   \        RV 24      hTp\        WW&WER7      # )r    zUnsupported major version: )Z_feature_versionr   )ZPyCF_ONLY_ASTZPyCF_OPTIMIZED_ASTZPyCF_TYPE_COMMENTS
isinstancetuple
ValueErrorcompile)	sourceZfilenamemoder   r   r   Zflagsmajorminors	   &&&$$$   /usr/lib64/python3.14/ast.pyparser      s}     E!|####	OU	+	+&A::5'BCC6T$3H H    c                 s   aaaa \        V \        4      '       d   \        V P                  R 4      RR7      p \        V \        4      '       d   V P
                  p R oV3R loV3R loVVVV3R loS! V 4      # )z 	eval)r
   c                 st    R p\        V RR4      ;p'       d   VRV 2,          p\        VRV : 2,           4      h)zmalformed node or stringlinenoNz	 on line z: )getattrr   )nodeZmsgZlno   &  r   _raise_malformed_nodeZ+literal_eval.<locals>._raise_malformed_node?   sB    ($$//3/Yse$$CD8},--r   c                 s   < \        V \        4      '       d*   \        V P                  4      \        \
        \        39  d	   S! V 4       V P                  # N)r   Constanttypevalueintfloatcomplex)r   r   s   &r   _convert_numZ"literal_eval.<locals>._convert_numD   s:    $))T$**-=c5RYEZ-Z!$'zzr   c                 s   < \        V \        4      '       d_   \        V P                  \        \        34      '       d9   S! V P
                  4      p\        V P                  \        4      '       d   V5# V) # S! V 4      # r   )r   ZUnaryOpopZUAddZUSuboperand)r   r   r   s   & r   _convert_signed_numZ)literal_eval.<locals>._convert_signed_numH   s^    dG$$DGGdD\)J)J"4<<0G$''4(( y  y D!!r   c           	      s*  < \        V \        4      '       d   V P                  # \        V \        4      '       d    \	        \        SV P                  4      4      # \        V \        4      '       d    \        \        SV P                  4      4      # \        V \        4      '       d    \        \        SV P                  4      4      # \        V \        4      '       dk   \        V P                  \        4      '       dK   V P                  P                  R 8X  d0   V P                  V P                   u;8X  d   . 8X  d    \        4       #  \        V \"        4      '       ds   \%        V P&                  4      \%        V P(                  4      8w  d	   S! V 4       \+        \-        \        SV P&                  4      \        SV P(                  4      4      4      # \        V \.        4      '       d   \        V P0                  \2        \4        34      '       d   S! V P6                  4      pS! V P8                  4      p\        V\:        \<        34      '       dG   \        V\>        4      '       d1   \        V P0                  \2        4      '       d	   W,           # W,
          # S! V 4      # )set) r   r   r   Tupler   mapeltsZListlistZSetr!   ZCallZfuncZNameZidargskeywordsZDictlenZkeysZvaluesZdictzipZBinOpr   ZAddZSubleftrightr   r   r   )r   r*   r+   _convertr   r    r   s   &  r   r,   Zliteral_eval.<locals>._convertP   s   dH%%::e$$Xtyy122d##Hdii011c""s8TYY/00t$$DIIt)D)Diille#		T]](Hb(H5L )Id##499~T[[!11%d+C$))4$++68 9 9e$$DGGc3Z)H)H&tyy1D ,E$e--*UG2L2Ldggs++<'<'"4((r   )r   strr   ZlstripZ
Expressionbody)Znode_or_stringr,   r   r    r   s   &@@@@r   literal_evalr/   2   sg     .#&&~44U;&I.*--',,.
") )4 N##r   indent
show_emptyc                s   aaaaa RVVVVV3R llo\        V \        4      '       g'   \        RV P                  P                  ,          4      hSe    \        S\
        4      '       g
   RS,          oS! V 4      ^ ,          # )r    c                 s  <a Se+   S^,          oRSS,          ,           pRSS,          ,           pMRpRp\        V \        4      '       Ed   \        V 4      p. p. pRpSpV P                   F  p	 \	        W	4      p
T
f   \	        YIR4      f   RpK%  S'       g|   T
. 8X  dZ   TP                  P                  T	\        4      p\	        TRR4      \        J d%   T'       g   TP                  \        T
4      4       K  T'       g   TP                  T4       . pS! T
S4      w  rT;'       d    TpT'       d   TP                  T	: RT
: 24       K  TP                  T
4       K  	  S'       du   V P                  '       dc   V P                   FR  p	 \	        W	4      p
T
f   \	        YIR4      f   K#  S! T
S4      w  rT;'       d    TpTP                  T	: RT
: 24       KT  	  V'       dE   \        V4      ^8:  d5   V P                  P                   : R	RP#                  V4      : R
2V'       * 3# V P                  P                   : R	V: VP#                  V4      : R
2R3# \        V \        4      '       d1   V '       g   R# RV: VP#                  VV3R lV  4       4      : R2R3# \        V 4      R3#   \
         d    Rp EKT  i ; i  \
         d     EKK  i ; i)NZ
z,
 z, T.Z
__origin__Z=Z(Z)FZ[c              3   sD   <"   T F  pS! VS4      ^ ,          x  K  	  R# 5i)r    N )Z.0Zx_formatlevels   & r   Z	<genexpr>Z(dump.<locals>._format.<locals>.<genexpr>   s      /Sd50A!0D0Dds    Z])z[]T)r   ASTr   _fieldsr   AttributeErrorZ_field_typesZgetobjectr%   appendZreprextend_attributesr(   	__class____name__join)r   r5   ZprefixZsepclsr&   Zargs_bufferZ	allsimpler'   namer   Z
field_typeZsimpler4   annotate_fieldsinclude_attributesr0   r1   s   &f           r   r4   Zdump.<locals>._format   su   QJEFUN*F&5.(CFCdC  t*CDKI&H#D/E =WS%<%D#H!{%(%5%5%9%9$%G
":|SATI#+ + 2 24; ?$#K0&( 'u 5%00&	KK4 78KK&1 %2 "d&6&6&6 ,,D! ' 3 }C)@)H $+E5$9ME ) 4 4fIKK4 78 - SY!^#'>>#:#:DIIdOLRVhVV!%!8!8&#((4.QSXXXd##!! %sxx/Sd/S'STV[[[Dz4Q & #H4 * ! !s$   /J.K.K ?K KKzexpected AST, got %r )r    )r   r6   	TypeErrorr=   r>   r-   )r   rB   rC   r0   r1   r4   s   &ffdd@r   dumprF   m   sb    $9  9 v dC  .1H1HHII*VS"9"9v4=r   c                 s    R Fo  pW!P                   9   g   K  W P                   9   g   K'  \        WR4      pVf-   \        W4      '       g   KJ  VP                  R4      '       g   Kc  \	        WV4       Kq  	  V # )r   NZend_)r   
col_offset
end_linenoend_col_offset)r<   r   hasattrZ
startswithsetattr)new_nodeZold_nodeattrr      &&  r   copy_locationrO      se    
 G'''D4H4H,HHD1E  ''DOOF,C,C. G Or   c                 s,   a V3R  loS! V ^^ ^^ 4       V # )c                 s  < R V P                   9   d&   \        V R 4      '       g   Wn        MV P                  pRV P                   9   d#   \        V RR4      f   W0n        MV P                  pRV P                   9   d&   \        V R4      '       g   W n        MV P
                  pRV P                   9   d#   \        V RR4      f   W@n        MV P                  p\        V 4       F  pS! WQW#V4       K  	  R# )r   rH   NrG   rI   )r<   rJ   r   r   rH   rG   rI   iter_child_nodes)r   r   rG   rH   rI   child_fixs   &&&&& r   rR   Z#fix_missing_locations.<locals>._fix   s    t'''4**$4+++t\408",!__
4+++4..",!__
t///t-t4<&4#!%!4!4%d+E
G ,r   r3   )r   rR   s   &@r   fix_missing_locationsrS      s     H. 	q!QKr   c                 sF   \        V 4       F  p\        V\        4      '       d   \        VR ^ 4      V,           Vn        K4  R VP
                  9   d   \        VR ^ 4      V,           Vn        RVP
                  9   g   Kq  \        VR^ 4      ;pf   K  W1,           Vn        K  	  V # )r   rH   )walkr   Z
TypeIgnorer   r   r<   rH   )r   ZnrQ   rH   rN   r   increment_linenorU      s     d eZ(("5(A6:ELu((("5(A6:ELE---&ulA>>K)~E  Kr   c              #   sx   "   V P                    F  p V\        W4      3x  K  	  R #   \         d     K'  i ; i5ir   )r7   r   r8   )r   field   & r   iter_fieldsrX     s=     
 	---   		s   :(:7:7:c              #   s   "   \        V 4       F^  w  r\        V\        4      '       d   Vx  K!  \        V\        4      '       g   K9  V F  p\        V\        4      '       g   K  Vx  K!  	  K`  	  R # 5ir   )rX   r   r6   r%   )r   rA   rV   items   &   r   rP   rP     sS     
 #4(eS!!Kt$$dC((J 	 )s   A A2A2$A2c                 s   \        V \        \        \        \        34      '       g'   \        R V P                  P                  ,          4      hV P                  '       d(   \        V P                  ^ ,          \        4      '       g   R# V P                  ^ ,          P                  p \        V \        4      '       d.   \        V P                  \        4      '       d   V P                  pMR# V'       d   ^ RIpVP                  V4      pV# )z%r can't have docstringsN)r   ZAsyncFunctionDefZFunctionDefZClassDefZModulerE   r=   r>   r.   ZExprr   r   r-   inspectZcleandoc)r   ZcleanZtextrZ   rN   r   get_docstringr[   &  s     d-{HfMNN2T^^5L5LLMM999DIIaL$7799Q<D$!!jS&A&Azz%Kr   c                 s    \         f   ^ R IpVP                  R4      s . p\        \         P	                  V 4      ^4       F*  w  rEVe
   WA8  d    V# VP                  V^ ,          4       K,  	  V# )Nz(.*?(?:\r\n|\n|\r|$)))_line_patternrer   Z	enumerateZfinditerr:   )r	   maxlinesr]   linesr   Zmatchs   &&    r   _splitlines_no_ffr`   ?  sl     

#;<E"=#9#9&#A1EF$5L 	U1X F Lr   c                 sP    R pV  F  pVR9   d   W,          pK  VR,          pK  	  V# )r2   z	rD   r3   )r	   ZresultZcr   r   _pad_whitespacera   R  s/    F;KFcMF	 
 Mr   paddedc                s    VP                   e   VP                  f   R # VP                  ^,
          pVP                   ^,
          pVP                  pVP                  p\        Y^,           R7      pYC8X  d'   Ys,          P                  4       YV P                  4       # T'       d2   \        Ys,          P                  4       R T P                  4       4      pMRpYT,          P                  4       TR  P                  4       ,           p	Yt,          P                  4       R T P                  4       p
Ys^,           T pTP                  ^ T	4       TP                  T
4       RP                  T4      #   \         d     R # i ; i)N)r^   r2   )rH   rI   r   rG   r8   r`   ZencodeZdecodera   Zinsertr:   r?   )r	   r   rb   r   rH   rG   rI   r_   ZpaddingZfirstZlasts   &&$        r   get_source_segmentrc   ]  s@   ??"d&9&9&Aq__q(
__
,, f!|<E}##%j@GGII!%-"6"6"8*"E"L"L"NOFm**,Z[9@@BBE##%o~6==?D(:&E	LLE	LL775>%  s   E, >E, ,E;:E;c              #   s   "   ^ RI Hp V! V .4      pV'       d1   VP                  4       p VP                  \	        V 4      4       V x  K8  R# 5i)r    )dequeN)Zcollectionsrd   Zpopleftr;   rP   )r   rd   Ztodor   r   rT   rT     s?      "$=D
||~$T*+
 s
   A2Acompare_attributesc               s   aaa \        4       oVV3R  loVV3R lpV3R lp\        V 4      \        V4      Jd   R# V! W4      '       g   R# S'       d   V! W4      '       g   R# R# )c                 s@  < \        V \        4      '       d   \        V VSR 7      # \        V \        4      '       dC   \	        V 4      \	        V4      8w  d   R# \        W4       F  w  r#S! W#4      '       d   K   R# 	  R# \        V 4      \        V4      J ;'       d    W8H  # ))re   FT)r   r6   comparer%   r(   r)   r   )abZa_itemZb_item_comparere   s   &&  r   ri   Zcompare.<locals>._compare  s     a#5 
 4   1vQ"%a)//  #, 7d1g%00!&0r   c                 s   < V P                   VP                   8w  d   R # V P                    FI  p\        WS4      p\        WS4      pVSJ d	   VSJ d   K)  VSJ g   VSJ d    R # S! W44      '       d   KH   R # 	  R# FT)r7   r   )rg   rh   rV   Za_fieldZb_fieldri   sentinels   &&   r   _compare_fieldsZ compare.<locals>._compare_fields  ss    99		!YYEa1Ga1G("w(':("g&9G--  r   c                 s   < V P                   VP                   8w  d   R # V P                    F2  p\        WS4      p\        WS4      pVSJ d	   VSJ d   K)  W48w  g   K1   R # 	  R# rj   )r<   r   )rg   rh   rM   Za_attrZb_attrrk   s   &&   r   _compare_attributesZ$compare.<locals>._compare_attributes  s\    ==AMM)MMDQh/FQh/F!f&8 " r   FT)r9   r   )rg   rh   re   rl   rm   ri   rk   s   ""d  @@r   rf   rf     sR      xH1." Awd1g1  "5a";";r   c                   s,   a  ] tR tRt o R tR tRtV tR# )NodeVisitori  c                sx    R VP                   P                  ,           p\        WV P                  4      pV! V4      # )Zvisit_)r=   r>   r   generic_visit)selfr   ZmethodZvisitorrN   r   visitZNodeVisitor.visit  s2    DNN333$(:(:;t}r   c                s   \        V4       Fx  w  r#\        V\        4      '       d5   V F,  p\        V\        4      '       g   K  V P	                  V4       K.  	  KO  \        V\        4      '       g   Kg  V P	                  V4       Kz  	  R # r   )rX   r   r%   r6   rq   )rp   r   rV   r   rY   s   &&   r   ro   ZNodeVisitor.generic_visit  s^    '-LE%&&!D!$,,

4( " E3''

5! .r   r3   N)r>   
__module____qualname____firstlineno__rq   ro   __static_attributes____classdictcell__Z__classdict__   @r   rn   rn     s     (" "r   rn   c                   &   a  ] tR tRt o R tRtV tR# )NodeTransformeri  c                s   \        V4       F  w  r#\        V\        4      '       dy   . pV Fj  p\        V\        4      '       dA   V P	                  V4      pVf   K0  \        V\        4      '       g   VP                  V4       KY  VP                  V4       Kl  	  WCR&   K  \        V\        4      '       g   K  V P	                  V4      pVf   \        W4       K  \        WV4       K  	  V# )N:NNN)	rX   r   r%   r6   rq   r;   r:   ZdelattrrK   )rp   r   rV   Z	old_valueZ
new_valuesr   rL   s   &&     r   ro   ZNodeTransformer.generic_visit+  s     +D 1E)T**
&E!%-- $

5 1 =$!+E3!7!7&--e4$%%e, '  *!Is++::i0#D(D2% !2& r   r3   N)r>   rr   rs   rt   ro   ru   rv   rw   rx   r   rz   rz     s     H r   rz   c                       ] tR tRtRtR# )sliceiA  r3   Nr>   rr   rs   rt   ru   r3   r   r   r|   r|   A      r   r|   c                   ry   )IndexiD  c                s    V# r   r3   )r@   r   kwargs   &&,r   __new__ZIndex.__new__F  s    r   r3   Nr>   rr   rs   rt   r   ru   rv   rw   rx   r   r   r   D  s      r   r   c                   s*   a  ] tR tRt o RR ltRtV tR# )ExtSliceiI  c                s>    \        \        V4      \        4       3/ VB # r   )r"   r%   ZLoad)r@   dimsr   r   r   r   ZExtSlice.__new__K  s    T$Z2622r   r3   N)r3   r   rw   rx   r   r   r   I  s     3 3r   r   r   c                 s    V P                   # r   r$   )rp   s   &r   _dims_getterr   S  s    yyr   c                 s    Wn         R # r   r   )rp   r   s   &&r   _dims_setterr   W  s    	r   c                   r{   )Suitei\  r3   Nr}   r3   r   r   r   r   \  r~   r   r   c                   r{   )AugLoadi_  r3   Nr}   r3   r   r   r   r   _  r~   r   r   c                   r{   )AugStoreib  r3   Nr}   r3   r   r   r   r   b  r~   r   r   c                   r{   )Paramie  r3   Nr}   r3   r   r   r   r   e  r~   r   r   c                 s|     \        4       pVP	                  V 4      #   \         d    ^ RIHs  \        4       p L.i ; i)r    )Unparser)Z	_UnparserZ	NameErrorZ_ast_unparser   rq   )Zast_objZunparserrW   r   unparser   i  s:    ; >>'""  6;s   
 ;;c           	      s|   ^ RI p^ RIpVP                  RR7      pVP                  RRRRR7       VP                  R	R
RR,RR7       VP                  RRRRR7       VP                  RRRRR7       VP                  RR\        ^RR7       VP                  R\
        RRRR7       VP                  RR \        R-R!R"R7       VP                  R#R$RR%R7       VP                  V 4      p V P                  R8X  d(   R&pVP                  P                  P                  4       pMCV P                  p\        V P                  R'4      ;_uu_ 4       pVP                  4       pRRR4       RpV P                  '       d2    \        \        V P                  P                  R(^4      4      w  rXX	3p\#        XW@P$                  V P&                  WpP(                  R*7      p
\+        \-        WP.                  V P0                  V P2                  R+7      4       R#   + '       g   i     L; i  \         d    TP!                  R)4        Li ; i).r    NT)ZcolorinfileZ?Z-z$the file to parse; defaults to stdin)Znargsdefaulthelpz-mz--modeexecz(specify what kind of code must be parsed)r   Zchoicesr   z--no-type-commentsZstore_falsez)don't add information about type comments)r   actionr   z-az--include-attributesZ
store_truez:include attributes such as line numbers and column offsets)r   r   z-iz--indentz'indentation of nodes (number of spaces))r   r   r   z--feature-versionZVERSIONz4Python version in the format 3.x (for example, 3.10))r   r   Zmetavarr   z-Oz
--optimizeZLEVELz*optimization level for parser (default -1)z--show-emptyFz*show empty lists and fields in dump outputz<stdin>ZrbZ.zMInvalid format for --feature-version; expected format 3.x (for example, 3.10))r   r   r   )rC   r0   r1   )r   Zsingler   Z	func_typer   )argparsesysZArgumentParserZadd_argumentr   r-   Z
parse_argsr   ZstdinZbufferZreadZopenr   r#   Zsplitr   Zerrorr   r
   Zno_type_commentsr   ZprintrF   rC   r0   r1   )r&   r   r   ZparserrA   r	   r   r   r   r   Ztrees   &          r   mainr   s  s<   $$4$0F
SC  E
h GG  I ,d=H  J
4\.  / jsAF  H
+ $	3  4 l "gI  K lI  KT"D{{c!!&&({{$++t$$[[]F % O	DsD$8$8$>$>sA$FGLE
 !%.yy8M8M!0==JD	$t(?(?kkdoo? @! %$  	DLL C D	Ds   H	5,H 	H	H;:H;Z__main__)z	<unknown>r   r   )TF)i   )Tr   )&Z_astr   r/   rF   rO   rS   rU   rX   rP   r[   r\   r`   ra   rc   rT   rf   r9   rn   rz   r6   r|   r   r   rJ   r"   r   r   Zpropertyr   Zmodr   Zexpr_contextr   r   r   r   r   r>   r3   r   r   <module>r      sY  . HH/3H>@H08$vQ Q "Qh" F.	0 &"u "JO
 Od""& ""J8k 8t%C %E 
3u 3 uf ,5EJ:C ::l ::| ::L :#2@h zF r   