| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3.11/lib2to3/pgen2/__pycache__/ |
Upload File : |
�
ZQd6 � � � d dl mZmZmZ G d� dej � � Z G d� de� � Z G d� de� � Z G d� d e� � Z d
d�Z
dS )� )�grammar�token�tokenizec � � e Zd ZdS )�PgenGrammarN)�__name__�
__module__�__qualname__� � �)/usr/lib/python3.11/lib2to3/pgen2/pgen.pyr r s � � � � � ��Dr 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� ZdS )�ParserGeneratorNc �N � d }|�t |d�� � }|j }|| _ || _ t j |j � � | _ | � � � | � � � \ | _
| _ |�
|� � i | _ | �
� � d S )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�5�5�F�!�<�L� ��
����!�1�&�/�B�B����
�
����&*�j�j�l�l�#�� �4�#��#��L�N�N�N���
��������r c � � t � � }t | j � � � � � }|� � � |� | j � � |� d| j � � |D ]-}dt |j � � z }||j |<