a
    ;@b®  ã                   @   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-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
zpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc              	   C   s2   zdd l }W n ttfy&   g  Y S 0 | | ¡S )Né    )Úpkg_resourcesÚImportErrorÚOSErrorÚiter_entry_points)Z
group_namer   © r   ú.lib/python3.9/site-packages/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   $	