a *egc@sLdZddlmZdZdZdZdZddZd d Zd d Z d dZ ddZ dS)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.filterscCs,t}t|dr|j|dS||gSdS)Nselect)group)rhasattrrget)Z group_namegroupsrE/usr/local/lib/python3.9/site-packages/pip/_vendor/pygments/plugin.pyiter_entry_points+s  r ccsttD]}|VqdSN)r LEXER_ENTRY_POINTloadZ entrypointrrr find_plugin_lexers7s rccs"ttD]}|j|fVqdSr )r FORMATTER_ENTRY_POINTnamer rrrr find_plugin_formatters<s rccs"ttD]}|j|fVqdSr )r STYLE_ENTRY_POINTrr rrrr find_plugin_stylesAs rccs"ttD]}|j|fVqdSr )r FILTER_ENTRY_POINTrr rrrr find_plugin_filtersFs rN) __doc__importlib.metadatarr rrrr rrrrrrrr s"