Your IP : 3.16.49.213
�
�Q�f6 � � � d dl mZmZmZ G d� dej � Z G d� de� Z G d� de� Z G d� d e� Z dd
�Z
y)
� )�grammar�token�tokenizec � � e Zd Zy)�PgenGrammarN)�__name__�
__module__�__qualname__� � �9/opt/alt/python312/lib64/python3.12/lib2to3/pgen2/pgen.pyr r s � �r r c �| � e Zd Zdd�Zd� Zd� Zd� Zd� Zd� Zd� Z d � Z
d
� Zd� Zd� Z
d
� Zd� Zd� Zd� Zdd�Zd� Zd� Zy)�ParserGeneratorNc �< � d }|�t |d�� }|j }|| _ || _ t j
|j � | _ | j � | j � \ | _
| _ |� |� i | _ | j � y )Nzutf-8)�encoding)�open�close�filename�streamr �generate_tokens�readline� generator�gettoken�parse�dfas�startsymbol�first�addfirstsets)�selfr r �close_streams r
�__init__zParserGenerator.__init__ s� � ����>��(�W�5�F�!�<�<�L� ��
����!�1�1�&�/�/�B����
�
��&*�j�j�l�#�� �4�#��#��N���
����r c � � t � }t | j j � � }|j � |j | j � |j d| j � |D ]8 }dt |j � z }||j |<