ok
Direktori : /opt/alt/python35/lib64/python3.5/json/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/json/__pycache__/scanner.cpython-35.opt-1.pyc |
B�Map � @ s� d Z d d l Z y d d l m Z Wn e k r@ d Z Yn Xd g Z e j d e j e j Be j B� Z d d � Z e p� e Z d S)zJSON token scanner � N)�make_scannerr z)(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?c s� | j � | j � | j � t j � | j � | j � | j � | j � | j � | j � | j � � � � � � � � � � � � � f d d � � � � f d d � } � S)Nc sv y | | } Wn t k r. t | � � Yn X| d k rO � | | d � � S| d k r~ � | | d f � � � � � � S| d k r� � | | d f � � S| d k r� | | | d � d k r� d | d f S| d k r | | | d � d k r d | d f S| d k r=| | | d � d k r=d | d f S� | | � } | d k r�| j � \ } } } | sy| r�� | | p�d | p�d � } n � | � } | | j � f S| d k r�| | | d � d k r�� d � | d f S| d k r,| | | d � d k r,� d � | d f S| d k rf| | | d � d k rf� d � | d f St | � � d S)N�"� �{�[�n� Znull�t�trueT�f� �falseF� �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/python35/lib64/python3.5/json/scanner.pyr s>