Your IP : 3.16.130.96


Current Path : /opt/alt/python310/lib64/python3.10/json/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/json/__pycache__/scanner.cpython-310.opt-1.pyc

o

6��fy	�@shdZddlZzddlmZWneydZYnwdgZe�dejej	Bej
B�Zdd�Zep1eZdS)zJSON token scanner
�N)�make_scannerrz)(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?csv|j�	|j�|j�
tj�|j�|j�|j�|j�|j	�|j
�|j�����������	�
�fdd����fdd�}|S)Ncs�z||}Wntyt|�d�w|dkr�
||d��S|dkr0�	||df������S|dkr=�||df��S|dkrQ|||d�dkrQd|dfS|dkre|||d�d	kred
|dfS|dkry|||d�d
kryd|dfS�||�}|dur�|��\}}}|s�|r��||p�d|p�d�}n�|�}||��fS|dkr�|||d�dkr��d�|dfS|dkr�|||d�dkrЈd�|dfS|dkr�|||d�dkr�d�|dfSt|��)N�"��{�[�n�Znull�t�trueT�f�ZfalseF��N�ZNaN�I�ZInfinity�-�	z	-Infinity)�
IndexError�
StopIteration�groups�end)�string�idxZnextchar�mZintegerZfracZexp�res��
_scan_onceZmatch_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.pyrsB
��
z#py_make_scanner.<locals>._scan_oncecs z
�||�W���S���w)N)�clear)rr)rrr(r)�	scan_onceAs
z"py_make_scanner.<locals>.scan_once)r%r!r&�	NUMBER_RE�matchr'r#r$r"rr r)�contextr+r(rr)�py_make_scanners"%r/)
�__doc__�reZ_jsonrZc_make_scanner�ImportError�__all__�compile�VERBOSE�	MULTILINE�DOTALLr,r/r(r(r(r)�<module>s��:

?>