Current Path: > > opt > hc_python > lib64 > python3.12 > site-packages > pip > _vendor > pygments >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
filters | Directory | - | - | |
formatters | Directory | - | - | |
lexers | Directory | - | - | |
styles | Directory | - | - | |
__init__.py | File | 2983 bytes | May 23 2025 10:34:25. | |
__main__.py | File | 353 bytes | May 23 2025 10:34:25. | |
console.py | File | 1718 bytes | May 23 2025 10:34:25. | |
filter.py | File | 1910 bytes | May 23 2025 10:34:25. | |
formatter.py | File | 4390 bytes | May 23 2025 10:34:25. | |
lexer.py | File | 35349 bytes | May 23 2025 10:34:25. | |
modeline.py | File | 1005 bytes | May 23 2025 10:34:25. | |
plugin.py | File | 1891 bytes | May 23 2025 10:34:25. | |
regexopt.py | File | 3072 bytes | May 23 2025 10:34:25. | |
scanner.py | File | 3092 bytes | May 23 2025 10:34:25. | |
sphinxext.py | File | 7981 bytes | May 23 2025 10:34:25. | |
style.py | File | 6420 bytes | May 23 2025 10:34:25. | |
token.py | File | 6226 bytes | May 23 2025 10:34:25. | |
unistring.py | File | 63208 bytes | May 23 2025 10:34:25. | |
util.py | File | 10031 bytes | May 23 2025 10:34:25. |
""" 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-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from importlib.metadata import entry_points LEXER_ENTRY_POINT = 'pygments.lexers' FORMATTER_ENTRY_POINT = 'pygments.formatters' STYLE_ENTRY_POINT = 'pygments.styles' FILTER_ENTRY_POINT = 'pygments.filters' def iter_entry_points(group_name): groups = entry_points() if hasattr(groups, 'select'): # New interface in Python 3.10 and newer versions of the # importlib_metadata backport. return groups.select(group=group_name) else: # Older interface, deprecated in Python 3.10 and recent # importlib_metadata, but we need it in Python 3.8 and 3.9. return groups.get(group_name, []) def find_plugin_lexers(): for entrypoint in iter_entry_points(LEXER_ENTRY_POINT): yield entrypoint.load() def find_plugin_formatters(): for entrypoint in iter_entry_points(FORMATTER_ENTRY_POINT): yield entrypoint.name, entrypoint.load() def find_plugin_styles(): for entrypoint in iter_entry_points(STYLE_ENTRY_POINT): yield entrypoint.name, entrypoint.load() def find_plugin_filters(): for entrypoint in iter_entry_points(FILTER_ENTRY_POINT): yield entrypoint.name, entrypoint.load()
SILENT KILLER Tool