⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
pygments
/
__pycache__
/
View File Name :
formatter.cpython-310.pyc
o ‡ÎÖaM ã @ sD d Z ddlZddlmZ ddlmZ dgZdd„ ZG dd„ dƒZdS ) z¾ pygments.formatter ~~~~~~~~~~~~~~~~~~ Base formatter class. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. é N)Úget_bool_opt)Úget_style_by_nameÚ Formatterc C s t | tƒr t| ƒS | S )N)Ú isinstanceÚstrr )Ústyle© r ú4/usr/lib/python3/dist-packages/pygments/formatter.pyÚ _lookup_style s r c @ s: e Zd ZdZdZg Zg ZdZdd„ Zddd„Z d d „ Z dS )r aŒ Converts a token stream to text. Options accepted: ``style`` The style to use, can be a string or a Style subclass (default: "default"). Not used by e.g. the TerminalFormatter. ``full`` Tells the formatter to output a "full" document, i.e. a complete self-contained document. This doesn't have any effect for some formatters (default: false). ``title`` If ``full`` is true, the title that should be used to caption the document (default: ''). ``encoding`` If given, must be an encoding name. This will be used to convert the Unicode token strings to byte strings in the output. If it is "" or None, Unicode strings will be written to the output file, which most file-like objects do not support (default: None). ``outencoding`` Overrides ``encoding`` if given. NTc K sl t | dd¡ƒ| _t|ddƒ| _| dd¡| _| dd ¡pd | _| jdv r(d | _| d ¡p/| j| _|| _d S )Nr ÚdefaultÚfullFÚtitleÚ Úencoding)ÚguessÚchardetzutf-8Úoutencoding)r Úgetr r r r r Úoptions)Úselfr r r r Ú__init__A s zFormatter.__init__r c C s dS )a Return the style definitions for the current style as a string. ``arg`` is an additional argument whose meaning depends on the formatter used. Note that ``arg`` can also be a list or tuple for some formatters like the html formatter. r r )r Úargr r r Úget_style_defsL s zFormatter.get_style_defsc C s&