+
    Ri                        R t ^ RIHt ^ RIHt ^RIHt ]'       d   ^ RIHt ^ RI	H
t
 . ROtR R ltR R ltR	 R
 ltR# )z
Adaptor for building prompt_toolkit styles, starting from a Pygments style.

Usage::

    from pygments.styles.tango import TangoStyle
    style = style_from_pygments_cls(pygments_style_cls=TangoStyle)
)annotations)TYPE_CHECKINGStyle)Tokenc                    V ^8  d   QhRRRR/# )   pygments_style_clsztype[PygmentsStyle]returnr    )formats   "]/home/ubuntu/hermes-agent/venv/lib/python3.14/site-packages/prompt_toolkit/styles/pygments.py__annotate__r      s     ? ?0C ? ?    c                ^    ^ RI Hp \        W4      '       g   Q h\        V P                  4      # )ao  
Shortcut to create a :class:`.Style` instance from a Pygments style class
and a style dictionary.

Example::

    from prompt_toolkit.styles.from_pygments import style_from_pygments_cls
    from pygments.styles import get_style_by_name
    style = style_from_pygments_cls(get_style_by_name('monokai'))

:param pygments_style_cls: Pygments style class to start from.
r   )pygments.styler   
issubclassstyle_from_pygments_dictstyles)r	   PygmentsStyles   & r   style_from_pygments_clsr      s+     6(8888#$6$=$=>>r   c                    V ^8  d   QhRRRR/# )r   pygments_dictzdict[Token, str]r
   r   r   )r   s   "r   r   r   1   s     
! 
!,< 
! 
!r   c                    . pV P                  4        F!  w  r#VP                  \        V4      V34       K#  	  \        V4      # )zu
Create a :class:`.Style` instance from a Pygments style dictionary.
(One that maps Token objects to style strings.)
)itemsappendpygments_token_to_classnamer   )r   pygments_styletokenstyles   &   r   r   r   1   sD    
 N%++-:5A5IJ .   r   c                    V ^8  d   QhRRRR/# )r   r   r   r
   strr   )r   s   "r   r   r   >   s     # #u # #r   c                R    RV ,           pRP                  V4      P                  4       # )z
Turn e.g. `Token.Name.Exception` into `'pygments.name.exception'`.

(Our Pygments lexer will also turn the tokens that pygments produces in a
prompt_toolkit list of fragments that match these styling rules.)
.)pygments)joinlower)r   partss   & r   r   r   >   s%     E!E88E?  ""r   N)r   r   r   )__doc__
__future__r   typingr   r   r   r   r   pygments.tokenr   __all__r   r   r   r   r   r   <module>r-      s4    #   5$?*
!#r   