HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/pycparser/__pycache__/plyparser.cpython-37.pyc
B

�>�`:�@s4Gdd�de�ZGdd�de�ZGdd�de�ZdS)c@s&eZdZdZdZddd�Zdd�ZdS)	�Coordz� Coordinates of a syntactic element. Consists of:
            - File name
            - Line number
            - (optional) column number, for the Lexer
    )�file�line�column�__weakref__NcCs||_||_||_dS)N)rrr)�selfrrr�r�D/opt/alt/python37/lib/python3.7/site-packages/pycparser/plyparser.py�__init__szCoord.__init__cCs(d|j|jf}|jr$|d|j7}|S)Nz%s:%sz:%s)rrr)r�strrrr�__str__sz
Coord.__str__)N)�__name__�
__module__�__qualname__�__doc__�	__slots__r	rrrrrrs
rc@seZdZdS)�
ParseErrorN)rr
rrrrrrsrc@s&eZdZdd�Zddd�Zdd�ZdS)	�	PLYParsercCs<|d}dd�}d||f|_d||_t|j|j|�dS)z� Given a rule name, creates an optional ply.yacc rule
            for it. The name of the optional rule is
            <rulename>_opt
        Z_optcSs|d|d<dS)N��r)r�prrr�optrule)sz+PLYParser._create_opt_rule.<locals>.optrulez%s : empty
| %szp_%sN)rr�setattr�	__class__)rZrulenameZoptnamerrrr�_create_opt_rule"s

zPLYParser._create_opt_ruleNcCst|jj||d�S)N)rrr)rZclex�filename)r�linenorrrr�_coord0szPLYParser._coordcCstd||f��dS)Nz%s: %s)r)r�msgZcoordrrr�_parse_error6szPLYParser._parse_error)N)rr
rrrrrrrrr!s
rN)�objectr�	Exceptionrrrrrr�<module>s