
    j                     \    d Z ddlZdZdZdZdZej                  d        Zd Zd	 Z	d
 Z
d Zy)a  
    pygments.plugin
    ~~~~~~~~~~~~~~~

    Pygments plugin interface.

    lexer plugins::

        [pygments.lexers]
        yourlexer = yourmodule:YourLexer

    formatter plugins::

        [pygments.formatters]
        yourformatter = yourformatter:YourFormatter
        /.ext = yourformatter:YourFormatter

    As you can see, you can define extensions for the formatter
    with a leading slash.

    syntax plugins::

        [pygments.styles]
        yourstyle = yourstyle:YourStyle

    filter plugin::

        [pygments.filter]
        yourfilter = yourfilter:YourFilter


    :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    Nzpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc                 |    ddl m}  |       }t        |d      r|j                  |       S |j	                  | g       S )Nr   )entry_pointsselect)group)importlib.metadatar   hasattrr   get)
group_namer   groupss      x/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/tests/profile-test-deps/pygments/plugin.pyiter_entry_pointsr   +   s<    /^Fvx  }}:}.. zz*b))    c               #   X   K   t        t              D ]  } | j                           y wN)r   LEXER_ENTRY_POINTload
entrypoints    r   find_plugin_lexersr   :   s#     '(9:
oo ;s   (*c               #   p   K   t        t              D ]   } | j                  | j                         f " y wr   )r   FORMATTER_ENTRY_POINTnamer   r   s    r   find_plugin_formattersr   ?   s,     '(=>
ooz000 ?   46c               #   p   K   t        t              D ]   } | j                  | j                         f " y wr   )r   STYLE_ENTRY_POINTr   r   r   s    r   find_plugin_stylesr   D   s,     '(9:
ooz000 ;r   c               #   p   K   t        t              D ]   } | j                  | j                         f " y wr   )r   FILTER_ENTRY_POINTr   r   r   s    r   find_plugin_filtersr    I   s,     '(:;
ooz000 <r   )__doc__	functoolsr   r   r   r   cacher   r   r   r   r     r   r   <module>r%      sT   !D % - % '  * * 
1
1
1r   