관리-도구
편집 파일: tokenize.cpython-39.opt-2.pyc
a R�fR � @ s� d Z dZddlZddlZddlmZmZ ddlT ddlm Z dd � e e �D �g d � Z[ ze W n e yv eZY n0 dd� Zd d� Zdd� Zdd� ZdZdZeede � ee� ZdZdZdZdZedd�Zeeeee�ZdZedd�ee� Zde Zeee�Zed ed! �Z ee ee�Z!d"Z"d#Z#d$Z$d%Z%d&Z&ee&d' e&d( �Z'ee&d) e&d* �Z(ed+d,d-d.d/d0d1d2d3� Z)d4Z*ed5d6d7�Z+ee)e*e+�Z,ee!e,e(e�Z-ee- Z.ee&d8 ed9d� e&d: ed;d� �Z/edee'�Z0eee0e!e,e/e� Z1e2ej3e.e1e$e%f�\Z4Z5Z6Z7ed<d=d>d?�ed<d=d@dA�B h dB�B Z8e�3e"�e�3e#�e6e7dC�dDdE� e8D ��dFdE� e8D ��dGdE� e8D ��Z9d'd(hdHdI� e8D �B dJdI� e8D �B Z:d9d;hdKdI� e8D �B dLdI� e8D �B Z;dMZ<G dNdO� dOe=�Z>G dPdQ� dQe=�Z?dRdS� Z@e@fdTdU�ZAdVdW� ZBG dXdY� dY�ZCe�3dZejD�ZEe�3d[ejD�ZFd\d]� ZGd^d_� ZHd`da� ZIdbdc� ZJeKddk�r�ddlLZLeMeLjN�dk�rxeAeOeLjNd �jP� neAeLjQjP� dS )ezKa-Ping Yee <ping@lfw.org>z@GvR, ESR, Tim Peters, Thomas Wouters, Fred Drake, Skip Montanaro� N)�BOM_UTF8�lookup)�*� )�tokenc C s g | ]}|d dkr|�qS )r �_� )�.0�xr r �;/opt/alt/python39/lib64/python3.9/lib2to3/pgen2/tokenize.py� <listcomp>% � r )�tokenize�generate_tokens� untokenizec G s dd� | � d S )N�(�|�))�join��choicesr r r �group0 r r c G s t | � d S )Nr �r r r r r �any1 r r c G s t | � d S )N�?r r r r r �maybe2 r r c s t � fdd�� D ��S )Nc 3 s4 | ],}� d D ]}|� � |� � kr|| V qqdS ))� N)�casefold)r r �y��lr r � <genexpr>4 s z _combinations.<locals>.<genexpr>)�setr r r r � _combinations3 s �r# z[ \f\t]*z #[^\r\n]*z\\\r?\nz\w+z0[bB]_?[01]+(?:_[01]+)*z(0[xX]_?[\da-fA-F]+(?:_[\da-fA-F]+)*[lL]?z0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?z[1-9]\d*(?:_\d+)*[lL]?z0[lL]?z[eE][-+]?\d+(?:_\d+)*z\d+(?:_\d+)*\.(?:\d+(?:_\d+)*)?z\.\d+(?:_\d+)*z\d+(?:_\d+)*z\d+(?:_\d+)*[jJ]z[jJ]z[^'\\]*(?:\\.[^'\\]*)*'z[^"\\]*(?:\\.[^"\\]*)*"z%[^'\\]*(?:(?:\\.|'(?!''))[^'\\]*)*'''z%[^"\\]*(?:(?:\\.|"(?!""))[^"\\]*)*"""z'(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?�'''�"""z'[^\n'\\]*(?:\\.[^\n'\\]*)*'z"[^\n"\\]*(?:\\.[^\n"\\]*)*"z\*\*=?z>>=?z<<=?z<>z!=z//=?z->z[+\-*/%&@|^=<>]=?�~z[][(){}]z\r?\nz:=z[:;.,`@]z'[^\n'\\]*(?:\\.[^\n'\\]*)*�'z"[^\n"\\]*(?:\\.[^\n"\\]*)*�"�r�R�f�F�b�B> �UZurZuRZUR�uZUr)r'