Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python311/lib64/python3.11/lib2to3/pgen2/__pycache__/ |
� �,d6 � � � 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__� � �9/opt/alt/python311/lib64/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 |<