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   s0   ydd l }W n ttfk
r$   g S X | | ¡S )Né    )Úpkg_resourcesÚImportErrorÚOSErrorÚiter_entry_points)Z
group_namer   © r   úW/home/kop/projects/devel/pgwui/test_venv/lib/python3.7/site-packages/pygments/plugin.pyr   +   s
    r   c              c   s    xt tƒD ]} |  ¡ V  q
W d S )N)r   ÚLEXER_ENTRY_POINTÚload)Ú
entrypointr   r   r   Úfind_plugin_lexers4   s    r   c              c   s&   x t tƒD ]} | j|  ¡ fV  q
W d S )N)r   ÚFORMATTER_ENTRY_POINTÚnamer	   )r
   r   r   r   Úfind_plugin_formatters9   s    r   c              c   s&   x t tƒD ]} | j|  ¡ fV  q
W d S )N)r   ÚSTYLE_ENTRY_POINTr   r	   )r
   r   r   r   Úfind_plugin_styles>   s    r   c              c   s&   x t tƒD ]} | j|  ¡ fV  q
W d S )N)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   	