404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.147.47.50: ~ $
3

��X��@sJdZddlZddlmZmZddlmZdgZdd�ZGdd�de	�Z
dS)	z�
    pygments.formatter
    ~~~~~~~~~~~~~~~~~~

    Base formatter class.

    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�get_bool_opt�string_types)�get_style_by_name�	FormattercCst|t�rt|�S|S)N)�
isinstancerr)�style�r�/usr/lib/python3.6/formatter.py�
_lookup_styles
r
c@s:eZdZdZdZgZgZdZdd�Zddd�Z	d	d
�Z
dS)ra�
    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.
    NTcKslt|jdd��|_t|dd�|_|jdd�|_|jdd�p<d|_|jdkrPd
|_|jd�p^|j|_||_dS)
Nr�default�fullF�title��encoding�guess�chardetzutf-8Zoutencoding)rr)r
�getrrrr
r�options)�selfrrrr	�__init__Bs
zFormatter.__init__rcCsdS)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.
        rr)r�argrrr	�get_style_defsMszFormatter.get_style_defscCs&|jrtj|j�d|�}|j||�S)z�
        Format ``tokensource``, an iterable of ``(tokentype, tokenstring)``
        tuples and write it into ``outfile``.
        �)r�codecs�lookupZformat_unencoded)rZtokensourceZoutfilerrr	�formatWszFormatter.format)r)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesZ
unicodeoutputrrrrrrr	rs

)rrZ
pygments.utilrrZpygments.stylesr�__all__r
�objectrrrrr	�<module>
s

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 2.98 KB 0644
__init__.cpython-36.pyc File 2.98 KB 0644
cmdline.cpython-36.opt-1.pyc File 12.1 KB 0644
cmdline.cpython-36.pyc File 12.1 KB 0644
console.cpython-36.opt-1.pyc File 1.85 KB 0644
console.cpython-36.pyc File 1.85 KB 0644
filter.cpython-36.opt-1.pyc File 2.54 KB 0644
filter.cpython-36.pyc File 2.54 KB 0644
formatter.cpython-36.opt-1.pyc File 2.86 KB 0644
formatter.cpython-36.pyc File 2.86 KB 0644
lexer.cpython-36.opt-1.pyc File 22.95 KB 0644
lexer.cpython-36.pyc File 23.56 KB 0644
modeline.cpython-36.opt-1.pyc File 1.09 KB 0644
modeline.cpython-36.pyc File 1.09 KB 0644
plugin.cpython-36.opt-1.pyc File 1.94 KB 0644
plugin.cpython-36.pyc File 1.94 KB 0644
regexopt.cpython-36.opt-1.pyc File 2.73 KB 0644
regexopt.cpython-36.pyc File 2.73 KB 0644
scanner.cpython-36.opt-1.pyc File 3.38 KB 0644
scanner.cpython-36.pyc File 3.38 KB 0644
sphinxext.cpython-36.opt-1.pyc File 4.38 KB 0644
sphinxext.cpython-36.pyc File 4.38 KB 0644
style.cpython-36.opt-1.pyc File 3.61 KB 0644
style.cpython-36.pyc File 3.66 KB 0644
token.cpython-36.opt-1.pyc File 4.14 KB 0644
token.cpython-36.pyc File 4.14 KB 0644
unistring.cpython-36.opt-1.pyc File 25.67 KB 0644
unistring.cpython-36.pyc File 25.67 KB 0644
util.cpython-36.opt-1.pyc File 10.27 KB 0644
util.cpython-36.pyc File 10.27 KB 0644