Hacked By AnonymousFox
B
VX�Y� � @ s\ d Z ddlZddlmZ dd� Ze� ZddgZe�d ejej B ej
B �Zd
d� ZepVeZ
dS )zJSON token scanner
� N� )�JSONDecodeErrorc C s* yddl m} | S tk
r$ d S X d S )Nr )�make_scanner)Z _speedupsr �ImportError)r � r �E/opt/alt/python37/lib64/python3.7/site-packages/simplejson/scanner.py�_import_c_make_scanner s
r r r z)(-?(?: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 s d}y| | }W n t k
r0 t|| |��Y nX |dkrL�| |d ���S |dkrp�
| |d f��� ����S |dkr��| |d f� �S |dkr�| ||d � dkr�d |d fS |d kr�| ||d � d
kr�d|d fS |dk�r| ||d
� dk�rd|d
fS �| |�}|d k �rf|�� \}}}|�s4|�rR�||�p@d |�pJd �}n� |�}||�� fS |dk�r�| ||d � dk�r��d�|d fS |dk�r�| ||d � dk�rƈd�|d fS |dk�r�| ||d � dk�r��d�|d fS t|| |��d S )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�strictr r r) "