+
    ÆÚj  ã                   ó¬   € R t ^ RIt^ RIt^ RIt^ RIt^ RIHt ^RIH	t	H
t
 R R ltR R ltR R	 ltR
 R lt ! R R]P                  4      tR R ltR# )zbAttribute docstrings parsing.

.. seealso:: https://peps.python.org/pep-0257/#what-is-a-docstring
N)Ú
ModuleType)Ú	DocstringÚDocstringParamc                óX   € V ^8„  d   QhR\         P                  R\        P                  /# ©é   ÚnodeÚreturn)ÚastÚASTÚTÚAny)Úformats   "Ú�/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/docstring_parser/attrdoc.pyÚ__annotate__r      s"   € ÷ "ñ "¤§¡ð "¬Q¯U©Uñ "ó    c                ó   € \        V R4      # )z<Return the constant's value if the given node is a constant.Úvalue)Úgetattr©r   s   &r   Úast_get_constant_valuer      s   € ä�4˜Ó!Ð!r   c                ón   € V ^8„  d   QhR\         P                  R\        P                  \        ,          /# r   )r
   r   r   ÚOptionalÚstr)r   s   "r   r   r      s&   € ÷ 	ñ 	”c—g‘gð 	¤!§*¡*¬S¥/ñ 	r   c                ó  € \        \        R4      '       d   \        P                  ! V 4      # \        V \        P                  4      '       d   \        \        V 4      4      # \        V \        P                  4      '       d   V P                  # R# )z0Convert the AST node to source code as a string.ÚunparseN)	Úhasattrr
   r   Ú
isinstanceÚConstantr   r   ÚNameÚidr   s   &r   Úast_unparser!      s]   € äŒs�I×ÒÜ�{Š{˜4Ó Ð ä�$œŸ™×%Ò%ÜÔ)¨$Ó/Ó0Ð0Ü�$œŸ™×!Ò!Ø�w‰wˆÙr   c                óD   € V ^8„  d   QhR\         P                  R\        /# r   )r
   r   Úbool)r   s   "r   r   r       s   € ÷ ñ œSŸW™Wð ¬ñ r   c                óä   € \        V \        P                  4      ;'       dP    \        V P                  \        P                  4      ;'       d$    \        \        V P                  4      \        4      # )z2Return True if the given node is a literal string.)r   r
   ÚExprr   r   r   r   r   s   &r   Úast_is_literal_strr&       sU   € ô 	�4œŸ™Ó"÷ 	@ð 	@Ü�t—z‘z¤3§<¡<Ó0÷	@ð 	@äÔ-¨d¯j©jÓ9¼3Ó?ðr   c          	      ó  € V ^8„  d   QhR\         P                  R\        P                  \        P                  \
        \        P                  \
        ,          \        P                  \
        ,          3,          ,          /# r   )r
   r   r   r   ÚTupler   )r   s   "r   r   r   )   sI   € ÷ ñ Ü
�'‰'ðä‡Z�Z”—‘œœQŸZ™Z¬�_¬a¯j©j¼­oÐ=Õ>Õ?ñr   c                ó   € \        V \        P                  \        P                  34      '       dÎ   \        V \        P                  4      '       d   V P                  ^ ,          MV P
                  p\        V\        P                  4      '       do   Rp\        V \        P                  4      '       d   \        V P                  4      pRpV P                  '       d   \        V P                  4      pVP                  W#3# R# )z@Return name, type and default if the given node is an attribute.N)r   r
   ÚAssignÚ	AnnAssignÚtargetsÚtargetr   r!   Ú
