Hacked By AnonymousFox

Current Path : /opt/alt/python37/lib64/python3.7/site-packages/simplejson/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/site-packages/simplejson/__pycache__/scanner.cpython-37.pyc

B

VX�Y��@s\dZddlZddlmZdd�Ze�ZddgZe�d	ejej	Bej
B�Zd
d�ZepVeZ
dS)zJSON token scanner
�N�)�JSONDecodeErrorcCs*yddlm}|Stk
r$dSXdS)Nr)�make_scanner)Z	_speedupsr�ImportError)r�r�E/opt/alt/python37/lib64/python3.7/site-packages/simplejson/scanner.py�_import_c_make_scanners
rrrz)(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?c
s~|j�
|j�|j�tj�|j�|j�|j�|j�	|j	�|j
�|j�|j�����������	�
��f
dd����fdd�}|S)Nc	sd}y||}Wn tk
r0t|||��YnX|dkrL�||d���S|dkrp�
||df�������S|dkr��||df��S|dkr�|||d�dkr�d|dfS|d	kr�|||d�d
kr�d|dfS|dk�r|||d
�dk�rd|d
fS�||�}|dk	�rf|��\}}}|�s4|�rR�||�p@d|�pJd�}n�	|�}||��fS|dk�r�|||d�dk�r��d�|dfS|dk�r�|||d�dk�rƈd�|dfS|dk�r�|||d�dk�r��d�|dfSt|||��dS)NzExpecting value�"r�{�[�n��null�t�trueT�f��falseF��N��NaN�I��Infinity�-�	z	-Infinity)�
IndexErrorr�groups�end)	�string�idx�errmsg�nextchar�m�integer�frac�exp�res)
�
_scan_once�encoding�match_number�memo�object_hook�object_pairs_hook�parse_array�parse_constant�parse_float�	parse_int�parse_object�parse_string�strictrrr)"s@ 

   z#py_make_scanner.<locals>._scan_oncecs.|dkrtd||��z
�||�S���XdS)NrzExpecting value)r�clear)r r!)r)r,rr�	scan_onceHs

z"py_make_scanner.<locals>.scan_once)
r3r/r4�	NUMBER_RE�matchr*r5r1r2r0r-r.r,)�contextr7r)
r)r*r+r,r-r.r/r0r1r2r3r4r5r�py_make_scanners$&r;)�__doc__�re�errorsrr�c_make_scanner�__all__�compile�VERBOSE�	MULTILINE�DOTALLr8r;rrrrr�<module>sA

Hacked By AnonymousFox1.0, Coded By AnonymousFox