Your IP : 18.216.161.178
a
R�f�5 � @ sd d dl mZmZmZ G dd� dej�ZG dd� de�ZG dd� de�ZG dd � d e�Z ddd�Z
d
S )� )�grammar�token�tokenizec @ s e Zd ZdS )�PgenGrammarN)�__name__�
__module__�__qualname__� r r �7/opt/alt/python39/lib64/python3.9/lib2to3/pgen2/pgen.pyr s r c @ s� e Zd Zd&dd�Zdd� Zdd� Zdd � Zd
d� Zdd
� Zdd� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zd'd d!�Zd"d#� Zd$d%� ZdS )(�ParserGeneratorNc C sl d }|d u rt |�}|j}|| _|| _t�|j�| _| �� | � � \| _
| _|d urZ|� i | _| �
� d S �N)�open�close�filename�streamr �generate_tokens�readline� generator�gettoken�parse�dfas�startsymbol�first�addfirstsets)�selfr r Zclose_streamr r r
�__init__ s zParserGenerator.__init__c C s t � }t| j�� �}|�� |�| j� |�d| j� |D ]&}dt|j � }||j |<