3 ��X� � @ 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 s, ydd l }W n tk r g S X |j| �S )N� )� pkg_resources�ImportError�iter_entry_points)Z group_namer � r �/usr/lib/python3.6/plugin.pyr + s r c c s xt t�D ]} | j� V q W d S )N)r �LEXER_ENTRY_POINT�load)� entrypointr r r �find_plugin_lexers3 s r c c s&