+
    ÆÚj°  ã                   óJ  € R t ^ RIt^ RIt0 Rmt0 RmtRR0tRR0tRR0tRR	0t	 ! R
 R]
4      t ! R R]P                  4      t ! R R]P                  4      t ! R R4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R4      tR# ) zCommon methods for parsing.NÚdeprecationÚ
deprecatedÚreturnÚreturnsÚyieldÚyieldsÚexampleÚexamplesc                   ó   € ] tR t^tRtRtR# )Ú
ParseErrorz*Base class for all parsing related errors.© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__static_attributes__r   ó    ÚŽ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/docstring_parser/common.pyr   r      s   † Ý4r   r   c                   ó.   € ] tR t^tRt^t^t^t^t^ÿt	Rt
R# )ÚDocstringStylezDocstring style.r   N)r   r   r   r   r   ÚRESTÚGOOGLEÚNUMPYDOCÚEPYDOCÚAUTOr   r   r   r   r   r      s   † Ùà€DØ€FØ€HØ€FØ„Dr   r   c                   ó&   € ] tR t^$tRt^t^t^tRtR# )ÚRenderingStylez1Rendering style when unparsing parsed docstrings.r   N)	r   r   r   r   r   ÚCOMPACTÚCLEANÚEXPANDEDr   r   r   r   r   r   $   s   † Ù;à€GØ€EØ„Hr   r   c                   ó6   a € ] tR t^,t o RtV 3R lR ltRtV tR# )ÚDocstringMetazƒDocstring meta information.

Symbolizes lines in form of

    :param arg: description
    :raises ValueError: if something happens
