U
    ýïcc¿  ã                   @   s@   d 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 )a0  
    pygments.plugin
    ~~~~~~~~~~~~~~~

    Pygments setuptools plugin interface. The methods defined
    here also work if setuptools isn't installed but they just
    return nothing.

    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-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
zpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc              	   C   s8   zddl m} W n ttfk
r,   g  Y S X | | ¡S )Né    )Úpkg_resources)Úpip._vendorr   ÚImportErrorÚOSErrorÚiter_entry_points)Z
group_namer   © r   úU/var/www/html/project/venv/lib/python3.8/site-packages/pip/_vendor/pygments/plugin.pyr   +   s
    
r   c                  c   s   t tƒD ]} |  ¡ V  qd S ©N)r   ÚLEXER_ENTRY_POINTÚload©Z
entrypointr   r   r   Úfind_plugin_lexers4   s    r   c                  c   s"   t tƒD ]} | j|  ¡ fV  qd S r	   )r   ÚFORMATTER_ENTRY_POINTÚnamer   r   r   r   r   Úfind_plugin_formatters9   s    r   c                  c   s"   t tƒD ]} | j|  ¡ fV  qd S r	   )r   ÚSTYLE_ENTRY_POINTr   r   r   r   r   r   Úfind_plugin_styles>   s    r   c                  c   s"   t tƒD ]} | j|  ¡ fV  qd S r	   )r   ÚFILTER_ENTRY_POINTr   r   r   r   r   r   Úfind_plugin_filtersC   s    r   N)
Ú__doc__r
   r   r   r   r   r   r   r   r   r   r   r   r   Ú<module>   s   $	