관리-도구
편집 파일: scanner.cpython-37.opt-1.pyc
B � fy � @ sj d Z ddlZyddlmZ W n ek r4 dZY nX dgZe�dejej 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|�d �Y nX |dkrD� | |d ��S |dkrf� | |d f�� ����S |dkr��| |d f� �S |dkr�| ||d � dkr�d |d fS |dkr�| ||d � d kr�d |d fS |dk� r�| ||d � d k� r�d|d fS �| |�}|d k �r\|�� \}}}|�s*|�rH�||�p6d |�p@d �}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 )N�"� �{�[�n� Znull�t�trueT�f� ZfalseF� �N� ZNaN�I� ZInfinity�-� z -Infinity)� IndexError� StopIteration�groups�end)�string�idxZnextchar�mZintegerZfracZexpZres)� _scan_once�match_number�memo�object_hook�object_pairs_hook�parse_array�parse_constant�parse_float� parse_int�parse_object�parse_string�strict� �1/opt/alt/python37/lib64/python3.7/json/scanner.pyr s>