File: //usr/lib/python3/dist-packages/pygments/__pycache__/plugin.cpython-38.pyc
U
�[� � @ 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-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
zpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc C s4 zdd l }W n ttfk
r( g Y S X |�| �S )N� )�
pkg_resources�ImportError�IOError�iter_entry_points)Z
group_namer � r �1/usr/lib/python3/dist-packages/pygments/plugin.pyr , s
r c c s t t�D ]} | �� V qd S �N)r �LEXER_ENTRY_POINT�load�Z
entrypointr r r �find_plugin_lexers5 s r c c s"