AlkantarClanX12
Current Path : /proc/thread-self/root/lib64/python3.6/json/__pycache__/ |
Current File : //proc/thread-self/root/lib64/python3.6/json/__pycache__/scanner.cpython-36.pyc |
3 \o � @ sj d Z ddlZyddlmZ W n ek r4 dZY nX dgZejdejej B ej B �Zdd� ZepdeZdS )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� y| | }W n t k r( t|��Y nX |dkrB� | |d ��S |dkrd� | |d f�� ����S |dkr~�| |d f� �S |dkr�| ||d � dkr�d |d fS |dkr�| ||d � d kr�d |d fS |dko�| ||d � d k� r�d|d fS �| |�}|d k �rX|j� \}}}|�s&|�rD�||�p2d |�p<d �}n�|�}||j� 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 )N�"� �{�[�n� Znull�t�trueT�f� ZfalseF� �N� ZNaN�I� ZInfinity�-� z -Infinity)� IndexError� StopIteration�groups�end)�string�idxZnextchar�mZintegerZfracZexp�res)� _scan_once�match_number�memo�object_hook�object_pairs_hook�parse_array�parse_constant�parse_float� parse_int�parse_object�parse_string�strict� �$/usr/lib64/python3.6/json/scanner.pyr s>