403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/sqlparse/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/sqlparse/__pycache__/lexer.cpython-311.pyc
�

�e}_�	��\�dZddlmZddlmZddlmZddlmZGd�d��Z	d
d	�Z
dS)z	SQL Lexer�)�
TextIOBase)�tokens)�	SQL_REGEX)�consumec�*�eZdZdZedd���ZdS)�Lexerz?Lexer
    Empty class. Leaving for backwards-compatibility
    Nc#�RK�t|t��r|���}t|t��rn�t|t��rT|r|�|��}nk	|�d��}nT#t$r|�d��}Yn3wxYwtd�t|�������t|��}|D]�\}}tD]�\}}|||��}|s�t|tj
��r||���fV�n.t|��r||�����V�t!||���|z
dz
��ntj|fV���dS)a�
        Return an iterable of (tokentype, value) pairs generated from
        `text`. If `unfiltered` is set to `True`, the filtering mechanism
        is bypassed even if filters are defined.

        Also preprocess the text, i.e. expand tabs and strip it if
        wanted and applies registered filters.

        Split ``text`` into (tokentype, text) pairs.

        ``stack`` is the initial stack (default: ``['root']``)
        zutf-8zunicode-escapez+Expected text or file-like object, got {!r}�N)�
isinstancer�read�str�bytes�decode�UnicodeDecodeError�	TypeError�format�type�	enumeraterr�
_TokenType�group�callabler�end�Error)�text�encoding�iterable�pos�char�rexmatch�action�ms        �0/usr/lib/python3/dist-packages/sqlparse/lexer.py�
get_tokenszLexer.get_tokenss������d�J�'�'�	��9�9�;�;�D��d�C� � �	0��
��e�
$�
$�
	0��
9��{�{�8�,�,���9��;�;�w�/�/�D�D��)�9�9�9��;�;�'7�8�8�D�D�D�9�����I�"�F�4��:�:�.�.�0�0�
0��T�?�?��!�	)�	)�I�C��$-�

)�

)� ��&��H�T�3�'�'���,�����(9�:�:�,� �!�'�'�)�)�+�+�+�+�+��f�%�%�,� �&������+�+�+�+�+���!�%�%�'�'�C�-�!�"3�4�4�4����l�D�(�(�(�(��	)�	)s�0B�B(�'B(�N)�__name__�
__module__�__qualname__�__doc__�staticmethodr#��r"rrs>���������-)�-)�-)��\�-)�-)�-)r+rNc�F�t���||��S)z�Tokenize sql.

    Tokenize *sql* using the :class:`Lexer` and return a 2-tuple stream
    of ``(token type, value)`` items.
    )rr#)�sqlrs  r"�tokenizer.Ls���7�7���c�8�,�,�,r+r$)r(�ior�sqlparser�sqlparse.keywordsr�sqlparse.utilsrrr.r*r+r"�<module>r3s�����������������'�'�'�'�'�'�"�"�"�"�"�"�3)�3)�3)�3)�3)�3)�3)�3)�l-�-�-�-�-�-r+

Youez - 2016 - github.com/yon3zu
LinuXploit