
|
Server : Apache System : Linux 182.49.167.72.host.secureserver.net 4.18.0-553.92.1.el8_10.x86_64 #1 SMP Wed Jan 14 06:31:58 EST 2026 x86_64 User : kikai ( 1014) PHP Version : 8.3.30 Disable Function : NONE Directory : /lib64/python3.12/lib2to3/pgen2/__pycache__/ |
Upload File : |
�
T��h� � �@ � d Z ddlmZ G d� de� Z G d� de� Zy)z�Parser engine for the grammar tables generated by pgen.
The grammar table must be loaded first.
See Parser/parser.c in the Python distribution for additional info on
how this parsing engine works.
� )�tokenc � � e Zd ZdZd� Zd� Zy)�
ParseErrorz(Exception to signal the parser is stuck.c
�~ � t j | |�d|�d|�d|��� || _ || _ || _ || _ y )Nz: type=z, value=z
, context=)� Exception�__init__�msg�type�value�context)�selfr r
r r s �,/usr/lib64/python3.12/lib2to3/pgen2/parse.pyr zParseError.__init__ s<