c                ór   <€ V ^8„  d   QhRS[ P                  S[,          RS[ P                  S[,          RR/# )é   ÚargsÚdescriptionr   N©ÚTÚListÚstrÚOptional)ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚDocstringMeta.__annotate__5   s5   ø€ ÷ 'ñ 'Ù—F‘F™3•Kð'Ù./¯j©j¹­oð'à	ñ'r   c                ó   € Wn         W n        R# )a  Initialize self.

:param args: list of arguments. The exact content of this variable is
    dependent on the kind of docstring; it's used to distinguish
    between custom docstring meta information items.
:param description: associated docstring description.
N©r%   r&   )Úselfr%   r&   s   &&&r   Ú__init__ÚDocstringMeta.__init__5   s   € ð Œ	Ø&Ör   r1   N)r   r   r   r   r   r3   r   Ú__classdictcell__©r-   s   @r   r"   r"   ,   s   ø‡ € ñ÷'ö 'r   r"   c                   óB   a a€ ] tR t^Ct oRtV3R lV 3R lltRtVtV ;t# )ÚDocstringParamz*DocstringMeta symbolizing :param metadata.c                óö   <€ V ^8„  d   QhRS[ P                  S[,          RS[ P                  S[,          RS[RS[ P                  S[,          RS[ P                  S[,          RS[ P                  S[,          RR/# )	r$   r%   r&   Úarg_nameÚ	type_nameÚis_optionalÚdefaultr   N©r(   r)   r*   r+   Úbool)r,   r-   s   "€r   r.   ÚDocstringParam.__annotate__F   sz   ø€ ÷ ñ á�f‰f‘S�kðñ —Z‘Z¡•_ðñ ð	ñ
 —:‘:™c•?ðñ —Z‘Z¡Õ%ðñ —‘™C•ðð 
ñr   c                óV   <€ \         SV `  W4       W0n        W@n        WPn        W`n        R# ©úInitialize self.N)Úsuperr3   r:   r;   r<   r=   )r2   r%   r&   r:   r;   r<   r=   Ú	__class__s   &&&&&&&€r   r3   ÚDocstringParam.__init__F   s'   ø€ ô 	‰Ñ˜Ô+Ø ŒØ"ŒØ&ÔØŽr   )r:   r=   r<   r;   ©	r   r   r   r   r   r3   r   r5   Ú__classcell__©rE   r-   s   @@r   r8   r8   C   s   ù‡ € Ù4÷÷ ó r   r8   c                   óF   a a€ ] tR t^Wt oRtRV3R lV 3R llltRtVtV ;t# )ÚDocstringReturnsz7DocstringMeta symbolizing :returns or :yields metadata.c                óÌ   <€ V ^8„  d   QhRS[ P                  S[,          RS[ P                  S[,          RS[ P                  S[,          RS[RS[ P                  S[,          RR/# )r$   r%   r&   r;   Úis_generatorÚreturn_namer   Nr>   )r,   r-   s   "€r   r.   ÚDocstringReturns.__annotate__Z   sg   ø€ ÷ 'ñ 'á�f‰f‘S�kð'ñ —Z‘Z¡•_ð'ñ —:‘:™c•?ð	'ñ
 ð'ñ —Z‘Z¡•_ð'ð 
ñ'r   c                óJ   <€ \         SV `  W4       W0n        W@n        WPn        R# rB   )rD   r3   r;   rM   rN   )r2   r%   r&   r;   rM   rN   rE   s   &&&&&&€r   r3   ÚDocstringReturns.__init__Z   s#   ø€ ô 	‰Ñ˜Ô+Ø"ŒØ(ÔØ&Ör   )rM   rN   r;   ©NrG   rI   s   @@r   rK   rK   W   s   ù‡ € ÙA÷'÷ 'õ 'r   rK   c                   óB   a a€ ] tR t^it oRtV3R lV 3R lltRtVtV ;t# )ÚDocstringRaisesz+DocstringMeta symbolizing :raises metadata.c                óœ   <€ V ^8„  d   QhRS[ P                  S[,          RS[ P                  S[,          RS[ P                  S[,          RR/# )r$   r%   r&   r;   r   Nr'   )r,   r-   s   "€r   r.   ÚDocstringRaises.__annotate__l   sK   ø€ ÷ 	'ñ 	'á�f‰f‘S�kð	'ñ —Z‘Z¡•_ð	'ñ —:‘:™c•?ð		'ð
 
ñ	'r   c                ó>   <€ \         SV `  W4       W0n        W n        R# rB   )rD   r3   r;   r&   )r2   r%   r&   r;   rE   s   &&&&€r   r3   ÚDocstringRaises.__init__l   s   ø€ ô 	‰Ñ˜Ô+Ø"ŒØ&Ör   )r&   r;   rG   rI   s   @@r   rT   rT   i   ó   ù‡ € Ù5÷	'÷ 	'ó 	'r   rT   c                   óB   a a€ ] tR t^xt oRtV3R lV 3R lltRtVtV ;t# )ÚDocstringDeprecatedz/DocstringMeta symbolizing deprecation metadata.c                óœ   <€ V ^8„  d   QhRS[ P                  S[,          RS[ P                  S[,          RS[ P                  S[,          RR/# )r$   r%   r&   Úversionr   Nr'   )r,   r-   s   "€r   r.   Ú DocstringDeprecated.__annotate__{   sK   ø€ ÷ 	'ñ 	'á�f‰f‘S�kð	'ñ —Z‘Z¡•_ð	'ñ —‘™C•ð		'ð
 
ñ	'r   c                ó>   <€ \         SV `  W4       W0n        W n        R# rB   )rD   r3   r]   r&   )r2   r%   r&   r]   rE   s   &&&&€r   r3   ÚDocstringDeprecated.__init__{   ó   ø€ ô 	‰Ñ˜Ô+ØŒØ&Ör   )r&   r]   rG   rI   s   @@r   r[   r[   x   s   ù‡ € Ù9÷	'÷ 	'ó 	'r   r[   c                   óB   a a€ ] tR t^‡t oRtV3R lV 3R lltRtVtV ;t# )ÚDocstringExamplez+DocstringMeta symbolizing example metadata.c                óœ   <€ V ^8„  d   QhRS[ P                  S[,          RS[ P                  S[,          RS[ P                  S[,          RR/# )r$   r%   Úsnippetr&   r   Nr'   )r,   r-   s   "€r   r.   ÚDocstringExample.__annotate__Š   sK   ø€ ÷ 	'ñ 	'á�f‰f‘S�kð	'ñ —‘™C•ð	'ñ —Z‘Z¡•_ð		'ð
 
