AlkantarClanX12

Your IP : 3.144.90.108


Current Path : /opt/alt/python35/lib64/python3.5/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/token.cpython-35.opt-1.pyc



��Yf�@s�dZddddgZdZdZdZdZd	Zd
ZdZdZ	d
Z
dZdZdZ
dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZd Zd!Zd"Zd#Z d$Z!d%Z"d&Z#d'Z$d(Z%d)Z&d*Z'd+Z(d,Z)d-Z*d.Z+d/Z,d0Z-d1Z.d2Z/d3Z0d4Z1d5Z2d6Z3d7Z4d8Z5d9Z6d:Z7d;Z8d<Z9d=Z:d>Z;d?Z<d@dA�e=�j>�D�Z?ej@e?jA��dBd�ZBdCd�ZCdDd�ZDdEdF�ZEeFdGkr�eE�dHS)Iz!Token constants (from "token.h").�tok_name�
ISTERMINAL�
ISNONTERMINAL�ISEOF����������	�
���
������������������� �!�"�#�$�%�&�'�(�)�*�+�,�-�.�/�0�1�2�3�4�5�6�7�8�9�cCs>i|]4\}}t|t�r|jd�r||�qS)�_)�
isinstance�int�
startswith)�.0�name�value�rG�*/opt/alt/python35/lib64/python3.5/token.py�
<dictcomp>Js		rIcCs
|tkS)N)�	NT_OFFSET)�xrGrGrHrOscCs
|tkS)N)rJ)rKrGrGrHrRscCs
|tkS)N)�	ENDMARKER)rKrGrGrHrUscJCsddl}ddl}|jdd�}|r;|dp>d}d}t|�dkrc|d}yt|�}WnLtk
r�}z,|jjdt|��|j	d�WYdd}~XnX|�|j
�jd�}WdQRX|jd|j
�}i}	xQ|D]I}
|j|
�}|r|jdd�\}}
t|
�}
||	|
<qWt|	j��}yt|�}WnLtk
r�}z,|jjdt|��|j	d�WYdd}~XnX|�|j
�jd�}WdQRXy&|jd	�d}|jd
�}Wn/tk
r?|jjd�|j	d�YnXg}x)|D]!}
|jd
|	|
|
f�qMW||||�<yt|d�}WnLtk
r�}z,|jjdt|��|j	d�WYdd}~XnX|�|jdj|��WdQRXdS)NrrzInclude/token.hzLib/token.pyzI/O error: %s
�
z:#define[ 	][ 	]*([A-Z0-9][A-Z0-9_]*)[ 	][ 	]*([0-9][0-9]*)rz#--start constants--z#--end constants--z&target does not contain format markersrz%s = %d�wr	)�re�sys�argv�len�open�OSError�stdout�write�str�exit�read�split�compile�
IGNORECASE�match�grouprB�sorted�keys�stderr�index�
ValueError�append�join)rOrP�args�
inFileName�outFileName�fp�err�lines�prog�tokens�liner]rE�valr`�format�start�endrGrGrH�_mainYsb
 
 

 rs�__main__N)G�__doc__�__all__rL�NAME�NUMBER�STRING�NEWLINE�INDENT�DEDENT�LPAR�RPAR�LSQB�RSQB�COLON�COMMA�SEMI�PLUS�MINUS�STAR�SLASH�VBAR�AMPER�LESS�GREATER�EQUAL�DOT�PERCENT�LBRACE�RBRACE�EQEQUAL�NOTEQUAL�	LESSEQUAL�GREATEREQUAL�TILDE�
CIRCUMFLEX�	LEFTSHIFT�
RIGHTSHIFT�
DOUBLESTAR�	PLUSEQUAL�MINEQUAL�	STAREQUAL�
SLASHEQUAL�PERCENTEQUAL�
AMPEREQUAL�	VBAREQUAL�CIRCUMFLEXEQUAL�LEFTSHIFTEQUAL�RIGHTSHIFTEQUAL�DOUBLESTAREQUAL�DOUBLESLASH�DOUBLESLASHEQUAL�AT�ATEQUAL�RARROW�ELLIPSIS�OP�AWAIT�ASYNC�
ERRORTOKEN�N_TOKENSrJ�globals�itemsr�extend�valuesrrrrs�__name__rGrGrGrH�<module>s�
	5