annotationr   r    )r   r-   Útype_strÚdefaults   &   r   Úast_get_attributer1   )   s©   € ô �$œŸ™¤S§]¡]Ð3×4Ò4ä)¨$´·
±
×;Ò;ˆD�L‰L˜ŽOÀÇÁð 	ô �fœcŸh™h×'Ò'ØˆHÜ˜$¤§¡×.Ò.Ü& t§¡Ó7�ØˆGØ�z�zˆzÜ% d§j¡jÓ1�Ø—9‘9˜hÐ/Ð/Ùr   c                   óD   a € ] tR t^<t o RtRtRtR tV 3R lR ltRt	V t
R# )ÚAttributeDocstringsz6An ast.NodeVisitor that collects attribute docstrings.Nc                óZ  € V P                   '       dF   \        V4      '       d5   V P                   w  r#p\        VP                  4      VV3V P                  V&   \        V4      V n         \        V\        P                  \        P                  34      '       d   V P                  V4       R # R # ©N)Ú	prev_attrr&   r   r   Ú	attr_docsr1   r   r
   ÚClassDefÚModuleÚgeneric_visit)Úselfr   Ú	attr_nameÚ	attr_typeÚattr_defaults   &&   r   ÚvisitÚAttributeDocstrings.visitB   s�   € Ø�>�>ˆ>Ô0°×6Ò6Ø15·±Ñ.ˆI ,ä& t§z¡zÓ2ØØð)ˆD�N‰N˜9Ñ%ô
 +¨4Ó0ˆŒÜ�dœSŸ\™\¬3¯:©:Ð6×7Ò7Ø×Ñ˜tÖ$ñ 8r   c          
      óÚ   <€ V ^8„  d   QhRS[ P                  RS[ P                  S[S[ P                  S[S[ P
                  S[,          S[ P
                  S[,          3,          3,          /# )r   Ú	componentr	   )r   r   ÚDictr   r(   r   )r   Ú__classdict__s   "€r   r   Ú AttributeDocstrings.__annotate__N   sO   ø€ ÷ ñ ÙŸ™ðá	
�‰‘‘Q—W‘W™S¡!§*¡*©S¥/±1·:±:¹cµ?ÐBÕCÐCÕ	Dñr   c                óH  € / V n         RV n         \        P                  ! \        P
                  ! V4      4      p\        P                  ! V4      p\        P                  ! V4      '       d   V P                  V4       V P                   # \        V\        P                  4      '       dT   \        VP                  ^ ,          \        P                  4      '       d#   V P                  VP                  ^ ,          4       V P                   #   \         d     T P                   # i ; i)zÃGet attribute docstrings from the given component.

:param component: component to process (class or module)
:returns: for each attribute docstring, a tuple with (description,
    type, default)
N)r7   r6   ÚtextwrapÚdedentÚinspectÚ	getsourcer
   ÚparseÚismoduler?   r   r9   Úbodyr8   ÚOSError)r;   rB   ÚsourceÚtrees   &&  r   Úget_attr_docsÚ!AttributeDocstrings.get_attr_docsN   sÙ   € ð ˆŒØˆŒð	)Ü—_’_¤W×%6Ò%6°yÓ%AÓBˆFô —9’9˜VÓ$ˆDÜ×Ò 	×*Ò*Ø—
‘
˜4Ô ð
 �~‰~Ðô	 ˜D¤#§*¡*×-Ò-´*Ø—	‘	˜!•œcŸl™l÷3ò 3ð —
‘
˜4Ÿ9™9 Q�<Ô(Ø�~‰~Ðøô ô 	Øð �~‰~Ðð	ús   �*D ÄD!Ä D!)r7   r6   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r7   r6   r?   rQ   Ú__static_attributes__Ú__classdictcell__)rD   s   @r   r3   r3   <   s!   ø‡ € Ù@à€IØ€Iò
%÷ö r   r3   c                ój   € V ^8„  d   QhR\         P                  \        \        3,          R\        RR/# )r   ÚobjÚ	docstringr	   N)r   ÚUnionÚtyper   r   )r   s   "r   r   r   h   s2   € ÷ )ñ )Ü	
�‰””zÐ!Õ	"ð)Ü/8ð)à	ñ)r   c           
     ó  € \        R VP                   4       4      p\        4       P                  V 4      P	                  4        FA  w  pw  rEpW29  g   K  \        RV.VVVVRJVR7      pVP                  P                  V4       KC  	  R# )zëAdd attribute docstrings found in the object's source code.

:param obj: object from which to parse attribute docstrings
:param docstring: Docstring object where found attributes are added
:returns: list with names of added attributes
c              3   ó8   "  € T F  qP                   x € K  	  R # 5ir5   )Úarg_name)Ú.0Úps   & r   Ú	<genexpr>Ú+add_attribute_docstrings.<locals>.<genexpr>q   s   é € Ð6Ñ%5 —–Ó%5ùs   ‚Ú	attributeN)ÚargsÚdescriptionra   Ú	type_nameÚis_optionalr0   )ÚsetÚparamsr3   rQ   Úitemsr   ÚmetaÚappend)r[   r\   rl   ra   rh   ri   r0   Úparams   &&      r   Úadd_attribute_docstringsrq   h   s‰   € ô Ñ6 Y×%5Ò%5Ó6Ó6€FäÓ×+Ñ+¨CÓ0×6Ñ6Ö8ñ 	4ˆÑ3�;¨7ð Ö!Ü"Ø! 8Ð,Ø'Ø!Ø#Ø#¨4Ð/ØôˆEð �N‰N×!Ñ! %Ö(ó 	9r   )rW   r
   rI   rG   Útypingr   Útypesr   Úcommonr   r   r   r!   r&   r1   ÚNodeVisitorr3   rq   © r   r   Ú<module>rw      sH   ðñó
 Û Û Û Ý ç -õ"õ
	õõô&)˜#Ÿ/™/ô )÷X)r   