ñ	'r   c                ó>   <€ \         SV `  W4       W n        W0n        R# rB   )rD   r3   re   r&   )r2   r%   re   r&   rE   s   &&&&€r   r3   ÚDocstringExample.__init__Š   ra   r   )r&   re   rG   rI   s   @@r   rc   rc   ‡   rY   r   rc   c                   óþ   a € ] tR t^–t o RtRV 3R lR llt]V 3R lR l4       t]V 3R lR l4       t]V 3R	 lR
 l4       t	]V 3R lR l4       t
]V 3R lR l4       t]V 3R lR l4       t]V 3R lR l4       tRtV tR# )Ú	Docstringz Docstring object representation.Nc                ó   <€ V ^8„  d   QhRR/# )r$   r   Nr   )r,   r-   s   "€r   r.   ÚDocstring.__annotate__™   s   ø€ ÷ 
ñ 
ð 
ñ
r   c                óX   € RV n         RV n        RV n        RV n        . V n        Wn        R# )rC   NF)Úshort_descriptionÚlong_descriptionÚblank_after_short_descriptionÚblank_after_long_descriptionÚmetaÚstyle)r2   rs   s   &&r   r3   ÚDocstring.__init__™   s0   € ð
 "&ˆÔØ $ˆÔØ-2ˆÔ*Ø,1ˆÔ)ØˆŒ	ØŽ
