https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/special.cpython-310.pyc
o

���av
�@s�dZddlZddlZddlmZddlmZmZmZm	Z	ddl
mZgd�ZGdd�de�Z
Gd	d
�d
e�ZiZe�d�ZGdd
�d
e�ZdS)z�
    pygments.lexers.special
    ~~~~~~~~~~~~~~~~~~~~~~~

    Special lexers.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�Lexer)�Token�Error�Text�Generic)�get_choice_opt)�	TextLexer�OutputLexer�
RawTokenLexerc@s:eZdZdZdZdgZdgZdgZdZdd�Z	d	d
�Z
dS)rz3
    "Null" lexer, doesn't highlight anything.
    z	Text only�textz*.txtz
text/plaing{�G�z�?ccs�dt|fVdS�Nr)r��selfr�r�9/usr/lib/python3/dist-packages/pygments/lexers/special.py�get_tokens_unprocessed s�z TextLexer.get_tokens_unprocessedcCstjS)N)r�priority)rrrr�analyse_text#szTextLexer.analyse_textN)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypesrrrrrrrrsrc@s"eZdZdZdZdgZdd�ZdS)r	zj
    Simple lexer that highlights everything as ``Token.Generic.Output``.

    .. versionadded:: 2.10
    zText output�outputccs�dtj|fVdSr)r�Outputr
rrrr0s�z"OutputLexer.get_tokens_unprocessedN)rrrrrrrrrrrr	's
r	z.*?
c@s:eZdZdZdZgZgZdgZdd�Zdd�Z	dd	�Z
d
S)r
a
    Recreate a token stream formatted with the `RawTokenFormatter`.

    Additional options accepted:

    `compress`
        If set to ``"gz"`` or ``"bz2"``, decompress the token stream with
        the given compression algorithm before lexing (default: ``""``).
    zRaw token datazapplication/x-pygments-tokenscKs*t|dgd�d�|_tj|fi|��dS)N�compress)��none�gz�bz2r)rrr�__init__)r�optionsrrrr#Hs�zRawTokenLexer.__init__ccs��|jr?t|t�r|�d�}z|jdkrddl}|�|�}n|jdkr,ddl}|�|�}Wnty>t|�	d�fVYnwt|t
�rI|�	d�}|�d�d}|�|�D]
\}}}||fVqUdS)N�latin1r!rr"�
)
r�
isinstance�str�encode�gzip�
decompressr"�OSErrorr�decode�bytes�stripr)rrr*r"�i�t�vrrr�
get_tokensMs*�




��

�zRawTokenLexer.get_tokensc	
cs��d}t�|�D]h}zH|�����dd�\}}t�|�}|sCt}|�d�dd�}|D]}|r5|d��s9t	d��t
||�}q+|t|<t�|�}t
|t�sQt	d��Wntt	fyc|��}t}Ynw|||fV|t|�7}qdS)Nr�	��.zmalformed token namezexpected str)�line_re�finditer�group�rstrip�split�_ttype_cache�getr�isupper�
ValueError�getattr�ast�literal_evalr'r(�SyntaxErrorr�len)	rr�length�match�ttypestr�val�ttype�ttypes�ttype_rrrrbs2�


���z$RawTokenLexer.get_tokens_unprocessedN)rrrrrrrrr#r3rrrrrr
9s	r
)rrA�re�pygments.lexerr�pygments.tokenrrrr�
pygments.utilr�__all__rr	r<�compiler7r
rrrr�<module>s



https://t.me/RX1948 - 2025