+
    ~j                     D   R t ^ RIt^ RIt^ RIHtHtHtHt ^ RI	H
t
 ^ RIHtHtHtHt ]P                   ]]P"                  ]]P$                  ]]P&                  ]/t]P*                  3R R llt]P*                  3R R llt]P*                  ]P0                  R	3R
 R lltR# )zThe main parsing routine.N)epydocgooglenumpydocrest)add_attribute_docstrings)	DocstringDocstringStyle
ParseErrorRenderingStylec                f    V ^8  d   QhR\         P                  \        ,          R\        R\        /# )   textstylereturn)TOptionalstrr   r   )formats   "l/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/docstring_parser/parser.py__annotate__r      s1     D D
**S/D"0DD    c                ^   V\         P                  8w  d   \        V,          P                  V 4      # Rp. p\        P	                  4        F&  p VP                  V 4      pVP                  V4       K(  	  V'       g   Vh\        VR RR7      ^ ,          #   \         d   pTp Rp?K]  Rp?ii ; i)zParse the docstring into its components.

:param text: docstring text to parse
:param style: docstring style
:returns: parsed docstring representation
Nc                 ,    \        V P                  4      # )N)lenmeta)ds   &r   <lambda>parse.<locals>.<lambda>0   s    c!&&kr   T)keyreverse)r   AUTO
_STYLE_MAPparsevaluesappendr	   sorted)r   r   excretsmoduleretexs   &&     r   r"   r"      s     ###% &&t,,!%CD##%	,,t$C KK & 	$14@CC  	C	s   BB,B''B,c                P    V ^8  d   QhR\         P                  R\        R\        /# )r   objr   r   )r   Anyr   r   )r   s   "r   r   r   3   s*      	
 r   c                    \        V P                  VR7      p\        P                  ! V 4      '       g   \        P                  ! V 4      '       d   \        W4       V# )a  Parse the object's docstring(s) into its components.

The object can be anything that has a ``__doc__`` attribute. In contrast to
the ``parse`` function, ``parse_from_object`` is able to parse attribute
docstrings which are defined in the source code instead of ``__doc__``.

Currently only attribute docstrings defined at class and module levels are
supported. Attribute docstrings defined in ``__init__`` methods are not
supported.

When given a class, only the attribute docstrings of that class are parsed,
not its inherited classes. This is a design decision. Separate calls to
this function should be performed to get attribute docstrings of parent
classes.

:param obj: object from which to parse the docstring(s)
:param style: docstring style
:returns: parsed docstring representation
)r   )r"   __doc__inspectisclassismoduler   )r,   r   	docstrings   && r   parse_from_objectr4   3   sA    . ckk/Isw//44 0r   z    c          
      T    V ^8  d   QhR\         R\        R\        R\        R\        /# )r   r3   r   rendering_styleindentr   )r   r   r
   r   )r   s   "r   r   r   R   s:       $ 	
 	r   c                    \         V\        P                  8X  d   V P                  MT,          pVP	                  WVR7      # )zRender a parsed docstring into docstring text.

:param docstring: parsed docstring representation
:param style: docstring style to render
:param indent: the characters used as indentation in the docstring string
:returns: docstring text
)r6   r7   )r!   r   r    r   compose)r3   r   r6   r7   r(   s   &&&& r   r9   r9   R   sA      N$7$77	UF >>6   r   )r/   r0   typingr   docstring_parserr   r   r   r   docstring_parser.attrdocr   docstring_parser.commonr   r   r	   r
   RESTGOOGLENUMPYDOCEPYDOCr!   r    r"   r4   COMPACTr9    r   r   <module>rD      s       ; ; =  6X6	
 4B3F3FD< +//B +//&4&<&<	 r   