관리-도구
편집 파일: plugin.cpython-38.pyc
U &?�fc � @ sL d Z ddlmZ dZdZdZdZdd� Zd d � Zdd� Z d d� Z dd� 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-2024 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )�entry_pointszpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc C s, t � }t|d�r|j| d�S |�| g �S d S )N�select)�group)r �hasattrr �get)� group_name�groups� r �I/opt/hc_python/lib/python3.8/site-packages/pip/_vendor/pygments/plugin.py�iter_entry_points+ s r c c s t t�D ]} | �� V qd S �N)r �LEXER_ENTRY_POINT�load�� entrypointr r r �find_plugin_lexers7 s r c c s"