python (3.11.7)
    e6                         d dl mZmZmZ  G d dej                  Z G d de          Z G d de          Z G d d	e          Z	d
dZ
dS )   )grammartokentokenizec                       e Zd ZdS )PgenGrammarN)__name__
__module____qualname__     F/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/lib2to3/pgen2/pgen.pyr   r      s        Dr   r   c                   ~    e Zd ZddZd Zd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Z
d
 Zd Zd Zd ZddZd Zd ZdS )ParserGeneratorNc                 N   d }|t          |d          }|j        }|| _        || _        t	          j        |j                  | _        |                                  | 	                                \  | _
        | _        |
 |             i | _        | 
                                 d S )Nzutf-8)encoding)openclosefilenamestreamr   generate_tokensreadline	generatorgettokenparsedfasstartsymbolfirstaddfirstsets)selfr   r   close_streams       r
   __init__zParserGenerator.__init__   s    >(W555F!<L 
!1&/BB
&*jjll#	4##LNNN
r   c           	         t                      }t          | j                                                  }|                                 |                    | j                   |                    d| j                   |D ]-}dt          |j	                  z   }||j	        |<