Your IP : 3.137.185.202
o
6��fy � @ sh d Z ddlZzddlmZ W n ey dZY nw dgZe�dejej B ej
B �Zdd� Zep1eZdS )zJSON token scanner
� N)�make_scannerr z)(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?c sv | j � | j�| j�
tj�| j�| j�| j�| j�| j �| j
�| j�� ��������� �
�fdd�� � �fdd�}|S )Nc s� z| | }W n t y t|�d �w |dkr�
| |d ��S |dkr0� | |d f�� ����S |dkr=�| |d f� �S |dkrQ| ||d � dkrQd |d fS |dkre| ||d � d kred
|d fS |dkry| ||d � d
kryd|d fS �| |�}|d ur�|�� \}}}|s�|r��||p�d |p�d �}n�|�}||�� fS |dkr�| ||d � dkr��d�|d fS |dkr�| ||d � dkrЈd�|d fS |dkr�| ||d � dkr�d�|d fS t|��)N�"� �{�[�n� Znull�t�trueT�f� ZfalseF� �N� ZNaN�I� ZInfinity�-� z -Infinity)�
IndexError�
StopIteration�groups�end)�string�idxZnextchar�mZintegerZfracZexp�res��
_scan_onceZmatch_number�memo�object_hook�object_pairs_hook�parse_array�parse_constant�parse_float� parse_int�parse_object�parse_string�strict� �3/opt/alt/python310/lib64/python3.10/json/scanner.pyr sB
��
z#py_make_scanner.<locals>._scan_oncec s z
� | |�W �� � S �� � w )N)�clear)r r )r r r( r) � scan_onceA s
z"py_make_scanner.<locals>.scan_once)r% r! r&