U
Ê—Re¿ ã @ s@ d Z dZdZdZdZdd„ Zdd„ Zd d
„ Zdd„ Zd
d„ Z dS )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.
zpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc C s8 zddl m} W n ttfk
r, g Y S X | | ¡S )Né )Ú
pkg_resources)Úpip._vendorr ÚImportErrorÚOSErrorÚiter_entry_points)Ú
group_namer © r úŠ/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/pygments/plugin.pyr + s
r c c s t tƒD ]} | ¡ V qd S ©N)r ÚLEXER_ENTRY_POINTÚload©Ú
entrypointr r r Úfind_plugin_lexers4 s r c c s" t tƒD ]} | j| ¡ fV qd S r
)r ÚFORMATTER_ENTRY_POINTÚnamer r
r r r Úfind_plugin_formatters9 s r c c s" t tƒD ]} | j| ¡ fV qd S r
)r ÚSTYLE_ENTRY_POINTr r r
r r r Úfind_plugin_styles> s r c c s" t tƒD ]} | j| ¡ fV qd 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 Ú