�
F�gc � �D � d Z ddlmZ dZdZdZdZd� Zd� Zd � Z d
� Z
d� ZdS )
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_pointszpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc � � t � � }t |d� � r|� | �� � S |� | g � � S )N�select)�group)r �hasattrr �get)�
group_name�groupss �_/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/pygments/plugin.py�iter_entry_pointsr + sI � �
�^�^�F��v�x� � � *� �}�}�:�}�.�.�.� �z�z�*�b�)�)�)� c # �d K � t t � � D ]} | � � � V � �d S �N)r �LEXER_ENTRY_POINT�load��
entrypoints r �find_plugin_lexersr 7 sA � � � �'�(9�:�:� � �
��o�o������� � r
c # �r K � t t � � D ]} | j | � � � fV � � d S r )r �FORMATTER_ENTRY_POINT�namer r s r �find_plugin_formattersr <