U
    cUhc                     @   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-2024 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 d S )Nselect)group)r   hasattrr   get)Z
group_namegroups r   [/opt/bot/vods_filmes/script/venv/lib/python3.8/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Z
entrypointr   r   r	   find_plugin_lexers7   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_formatters<   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_stylesA   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_filtersF   s    r   N)__doc__importlib.metadatar   r   r   r   r   r
   r   r   r   r   r   r   r   r	   <module>   s   "