관리-도구
편집 파일: scanner.cpython-311.pyc
� �܋f� � � � d Z ddlZddlmZ d� Z e� � ZddgZ ej dej ej z ej z � � Zd � ZepeZ dS ) zJSON token scanner � N� )�JSONDecodeErrorc �6 � ddl m} | S # t $ r Y d S w xY w)Nr ��make_scanner)� _speedupsr �ImportErrorr s �I/opt/cloudlinux/venv/lib64/python3.11/site-packages/simplejson/scanner.py�_import_c_make_scannerr sA � ��+�+�+�+�+�+����� � � ��t�t����s � � �r r z)(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?c � �������� � ��� �� | j �| j �| j � t j �| j �| j �| j � | j �| j � | j �| j �| j ��������� � ��� �f d����fd�}|S )Nc �| � � d} | | }n# t $ r t || |� � �w xY w|dk r �| |dz � �� � S |dk r �| |dz f� �� � ��� � S |dk r �| |dz f� � � S |dk r| ||dz � dk rd |dz fS |d k r| ||dz � d k rd|dz fS |dk r| ||d z � dk rd|d z fS �| |� � }|�S|� � � \ }}}|s|r �||pdz |pdz � � }n �|� � }||� � � fS �r'|dk r!| ||dz � dk r �d� � |dz fS �r'|dk r!| ||dz � dk r �d� � |dz fS �r'|dk r!| ||dz � dk r �d� � |dz fS t || |� � �)N�Expecting 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�stricts �������������r r/ z#py_make_scanner.<locals>._scan_once"