Your IP : 18.226.17.3


Current Path : /opt/alt/python311/lib64/python3.11/lib2to3/pgen2/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/pgen2/__pycache__/grammar.cpython-311.opt-2.pyc

�

c��f�����	ddlZddlmZGd�de��ZdZiZe���D]*Zer&e�	��\Z
Zeee��ee
<�+[[
[dS)�N�)�tokenc�4�eZdZ	d�Zd�Zd�Zd�Zd�Zd�ZdS)�Grammarc��i|_i|_g|_i|_dg|_i|_i|_i|_d|_dS)N)r�EMPTY�)	�
symbol2number�
number2symbol�states�dfas�labels�keywords�tokens�symbol2label�start)�selfs �</opt/alt/python311/lib64/python3.11/lib2to3/pgen2/grammar.py�__init__zGrammar.__init__LsJ�������������	�#�n�����
���������
�
�
�c��	t|d��5}tj|j|tj��ddd��dS#1swxYwYdS)N�wb)�open�pickle�dump�__dict__�HIGHEST_PROTOCOL)r�filename�fs   rrzGrammar.dumpWs���7�
�(�D�
!�
!�	C�Q��K��
�q�&�*A�B�B�B�	C�	C�	C�	C�	C�	C�	C�	C�	C�	C�	C�	C����	C�	C�	C�	C�	C�	Cs�&A�A	�A	c��	t|d��5}tj|��}ddd��n#1swxYwY|j�|��dS)N�rb)rr�loadr�update)rrr�ds    rr"zGrammar.load\s���9�
�(�D�
!�
!�	�Q���A���A�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	��
���Q�����s�3�7�7c�`�	|j�tj|����dS)N)rr#r�loads)r�pkls  rr&z
Grammar.loadsbs+��A��
���V�\�#�.�.�/�/�/�/�/rc	��	|���}dD]3}t||t||��������4|jdd�|_|jdd�|_|j|_|S)N)r
rr
rrr)�	__class__�setattr�getattr�copyrrr)r�new�	dict_attrs   rr,zGrammar.copyfs���	��n�n����4�	E�	E�I��C��G�D�)�$<�$<�$A�$A�$C�$C�D�D�D�D��[����^��
��[����^��
��J��	��
rc�t�	ddlm}td��||j��td��||j��td��||j��td��||j��td��||j��td|j��dS)	Nr)�pprint�s2n�n2srr
rr)r0�printr
rrr
rr)rr0s  r�reportzGrammar.reportss���H�!�!�!�!�!�!�
�e������t�!�"�"�"�
�e������t�!�"�"�"�
�h������t�{����
�f�
�
�
���t�y����
�h������t�{����
�g�t�z�"�"�"�"�"rN)	�__name__�
__module__�__qualname__rrr"r&r,r4�rrrrsw������3�j	�	�	�C�C�C�
 � � �0�0�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>rBs���	��
�
�
�������j#�j#�j#�j#�j#�f�j#�j#�j#�^1
�	�f	��� � �"�"�)�)�D��)��:�:�<�<���D��G�E�4�(�(��b�	���"�d�d�dr

?>