AlkantarClanX12
Current Path : /opt/alt/python311/lib64/python3.11/lib2to3/pgen2/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/lib2to3/pgen2/__pycache__/pgen.cpython-311.pyc |
� c��f6 � � � 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 |<