Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/pygments/__pycache__/ |
Upload File : |
o ���a� � @ 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-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. zpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc C s2 zdd l }W n ttfy g Y S w |�| �S )N� )� pkg_resources�ImportError�OSError�iter_entry_points)� 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�� entrypointr r r �find_plugin_lexers4 s ��r c c �$ � t t�D ] } | j| �� fV qd S r )r �FORMATTER_ENTRY_POINT�namer r r r r �find_plugin_formatters9 � ��r c c r r )r �STYLE_ENTRY_POINTr r r r r r �find_plugin_styles>