AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/pycparser/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/pycparser/__pycache__/plyparser.cpython-311.pyc |
� �܋f � �t � d dl Z G d� de� � Z G d� de� � Z G d� de� � Zd� Zd � Zd � ZdS )� Nc �$ � e Zd ZdZdZdd�Zd� ZdS )�Coordz� Coordinates of a syntactic element. Consists of: - File name - Line number - (optional) column number, for the Lexer )�file�line�column�__weakref__Nc �0 � || _ || _ || _ d S �N�r r r )�selfr r r s �d/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pycparser/plyparser.py�__init__zCoord.__init__ s � ��� ��� ������ c �P � | j �d| j ��}| j r |d| j z z }|S )N�:z:%sr )r �strs r �__str__z Coord.__str__ s3 � �����D�I�I�.���;�2��u�t�{�2�2��� r r )�__name__� __module__�__qualname__�__doc__� __slots__r r � r r r r sH � � � � � �� � :�I�� � � � � � � � r r c � � e Zd ZdS )� ParseErrorN)r r r r r r r r s � � � � � � � r r c �( � e Zd Zd� Zdd�Zd� Zd� ZdS )� PLYParserc �x � |dz }d� }|�d|��|_ d|z |_ 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 �_optc � � |d |d<