r   c                óD   <€ V ^8„  d   QhRS[ P                  S[,          /# ©r$   r   )r(   r+   r*   )r,   r-   s   "€r   r.   rl   ¦   s   ø€ ÷ ñ ™QŸZ™Z©�_ñ r   c                ó6  € . pV P                   '       d?   VP                  V P                   4       V P                  '       d   VP                  R4       V P                  '       d   VP                  V P                  4       V'       g   R# RP	                  V4      # )zkReturn the full description of the function

Returns None if the docstring did not include any description
Ú NÚ
)rn   Úappendrp   ro   Újoin)r2   Úrets   & r   r&   ÚDocstring.description¥   sp   € ð ˆØ×!×!Ð!Ø�J‰J�t×-Ñ-Ô.Ø×1×1Ð1Ø—
‘
˜2”Ø× × Ð Ø�J‰J�t×,Ñ,Ô-çÙà�y‰y˜‹~Ðr   c                óD   <€ V ^8„  d   QhRS[ P                  S[,          /# rv   )r(   r)   r8   )r,   r-   s   "€r   r.   rl   ¹   s    ø€ ÷ Pñ P™Ÿ™™~Õ.ñ Pr   c                ót   € V P                    Uu. uF  p\        V\        4      '       g   K  VNK  	  up# u upi )z0Return a list of information on function params.)rr   Ú
isinstancer8   ©r2   Úitems   & r   ÚparamsÚDocstring.params¸   s+   € ð "&§¢ÓO¡˜¬j¸¼~×.N—�¡ÑOÐOùÒOó   �5¬5c                óD   <€ V ^8„  d   QhRS[ P                  S[,          /# rv   )r(   r)   rT   )r,   r-   s   "€r   r.   rl   ¾   s   ø€ ÷ 
ñ 
™Ÿ™™Õ/ñ 
r   c                ót   € V P                    Uu. uF  p\        V\        4      '       g   K  VNK  	  up# u upi )zLReturn a list of information on the exceptions that the function
may raise.
)rr   r€   rT   r�   s   & r   ÚraisesÚDocstring.raises½   s4   € ð "ŸYšYó
Ù&�T¬*°T¼?×*K�DˆD™Yñ
ð 	
ùò 
r…   c                óD   <€ V ^8„  d   QhRS[ P                  S[,          /# rv   )r(   r+   rK   )r,   r-   s   "€r   r.   rl   Ç   s   ø€ ÷ ñ ™Ÿ™Ñ$4Õ5ñ r   c                ó`   € V P                    F  p\        V\        4      '       g   K  Vu # 	  R# )zUReturn a single information on function return.

Takes the first return information.
N©rr   r€   rK   r�   s   & r   r   ÚDocstring.returnsÆ   s*   € ð —I”IˆDÜ˜$Ô 0×1Ô1Ø’ñ ñ r   c                óD   <€ V ^8„  d   QhRS[ P                  S[,          /# rv   )r(   r)   rK   )r,   r-   s   "€r   r.   rl   Ò   s   ø€ ÷ 
ñ 
™aŸf™fÑ%5Õ6ñ 
r   c                ót   € V P                    Uu. uF  p\        V\        4      '       g   K  VNK  	  up# u upi )z0Return a list of information on function return.rŒ   r�   s   & r   Úmany_returnsÚDocstring.many_returnsÑ   ó5   € ð "ŸYšYó
Ù&�T¬*°TÔ;K×*L�DˆD™Yñ
ð 	
ùò 
r…   c                óD   <€ V ^8„  d   QhRS[ P                  S[,          /# rv   )r(   r+   r[   )r,   r-   s   "€r   r.   rl   Ù   s   ø€ ÷ ñ ™QŸZ™ZÑ(;Õ<ñ r   c                ó`   € V P                    F  p\        V\        4      '       g   K  Vu # 	  R# )z:Return a single information on function deprecation notes.N)rr   r€   r[   r�   s   & r   r   ÚDocstring.deprecationØ   s*   € ð —I”IˆDÜ˜$Ô 3×4Ô4Ø’ñ ñ r   c                óD   <€ V ^8„  d   QhRS[ P                  S[,          /# rv   )r(   r)   rc   )r,   r-   s   "€r   r.   rl   á   s   ø€ ÷ 
ñ 
™!Ÿ&™&Ñ!1Õ2ñ 
r   c                ót   € V P                    Uu. uF  p\        V\        4      '       g   K  VNK  	  up# u upi )z2Return a list of information on function examples.)rr   r€   rc   r�   s   & r   r	   ÚDocstring.examplesà   r’   r…   )rq   rp   ro   rr   rn   rs   rR   )r   r   r   r   r   r3   Úpropertyr&   rƒ   rˆ   r   r�   r   r	   r   r5   r6   s   @r   rj   rj   –   s    ø‡ € Ù*÷
ò 
ð ÷ó ðð$ ÷Pó ðPð ÷
ó ð
ð ÷ó ðð ÷
ó ð
ð ÷ó ðð ÷
ó ö
r   rj   >   ÚargÚkeyÚparamÚkeywordÚargumentÚ	attributeÚ	parameter>   ÚraiseÚexceptrˆ   Ú	exception)r   ÚenumÚtypingr(   ÚPARAM_KEYWORDSÚRAISES_KEYWORDSÚDEPRECATION_KEYWORDSÚRETURNS_KEYWORDSÚYIELDS_KEYWORDSÚEXAMPLES_KEYWORDSÚRuntimeErrorr   ÚEnumr   r   r"   r8   rK   rT   r[   rc   rj   r   r   r   Ú<module>r®      sÅ   ðÙ !ã Û ò€ò =€Ø% |Ð4Ð Ø˜iÐ(Ð Ø˜HÐ%€Ø 
Ð+Ð ô5�ô 5ô�T—Y‘Yô ô�T—Y‘Yô ÷'ñ 'ô.�]ô ô('�}ô 'ô$'�mô 'ô'˜-ô 'ô'�}ô '÷O
ó O
r   