Your IP : 18.188.114.150


Current Path : /opt/alt/python34/lib64/python3.4/json/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/json/__pycache__/scanner.cpython-34.pyo

�
e fp	�@s�dZddlZyddlmZWnek
r@dZYnXdgZejdejej	Bej
B�Zdd�Zep�eZdS)zJSON token scanner
�N)�make_scannerrz)(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?cs�|j�	|j�|j�
tj�|j�|j�|j�|j�|j	�|j
�|j�����������	�
�fdd����fdd�}�S)Ncsvy||}Wntk
r.t|��YnX|dkrO�
||d��S|dkr~�	||df������S|dkr��||df��S|dkr�|||d�dkr�d|dfS|dkr	|||d�d	kr	d
|dfS|dkr=|||d�d
kr=d|dfS�||�}|dk	r�|j�\}}}|sy|r��||p�d|p�d�}n�|�}||j�fS|dkr�|||d�dkr��d�|dfS|dkr,|||d�dkr,�d�|dfS|dkrf|||d�dkrf�d�|dfSt|��dS)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��1/opt/alt/python34/lib64/python3.4/json/scanner.pyrs>
&&&#&&&z#py_make_scanner.<locals>._scan_oncec
s#z�||�SWd�j�XdS)N)�clear)rr)rrr(r)�	scan_onceAsz"py_make_scanner.<locals>.scan_once)r%r!r&�	NUMBER_RE�matchr'r#r$r"rr r)�contextr+r()rrrrr r!r"r#r$r%r&r'r)�py_make_scanners											3%r/)
�__doc__�reZ_jsonrZc_make_scanner�ImportError�__all__�compile�VERBOSE�	MULTILINE�DOTALLr,r/r(r(r(r)�<module>s
	:

?>