Your IP : 3.149.254.35


Current Path : /opt/alt/python311/lib64/python3.11/json/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/json/__pycache__/scanner.cpython-311.opt-1.pyc

�

c��fy	���dZddlZ	ddlmZn
#e$rdZYnwxYwdgZejdejej	zej
z��Zd�ZepeZdS)zJSON token scanner
�N)�make_scannerrz)(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?c����������	�
���
�|j�|j�|j�tj�|j�
|j�	|j�
|j�|j	�|j
�|j���������	�
���
fd����fd�}|S)Nc�b��	||}n#t$rt|��d�wxYw|dkr�||dz���S|dkr�||dzf�����
��S|dkr�
||dzf���S|dkr|||dz�dkrd|dzfS|dkr|||dz�d	krd
|dzfS|dkr|||dz�d
krd|dzfS�	||��}|�S|���\}}}|s|r�||pdz|pdz��}n�|��}||���fS|dkr!|||dz�dkr�d��|dzfS|dkr!|||dz�dkr�d��|dzfS|dkr!|||dz�dkr�d��|dzfSt|���)N�"��{�[�n��null�t�trueT�f��falseF��N��NaN�I��Infinity�-�	z	-Infinity)�
IndexError�
StopIteration�groups�end)�string�idx�nextchar�m�integer�frac�exp�res�
_scan_once�match_number�memo�object_hook�object_pairs_hook�parse_array�parse_constant�parse_float�	parse_int�parse_object�parse_string�stricts        �������������3/opt/alt/python311/lib64/python3.11/json/scanner.pyr'z#py_make_scanner.<locals>._scan_onces|���	/��c�{�H�H���	/�	/�	/���$�$�$�.�	/�����s�?�?��<���a���8�8�8�
��_�_��<���q�� 1�6��K�):�D�B�B�
B�
��_�_��;���a��0�*�=�=�=�
��_�_���C�!�G��!4��!>�!>���q��=� �
��_�_���C�!�G��!4��!>�!>���q��=� �
��_�_���C�!�G��!4��!?�!?��#��'�>�!��L���%�%���=�!"������G�T�3��
)�s�
)�!�k�'�T�Z�R�"8�C�I�2�"F�G�G����i��(�(��������<��
��_�_���C�!�G��!4��!=�!=�!�>�%�(�(�#��'�1�1�
��_�_���C�!�G��!4�
�!B�!B�!�>�*�-�-�s�Q�w�6�6�
��_�_���C�!�G��!4��!C�!C�!�>�+�.�.��a��7�7���$�$�$s��'c�x��	�||������S#����wxYw)N)�clear)rr r'r)s  ��r3�	scan_oncez"py_make_scanner.<locals>.scan_onceAs8���	��:�f�c�*�*��J�J�L�L�L�L��D�J�J�L�L�L�L���s�#�9)r0r,r1�	NUMBER_RE�matchr2r.r/r-r*r+r))�contextr6r'r(r)r*r+r,r-r.r/r0r1r2s  @@@@@@@@@@@@r3�py_make_scannerr:s����������������'�L��%�K��'�L��?�L�
�^�F��%�K��!�I��+�N��%�K��1���<�D�#%�#%�#%�#%�#%�#%�#%�#%�#%�#%�#%�#%�#%�#%�#%�#%�J��������)
�__doc__�re�_jsonr�c_make_scanner�ImportError�__all__�compile�VERBOSE�	MULTILINE�DOTALLr7r:�r;r3�<module>rGs�����	�	�	�	��4�4�4�4�4�4�4�������N�N�N������
���B�J�0��Z�"�,����*�
-�
-�	�8�8�8�t�0����s���

?>