Your IP : 13.59.1.58


Current Path : /opt/alt/python312/lib64/python3.12/lib2to3/pgen2/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/lib2to3/pgen2/__pycache__/grammar.cpython-312.opt-2.pyc

�

�Q�f����	ddlZddlmZGd�de�ZdZiZej�D]$Zes�ej�\Z
Zeee�ee
<�&[[
[y)�N�)�tokenc�2�eZdZ	d�Zd�Zd�Zd�Zd�Zd�Zy)�Grammarc��i|_i|_g|_i|_dg|_i|_i|_i|_d|_y)N)r�EMPTY�)	�
symbol2number�
number2symbol�states�dfas�labels�keywords�tokens�symbol2label�start)�selfs �</opt/alt/python312/lib64/python3.12/lib2to3/pgen2/grammar.py�__init__zGrammar.__init__LsF�������������	�#�n�����
���������
�c��	t|d�5}tj|j|tj�ddd�y#1swYyxYw)N�wb)�open�pickle�dump�__dict__�HIGHEST_PROTOCOL)r�filename�fs   rrzGrammar.dumpWs7��7�
�(�D�
!�Q��K�K��
�
�q�&�*A�*A�B�"�
!�
!�s�0A�Ac��	t|d�5}tj|�}ddd�|jj	�y#1swY�%xYw)N�rb)rr�loadr�update)rrr�ds    rr"zGrammar.load\s>��9�
�(�D�
!�Q����A��A�"��
�
���Q��"�
!�s�A�Ac�b�	|jjtj|��y)N)rr#r�loads)r�pkls  rr&z
Grammar.loadsbs ��A��
�
���V�\�\�#�.�/rc	���	|j�}dD]'}t||t||�j���)|jdd|_|j
dd|_|j|_|S)N)r
rr
rrr)�	__class__�setattr�getattr�copyrrr)r�new�	dict_attrs   rr,zGrammar.copyfsm��	��n�n���4�I��C��G�D�)�$<�$A�$A�$C�D�4��[�[��^��
��[�[��^��
��J�J��	��
rc�`�	ddlm}td�||j�td�||j�td�||j�td�||j
�td�||j�td|j�y)	Nr)�pprint�s2n�n2srr
rr)r0�printr
rrr
rr)rr0s  r�reportzGrammar.reportssy��H�!�
�e���t�!�!�"�
�e���t�!�!�"�
�h���t�{�{��
�f�
��t�y�y��
�h���t�{�{��
�g�t�z�z�"rN)	�__name__�
__module__�__qualname__rrr"r&r,r4�rrrrs'��3�j	�C�
 �0��
#rra
( LPAR
) RPAR
[ LSQB
] RSQB
: COLON
, COMMA
; SEMI
+ PLUS
- MINUS
* STAR
/ SLASH
| VBAR
& AMPER
< LESS
> GREATER
= EQUAL
. DOT
% PERCENT
` BACKQUOTE
{ LBRACE
} RBRACE
@ AT
@= ATEQUAL
== EQEQUAL
!= NOTEQUAL
<> NOTEQUAL
<= LESSEQUAL
>= GREATEREQUAL
~ TILDE
^ CIRCUMFLEX
<< LEFTSHIFT
>> RIGHTSHIFT
** DOUBLESTAR
+= PLUSEQUAL
-= MINEQUAL
*= STAREQUAL
/= SLASHEQUAL
%= PERCENTEQUAL
&= AMPEREQUAL
|= VBAREQUAL
^= CIRCUMFLEXEQUAL
<<= LEFTSHIFTEQUAL
>>= RIGHTSHIFTEQUAL
**= DOUBLESTAREQUAL
// DOUBLESLASH
//= DOUBLESLASHEQUAL
-> RARROW
:= COLONEQUAL
)
r�r�objectr�	opmap_raw�opmap�
splitlines�line�split�op�namer+r8rr�<module>rBsp��	���j#�f�j#�^1
�	�f	��� � �"�D���:�:�<���D��E�4�(��b�	�
#�	�"�dr

?>