o
    6‘ðic  ã                   @   sL   d Z ddlmZ dZdZdZdZdd„ Zd	d
„ Zdd„ Z	dd„ Z
dd„ ZdS )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-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    )Úentry_pointszpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc                 C   s(   t ƒ }t|dƒr|j| d�S | | g ¡S )NÚselect)Úgroup)r   Úhasattrr   Úget)Ú
group_nameÚgroups© r	   úZ/root/parts/websockify/install/lib/python3.10/site-packages/pip/_vendor/pygments/plugin.pyÚiter_entry_points+   s   
r   c                  c   s   � t tƒD ]} |  ¡ V  qd S ©N)r   ÚLEXER_ENTRY_POINTÚload©Ú
entrypointr	   r	   r
   Úfind_plugin_lexers7   s   €ÿr   c                  c   ó$   � t tƒD ]
} | j|  ¡ fV  qd S r   )r   ÚFORMATTER_ENTRY_POINTÚnamer   r   r	   r	   r
   Úfind_plugin_formatters<   ó   €ÿr   c                  c   r   r   )r   ÚSTYLE_ENTRY_POINTr   r   r   r	   r	   r
   Úfind_plugin_stylesA   r   r   c                  c   r   r   )r   ÚFILTER_ENTRY_POINTr   r   r   r	   r	   r
   Úfind_plugin_filtersF   r   r   N)Ú__doc__Úimportlib.metadatar   r   r   r   r   r   r   r   r   r   r	   r	   r	   r
   Ú<module>   s    "