Your IP : 3.138.134.149


Current Path : /opt/imunify360/venv/lib64/python3.11/site-packages/pycparser/__pycache__/
Upload File :
Current File : //opt/imunify360/venv/lib64/python3.11/site-packages/pycparser/__pycache__/c_parser.cpython-311.pyc

�

P�Dg���~�ddlmZddlmZddlmZddlmZmZm	Z	m
Z
ddlmZm
Z
e
Gd�de����ZdS)	�)�yacc)�c_ast)�CLexer)�	PLYParser�
ParseError�
parameterized�template)�fix_switch_cases�fix_atomic_specifiersc�L�eZdZdedddddfd�Zd�d�Zd�Zd	�Zd
�Zd�Z	d�Z
d
�Zd�Zd�Z
d�Zd�Zd�Zd�Zd�d�Zd�d�Zd�Zd�ZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd �Zd!�Zd"�Z d#�Z!d$�Z"d%�Z#d&�Z$d'�Z%d(�Z&d)�Z'd*�Z(d+�Z)d,�Z*d-�Z+d.�Z,d/�Z-d0�Z.d1�Z/d2�Z0d3�Z1d4�Z2d5�Z3d6�Z4d7�Z5d8�Z6d9�Z7d:�Z8d;�Z9d<�Z:d=�Z;d>�Z<d?�Z=d@�Z>dA�Z?dB�Z@dC�ZAdD�ZBdE�ZCdF�ZDdG�ZEdH�ZFdI�ZGdJ�ZHdK�ZIdL�ZJdM�ZKdN�ZLdO�ZMdP�ZNdQ�ZOdR�ZPdS�ZQdT�ZRdU�ZSdV�ZTdW�ZUdX�ZVeWdYdZd[��d\���ZXeWdYdZd[��d]���ZYeWdYdZd[��d^���ZZeWdYdZ��d_���Z[eWdYdZd[��d`���Z\eWdYdZd[��da���Z]eWdYdZd[��db���Z^eWdYdZd[��dc���Z_dd�Z`de�Zadf�Zbdg�Zcdh�Zddi�Zedj�Zfdk�Zgdl�Zhdm�Zidn�Zjdo�Zkdp�Zldq�Zmdr�Znds�Zodt�Zpdu�Zqdv�Zrdw�Zsdx�Ztdy�Zudz�Zvd{�Zwd|�Zxd}�Zyd~�Zzd�Z{d��Z|d��Z}d��Z~d��Zd��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�d�S)��CParserTzpycparser.lextabzpycparser.yacctabF�c�b�||j|j|j|j���|_|j�|||���|jj|_gd�}|D]}	|�|	���tj|d||||���|_	t��g|_d|_dS)a Create a new CParser.

            Some arguments for controlling the debug/optimization
            level of the parser are provided. The defaults are
            tuned for release/performance mode.
            The simple rules for using them are:
            *) When tweaking CParser/CLexer, set these to False
            *) When releasing a stable parser, set to True

            lex_optimize:
                Set to False when you're modifying the lexer.
                Otherwise, changes in the lexer won't be used, if
                some lextab.py file exists.
                When releasing with a stable lexer, set to True
                to save the re-generation of the lexer table on
                each run.

            lexer:
                Set this parameter to define the lexer to use if
                you're not using the default CLexer.

            lextab:
                Points to the lex table that's used for optimized
                mode. Only if you're modifying the lexer and want
                some tests to avoid re-generating the table, make
                this point to a local lex table file (that's been
                earlier generated with lex_optimize=True)

            yacc_optimize:
                Set to False when you're modifying the parser.
                Otherwise, changes in the parser won't be used, if
                some parsetab.py file exists.
                When releasing with a stable parser, set to True
                to save the re-generation of the parser table on
                each run.

            yacctab:
                Points to the yacc table that's used for optimized
                mode. Only if you're modifying the parser, make
                this point to a local yacc table file

            yacc_debug:
                Generate a parser.out file that explains how yacc
                built the parsing table from the grammar.

            taboutputdir:
                Set this parameter to control the location of generated
                lextab and yacctab files.
        )�
error_func�on_lbrace_func�on_rbrace_func�type_lookup_func)�optimize�lextab�	outputdir)�abstract_declarator�assignment_expression�declaration_list�declaration_specifiers_no_type�designation�
expression�identifier_list�init_declarator_list�id_init_declarator_list�initializer_list�parameter_type_list�block_item_list�type_qualifier_list�struct_declarator_list�translation_unit_or_empty)�module�start�debugr�	tabmodulerN)
�_lex_error_func�_lex_on_lbrace_func�_lex_on_rbrace_func�_lex_type_lookup_func�clex�build�tokens�_create_opt_ruler�cparser�dict�_scope_stack�_last_yielded_token)
�self�lex_optimize�lexerr�
yacc_optimize�yacctab�
yacc_debug�taboutputdir�rules_with_opt�rules
          �r/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pycparser/c_parser.py�__init__zCParser.__init__s���t�E��+��3��3�!�7�	9�9�9��	�	
�	���!��"�	�	$�	$�	$��i�&���
�
�
��"#�	(�	(�D��!�!�$�'�'�'�'��y��-��"��"�
$�$�$��� "�V�V�H���$(�� � � �c���||j_|j���t��g|_d|_|j�||j|���S)a  Parses C code and returns an AST.

            text:
                A string containing the C source code

            filename:
                Name of the file being parsed (for meaningful
                error messages)

            debug:
                Debug flag to YACC
        N)�inputr8r()r.�filename�reset_linenor3r4r5r2�parse)r6�textrDr(s    r?rFz
CParser.parse�sb��&��	���	��� � � �!�V�V�H���#'�� ��|�!�!���i��"���	rAc�R�|j�t����dS�N)r4�appendr3�r6s r?�_push_scopezCParser._push_scope�s#���� � ����(�(�(�(�(rAc�l�t|j��dksJ�|j���dS)Nr)�lenr4�poprKs r?�
_pop_scopezCParser._pop_scope�s9���4�$�%�%��)�)�)�)���������rAc��|jd�|d��s|�d|z|��d|jd|<dS)zC Add a new typedef name (ie a TYPEID) to the current scope
        ���Tz;Typedef %r previously declared as non-typedef in this scopeN�r4�get�_parse_error�r6�name�coords   r?�_add_typedef_namezCParser._add_typedef_name�sf��� ��$�(�(��t�4�4�	/���� �"&�'�(-�
/�
/�
/�'+���"��d�#�#�#rAc��|jd�|d��r|�d|z|��d|jd|<dS)ze Add a new object, function, or enum member name (ie an ID) to the
            current scope
        rRFz;Non-typedef %r previously declared as typedef in this scopeNrSrVs   r?�_add_identifierzCParser._add_identifier�sf����R� �$�$�T�5�1�1�	/���� �"&�'�(-�
/�
/�
/�',���"��d�#�#�#rAc�j�t|j��D]}|�|��}|�|cS�dS)z8 Is *name* a typedef-name in the current scope?
        NF)�reversedr4rT)r6rW�scope�in_scopes    r?�_is_type_in_scopezCParser._is_type_in_scope�sE���d�/�0�0�	5�	5�E��y�y����H��#�H�_�_�_�#��urAc�Z�|�||�||����dSrI)rU�_coord)r6�msg�line�columns    r?r*zCParser._lex_error_func�s,�����#�t�{�{�4��8�8�9�9�9�9�9rAc�.�|���dSrI)rLrKs r?r+zCParser._lex_on_lbrace_func�s���������rAc�.�|���dSrI)rPrKs r?r,zCParser._lex_on_rbrace_func�s���������rAc�0�|�|��}|S)z� Looks up types that were previously defined with
            typedef.
            Passed to the lexer for recognizing identifiers that
            are types.
        )r`)r6rW�is_types   r?r-zCParser._lex_type_lookup_func�s���(�(��.�.���rAc��|jjS)z� We need access to yacc's lookahead token in certain cases.
            This is the last token yacc requested from the lexer, so we
            ask the lexer.
        )r.�
last_tokenrKs r?�_get_yacc_lookahead_tokenz!CParser._get_yacc_lookahead_token�s��
�y�#�#rAc�2�|}|}|jr|j}|j�t|tj��r	||_|S|}t|jtj��s&|j}t|jtj���&|j|_||_|S)z� Tacks a type modifier on a declarator, and returns
            the modified declarator.

            Note: the declarator and modifier may be modified
        )�type�
isinstancer�TypeDecl)r6�decl�modifier�
modifier_head�
modifier_tail�	decl_tails      r?�_type_modify_declzCParser._type_modify_decl�s���!�
� �
�� �	/�)�.�M�� �	/��d�E�N�+�+�	�!%�M���O�
�I� �����@�@�
+�%�N�	�!�����@�@�
+�"+��M��*�I�N��KrAc��|}t|tj��s!|j}t|tj���!|j|_|jdd�|_|D]V}t|tj��s:t|��dkr|�	d|j
���K||_|cS�W|s\t|jtj��s|�	d|j
��tjdg|j
���|_n0tjd�|D��|dj
���|_|S)	z- Fixes a declaration. Modifies decl.
        Nrz Invalid multiple types specifiedzMissing type in declaration�int�rXc�&�g|]}|jD]}|���S�)�names)�.0�idrWs   r?�
<listcomp>z/CParser._fix_decl_name_type.<locals>.<listcomp>Ss'��>�>�>�"�R�X�>�>�T��>�>�>�>rA�)rorrprn�declnamerW�quals�IdentifierTyperNrUrX�FuncDecl)r6rq�typenamern�tns     r?�_fix_decl_name_typezCParser._fix_decl_name_type+ss��
���T�5�>�2�2�	��9�D��T�5�>�2�2�	��M��	��Z����]��
��	 �	 �B��b�%�"6�7�7�
 ��x�=�=�1�$�$��%�%�:�B�H�F�F�F�F�!#�D�I��K�K�K�

 ��	)��d�i���8�8�
C��!�!�5�t�z�C�C�C��,��G��*�&�&�&�D�I�I��,�>�>��>�>�>��q�k�'�)�)�)�D�I��rAc��|ptggggg���}|r||�|��n||�d|��|S)a� Declaration specifiers are represented by a dictionary
            with the entries:
            * qual: a list of type qualifiers
            * storage: a list of storage type qualifiers
            * type: a list of type specifiers
            * function: a list of function specifiers
            * alignment: a list of alignment specifiers

            This method is given a declaration specifier, and a
            new specifier of a given kind.
            If `append` is True, the new specifier is added to the end of
            the specifiers list, otherwise it's added at the beginning.
            Returns the declaration specifier, with the new
            specifier incorporated.
        )�qual�storagern�function�	alignmentr�)r3rJ�insert)r6�declspec�newspec�kindrJ�specs      r?�_add_declaration_specifierz"CParser._add_declaration_specifierWsd�� �X�4�R��"�r�UW�X�X�X���	*���J���g�&�&�&�&���J���a��)�)�)��rAc
���d|dv}g}|d�d����n�|dd��t|d��dksPt|dd	j��d
ks,|�|dd	jd��s<d}|dD]}t	|d��r	|j}n�|�d
|��tj|dd	jddd|d|dd	j���|dd<|dd	=n�t|ddtj
tjtjtj
f��sw|dd}t|tj��s!|j}t|tj���!|j�'|dd	jd|_|dd	=|D�]{}	|	d�J�|r7tjd|d|d|	d|	dj���}
nltjd|d|d|d|d|	d|	�d��|	�d��|	dj��	�	}
t|
jtj
tjtjtj
f��r|
}n|�|
|d��}|rC|r!|�|j|j��n |�|j|j��t-|��}|�|����}|S)z� Builds a list of declarations all sharing the given specifiers.
            If typedef_namespace is true, each declared name is added
            to the "typedef namespace", which also includes objects,
            functions, and enum constants.
        �typedefr�r��bitsizeNrqrn�rRr�?rXzInvalid declarationr��r�rnr��alignrXr�)rWr�r�rnrXr��init�	rWr�r�r��funcspecrnr�r�rX)rTrNr|r`�hasattrrXrUrrpro�Enum�Struct�Unionr�rnr��Typedef�Declr�rYrWr[rrJ)r6r��decls�typedef_namespace�
is_typedef�declarationsrX�t�decls_0_tailrq�declaration�
fixed_decls            r?�_build_declarationszCParser._build_declarationsps����$�y�/�1�
�����8�<�<�	�"�"�.���1�X�f�
�
%��4��<� � �1�$�$��D��L��,<�,B�(C�(C�q�(H�(H��.�.�t�F�|�B�/?�/E�a�/H�I�I�)I����f����A��q�'�*�*�� !�������!�!�"7��?�?�?� %�~��f��b�)�/��2����;�'��6�l�2�&�,� .� .� .�E�!�H�V���V��R� � ��E�!�H�V�,��
�E�L�%�+�u�7K�/M�N�N�	%� ��8�F�+�L� ��u�~�>�>�
1�+�0��!��u�~�>�>�
1��$�,�(,�V��R�(8�(>�q�(A��%���L��$��%	,�%	,�D���<�+�+�+��
.�#�m���v�,� ��O��f���v�,�,�.�.�.���$�j���v�,��{�+� ��O�!�*�-��f�����&�)�)� �H�H�Y�/�/��v�,�,�	.�	.�	.���+�*��J���e�k��(�-*�+�+�
Q�)�
�
�!�5�5�k�4��<�P�P�
�!�
L��L��*�*�:�?�J�<L�M�M�M�M��(�(���*�:J�K�K�K�.�z�:�:�J����
�+�+�+�+��rAc���d|dvr|�d|j��|�|t|d���gd���d}t	j||||j�	��S)
z' Builds a function definition.
        r�r�zInvalid typedefN�rqr�T�r�r�r�r�)rq�param_decls�bodyrX)rUrXr�r3r�FuncDef)r6r�rqr�r�r�s      r?�_build_function_definitionz"CParser._build_function_definition�s�����Y��'�'����/���<�<�<��.�.���T��-�-�-�.�"�/�$�$�%&�'��
�}��#���*�	���	rAc�>�|dkrtjStjS)z` Given a token (either STRUCT or UNION), selects the
            appropriate AST class.
        �struct)rr�r�)r6�tokens  r?�_select_struct_union_classz"CParser._select_struct_union_class�s���H����<���;�rA)
)�left�LOR)r��LAND)r��OR)r��XOR)r��AND)r��EQ�NE)r��GT�GE�LT�LE)r��RSHIFT�LSHIFT)r��PLUS�MINUS)r��TIMES�DIVIDE�MODc��|d�tjg��|d<dStj|d��|d<dS)zh translation_unit_or_empty   : translation_unit
                                        | empty
        rNr�)r�FileAST�r6�ps  r?�p_translation_unit_or_emptyz#CParser.p_translation_unit_or_empty�s?��
�Q�4�<��=��$�$�A�a�D�D�D��=��1��&�&�A�a�D�D�DrAc��|d|d<dS)z4 translation_unit    : external_declaration
        rr�Nr{r�s  r?�p_translation_unit_1zCParser.p_translation_unit_1�����t��!���rAc�^�|d�|d��|d|d<dS)zE translation_unit    : translation_unit external_declaration
        rr�r�N)�extendr�s  r?�p_translation_unit_2zCParser.p_translation_unit_2s/��	
�!����A�a�D������t��!���rAc��|dg|d<dS)z7 external_declaration    : function_definition
        rr�Nr{r�s  r?�p_external_declaration_1z CParser.p_external_declaration_1����!��v��!���rAc��|d|d<dS)z/ external_declaration    : declaration
        rr�Nr{r�s  r?�p_external_declaration_2z CParser.p_external_declaration_2�����t��!���rAc��|dg|d<dS)zi external_declaration    : pp_directive
                                    | pppragma_directive
        rr�Nr{r�s  r?�p_external_declaration_3z CParser.p_external_declaration_3s���!��v��!���rAc��g|d<dS)z( external_declaration    : SEMI
        r�Nr{r�s  r?�p_external_declaration_4z CParser.p_external_declaration_4%s����!���rAc��|d|d<dS)z1 external_declaration    : static_assert
        rr�Nr{r�s  r?�p_external_declaration_5z CParser.p_external_declaration_5*r�rAc��t|��dkr6tj|dd|�|d����g|d<dStj|d|d|�|d����g|d<dS)z� static_assert           : _STATIC_ASSERT LPAREN constant_expression COMMA unified_string_literal RPAREN
                                    | _STATIC_ASSERT LPAREN constant_expression RPAREN
        ��Nrr�)rNr�StaticAssert�_token_coordr�s  r?�p_static_assert_declarationz#CParser.p_static_assert_declaration/s}���q�6�6�Q�;�;��&�q��t�T�4�3D�3D�Q��3J�3J�K�K�L�A�a�D�D�D��&�q��t�Q�q�T�4�3D�3D�Q��3J�3J�K�K�L�A�a�D�D�DrAc�Z�|�d|�|d����dS)z  pp_directive  : PPHASH
        zDirectives not supported yetrN)rUr�r�s  r?�p_pp_directivezCParser.p_pp_directive8s<��	
���8��+�+�A�q�1�1�	3�	3�	3�	3�	3rAc���t|��dkr4tj|d|�|d����|d<dStjd|�|d����|d<dS)zg pppragma_directive      : PPPRAGMA
                                    | PPPRAGMA PPPRAGMASTR
        r�r�r�rrN)rNr�Pragmar�r�s  r?�p_pppragma_directivezCParser.p_pppragma_directive>si���q�6�6�Q�;�;��<��!��d�&7�&7��1�&=�&=�>�>�A�a�D�D�D��<��D�$5�$5�a��$;�$;�<�<�A�a�D�D�DrAc���tgggtjdg|�|d�����gg���}|�||d|d|d���|d<d	S)
zU function_definition : id_declarator declaration_list_opt compound_statement
        rxrry�r�r�r�rnr�r�r��r�rqr�r�r�N)r3rr�r�r��r6r�r�s   r?�p_function_definition_1zCParser.p_function_definition_1Is��������&��w�-1�->�->�q�!�-D�-D�F�F�F�G��
�����.�.���1���!���1��	/����!���rAc�r�|d}|�||d|d|d���|d<dS)zl function_definition : declaration_specifiers id_declarator declaration_list_opt compound_statement
        rr�r��r�r�N)r�r�s   r?�p_function_definition_2zCParser.p_function_definition_2[sG����t���.�.���1���!���1��	/����!���rAc��|d|d<dS)a_ statement   : labeled_statement
                        | expression_statement
                        | compound_statement
                        | selection_statement
                        | iteration_statement
                        | jump_statement
                        | pppragma_directive
                        | static_assert
        rr�Nr{r�s  r?�p_statementzCParser.p_statementjs����t��!���rAc��t|dtj��rPt|��dkr=tj|d|dg|�|d�����|d<dS|d|d<dS)zx pragmacomp_or_statement     : pppragma_directive statement
                                        | statement
        rr�r���block_itemsrXr�N)rorr�rN�Compoundr�r�s  r?�p_pragmacomp_or_statementz!CParser.p_pragmacomp_or_statement�s}���a��d�E�L�)�)�	�c�!�f�f��k�k��>��q�T�1�Q�4�L��'�'��1�-�-�/�/�/�A�a�D�D�D��Q�4�A�a�D�D�DrAc��|d}|d��|d}tjtjtjf}t	|��dkr^t|d|��rHtjd|d|d|d|d	|ddd|dj�
�	�	g}nG|�|tdd���gd�
��}n|�||dd�
��}||d<dS)z� decl_body : declaration_specifiers init_declarator_list_opt
                      | declaration_specifiers_no_type id_init_declarator_list_opt
        rr�Nrnr�r�r�r�r�r�r�Tr�)
rr�r�r�rNror�rXr�r3)r6r�r��ty�s_u_or_er�s      r?�p_decl_bodyzCParser.p_decl_body�s����t��
�Q�4�<�
�f��B���e�k�5�:�>�H��2�w�w�!�|�|�
�2�a�5�(� ;� ;�|�����v�,��{�+� ��O�!�*�-��A��� ��Q�%�+�	'�	'�	'�	(���"�0�0���T��5�5�5�6�&*�1�,�,����,�,����d�"&�-�(�(�E�
��!���rAc��|d|d<dS)z& declaration : decl_body SEMI
        rr�Nr{r�s  r?�
p_declarationzCParser.p_declaration�r�rAc�d�t|��dkr|dn|d|dz|d<dS)zj declaration_list    : declaration
                                | declaration_list declaration
        r�rr�N�rNr�s  r?�p_declaration_listzCParser.p_declaration_list�s3���1�v�v��{�{�q��t�t��!��q��t���!���rAc�R�|�|d|dd��|d<dS)z] declaration_specifiers_no_type  : type_qualifier declaration_specifiers_no_type_opt
        r�rr�r�N�r�r�s  r?�"p_declaration_specifiers_no_type_1z*CParser.p_declaration_specifiers_no_type_1�+���.�.�q��t�Q�q�T�6�B�B��!���rAc�R�|�|d|dd��|d<dS)zf declaration_specifiers_no_type  : storage_class_specifier declaration_specifiers_no_type_opt
        r�rr�r�Nrr�s  r?�"p_declaration_specifiers_no_type_2z*CParser.p_declaration_specifiers_no_type_2s+���.�.�q��t�Q�q�T�9�E�E��!���rAc�R�|�|d|dd��|d<dS)za declaration_specifiers_no_type  : function_specifier declaration_specifiers_no_type_opt
        r�rr�r�Nrr�s  r?�"p_declaration_specifiers_no_type_3z*CParser.p_declaration_specifiers_no_type_3s+���.�.�q��t�Q�q�T�:�F�F��!���rAc�R�|�|d|dd��|d<dS)z_ declaration_specifiers_no_type  : atomic_specifier declaration_specifiers_no_type_opt
        r�rrnr�Nrr�s  r?�"p_declaration_specifiers_no_type_4z*CParser.p_declaration_specifiers_no_type_4rrAc�R�|�|d|dd��|d<dS)zb declaration_specifiers_no_type  : alignment_specifier declaration_specifiers_no_type_opt
        r�rr�r�Nrr�s  r?�"p_declaration_specifiers_no_type_5z*CParser.p_declaration_specifiers_no_type_5�+���.�.�q��t�Q�q�T�;�G�G��!���rAc�V�|�|d|ddd���|d<dS)zI declaration_specifiers  : declaration_specifiers type_qualifier
        rr�r�T�rJr�Nrr�s  r?�p_declaration_specifiers_1z"CParser.p_declaration_specifiers_1!�0���.�.�q��t�Q�q�T�6�$�.�O�O��!���rAc�V�|�|d|ddd���|d<dS)zR declaration_specifiers  : declaration_specifiers storage_class_specifier
        rr�r�Trr�Nrr�s  r?�p_declaration_specifiers_2z"CParser.p_declaration_specifiers_2&s0���.�.�q��t�Q�q�T�9�T�.�R�R��!���rAc�V�|�|d|ddd���|d<dS)zM declaration_specifiers  : declaration_specifiers function_specifier
        rr�r�Trr�Nrr�s  r?�p_declaration_specifiers_3z"CParser.p_declaration_specifiers_3+s0���.�.�q��t�Q�q�T�:�d�.�S�S��!���rAc�V�|�|d|ddd���|d<dS)zS declaration_specifiers  : declaration_specifiers type_specifier_no_typeid
        rr�rnTrr�Nrr�s  r?�p_declaration_specifiers_4z"CParser.p_declaration_specifiers_40rrAc�F�|�d|dd��|d<dS)z2 declaration_specifiers  : type_specifier
        Nrrnr�rr�s  r?�p_declaration_specifiers_5z"CParser.p_declaration_specifiers_55�'���.�.�t�Q�q�T�6�B�B��!���rAc�V�|�|d|ddd���|d<dS)zQ declaration_specifiers  : declaration_specifiers_no_type type_specifier
        rr�rnTrr�Nrr�s  r?�p_declaration_specifiers_6z"CParser.p_declaration_specifiers_6:rrAc�V�|�|d|ddd���|d<dS)zN declaration_specifiers  : declaration_specifiers alignment_specifier
        rr�r�Trr�Nrr�s  r?�p_declaration_specifiers_7z"CParser.p_declaration_specifiers_7?s0���.�.�q��t�Q�q�T�;�t�.�T�T��!���rAc��|d|d<dS)a storage_class_specifier : AUTO
                                    | REGISTER
                                    | STATIC
                                    | EXTERN
                                    | TYPEDEF
                                    | _THREAD_LOCAL
        rr�Nr{r�s  r?�p_storage_class_specifierz!CParser.p_storage_class_specifierD�����t��!���rAc��|d|d<dS)zR function_specifier  : INLINE
                                | _NORETURN
        rr�Nr{r�s  r?�p_function_specifierzCParser.p_function_specifierNr�rAc�n�tj|dg|�|d�����|d<dS)a+ type_specifier_no_typeid  : VOID
                                      | _BOOL
                                      | CHAR
                                      | SHORT
                                      | INT
                                      | LONG
                                      | FLOAT
                                      | DOUBLE
                                      | _COMPLEX
                                      | SIGNED
                                      | UNSIGNED
                                      | __INT128
        rryr�N�rr�r�r�s  r?�p_type_specifier_no_typeidz"CParser.p_type_specifier_no_typeidTs7���#�Q�q�T�F�$�2C�2C�A�q�2I�2I�J�J�J��!���rAc��|d|d<dS)z� type_specifier  : typedef_name
                            | enum_specifier
                            | struct_or_union_specifier
                            | type_specifier_no_typeid
                            | atomic_specifier
        rr�Nr{r�s  r?�p_type_specifierzCParser.p_type_specifierds����t��!���rAc�T�|d}|j�d��||d<dS)z= atomic_specifier  : _ATOMIC LPAREN type_name RPAREN
        r��_Atomicr�N)r�rJ)r6r��typs   r?�p_atomic_specifierzCParser.p_atomic_specifierns0����d���	����#�#�#���!���rAc��|d|d<dS)z� type_qualifier  : CONST
                            | RESTRICT
                            | VOLATILE
                            | _ATOMIC
        rr�Nr{r�s  r?�p_type_qualifierzCParser.p_type_qualifierus����t��!���rAc�h�t|��dkr|d|dgzn|dg|d<dS)z� init_declarator_list    : init_declarator
                                    | init_declarator_list COMMA init_declarator
        r�rr�r�Nrr�s  r?�p_init_declarator_listzCParser.p_init_declarator_list}�7��!$�A���!���q��t�q��t�f�}�}�!�A�$���!���rAc�p�t|dt|��dkr|dnd���|d<dS)zb init_declarator : declarator
                            | declarator EQUALS initializer
        rr�r�Nr�r��r3rNr�s  r?�p_init_declaratorzCParser.p_init_declarator��8����1��S��V�V�a�Z�Z�Q�q�T�T�T�C�C�C��!���rAc�h�t|��dkr|d|dgzn|dg|d<dS)z� id_init_declarator_list    : id_init_declarator
                                       | id_init_declarator_list COMMA init_declarator
        r�rr�r�Nrr�s  r?�p_id_init_declarator_listz!CParser.p_id_init_declarator_list�r4rAc�p�t|dt|��dkr|dnd���|d<dS)zn id_init_declarator : id_declarator
                               | id_declarator EQUALS initializer
        rr�r�Nr�r�r6r�s  r?�p_id_init_declaratorzCParser.p_id_init_declarator�r8rAc�V�|�|d|ddd���|d<dS)zY specifier_qualifier_list    : specifier_qualifier_list type_specifier_no_typeid
        rr�rnTrr�Nrr�s  r?�p_specifier_qualifier_list_1z$CParser.p_specifier_qualifier_list_1�rrAc�V�|�|d|ddd���|d<dS)zO specifier_qualifier_list    : specifier_qualifier_list type_qualifier
        rr�r�Trr�Nrr�s  r?�p_specifier_qualifier_list_2z$CParser.p_specifier_qualifier_list_2�rrAc�F�|�d|dd��|d<dS)z4 specifier_qualifier_list  : type_specifier
        Nrrnr�rr�s  r?�p_specifier_qualifier_list_3z$CParser.p_specifier_qualifier_list_3�rrAc�N�t|dgg|dgg���|d<dS)zH specifier_qualifier_list  : type_qualifier_list type_specifier
        rr�r�r�N�r3r�s  r?�p_specifier_qualifier_list_4z$CParser.p_specifier_qualifier_list_4�s.����1���R�q��t�f�r�R�R�R��!���rAc�B�tg|dgggg���|d<dS)z9 specifier_qualifier_list  : alignment_specifier
        rr�r�NrDr�s  r?�p_specifier_qualifier_list_5z$CParser.p_specifier_qualifier_list_5�s*�����!��v�r��R�P�P�P��!���rAc�R�|�|d|dd��|d<dS)zR specifier_qualifier_list  : specifier_qualifier_list alignment_specifier
        rr�r�r�Nrr�s  r?�p_specifier_qualifier_list_6z$CParser.p_specifier_qualifier_list_6�rrAc��|�|d��}||dd|�|d�����|d<dS)z{ struct_or_union_specifier   : struct_or_union ID
                                        | struct_or_union TYPEID
        rr�N�rWr�rXr�)r�r��r6r��klasss   r?�p_struct_or_union_specifier_1z%CParser.p_struct_or_union_specifier_1�sV���/�/��!��5�5���u��1����#�#�A�q�)�)�+�+�+��!���rAc��|�|d��}t|��dkr'|dg|�|d�����|d<dS|d|d|�|d�����|d<dS)z� struct_or_union_specifier : struct_or_union brace_open struct_declaration_list brace_close
                                      | struct_or_union brace_open brace_close
        rr�Nr�rKr�r��r�rNr�rLs   r?�p_struct_or_union_specifier_2z%CParser.p_struct_or_union_specifier_2�s����/�/��!��5�5���q�6�6�Q�;�;��5����'�'��1�-�-�/�/�/�A�a�D�D�D�
�5����d��'�'��1�-�-�/�/�/�A�a�D�D�DrAc��|�|d��}t|��dkr-||dg|�|d�����|d<dS||d|d|�|d�����|d<dS)a� struct_or_union_specifier   : struct_or_union ID brace_open struct_declaration_list brace_close
                                        | struct_or_union ID brace_open brace_close
                                        | struct_or_union TYPEID brace_open struct_declaration_list brace_close
                                        | struct_or_union TYPEID brace_open brace_close
        rr�r�rKr�r�NrPrLs   r?�p_struct_or_union_specifier_3z%CParser.p_struct_or_union_specifier_3�s����/�/��!��5�5���q�6�6�Q�;�;��5��q�T���'�'��1�-�-�/�/�/�A�a�D�D�D�
�5��q�T���d��'�'��1�-�-�/�/�/�A�a�D�D�DrAc��|d|d<dS)zF struct_or_union : STRUCT
                            | UNION
        rr�Nr{r�s  r?�p_struct_or_unionzCParser.p_struct_or_union�r�rAc�v�t|��dkr|dpg|d<dS|d|dpgz|d<dS)z� struct_declaration_list     : struct_declaration
                                        | struct_declaration_list struct_declaration
        r�rr�Nrr�s  r?�p_struct_declaration_listz!CParser.p_struct_declaration_list�sF���q�6�6�Q�;�;��Q�4�:�2�A�a�D�D�D��Q�4�1�Q�4�:�2�&�A�a�D�D�DrAc���|d}d|dvsJ�|d�|�||d���}n�t|d��dkrf|dd}t|tj��r|}ntj|��}|�|t
|�	��g���}n'|�|t
dd�
��g���}||d<dS)zW struct_declaration : specifier_qualifier_list struct_declarator_list_opt SEMI
        rr�r�r�N�r�r�rnr��rqr�)r�rNror�Noder�r3)r6r�r�r��node�	decl_types      r?�p_struct_declaration_1zCParser.p_struct_declaration_1�s����t����Y��/�/�/�/��Q�4���,�,����d�-���E�E���f��
�
�!�
#�
#���<��?�D��$��
�+�+�
7� �	�	�!�0��6�6�	��,�,����+�+�+�,�-�.�.�E�E��,�,����D�1�1�1�2�-�4�4�E���!���rAc��d|d<dS)z# struct_declaration : SEMI
        Nr�r{r�s  r?�p_struct_declaration_2zCParser.p_struct_declaration_2"s����!���rAc��|dg|d<dS)z1 struct_declaration : pppragma_directive
        rr�Nr{r�s  r?�p_struct_declaration_3zCParser.p_struct_declaration_3'r�rAc�h�t|��dkr|d|dgzn|dg|d<dS)z� struct_declarator_list  : struct_declarator
                                    | struct_declarator_list COMMA struct_declarator
        r�rr�r�Nrr�s  r?�p_struct_declarator_listz CParser.p_struct_declarator_list,r4rAc�"�|ddd�|d<dS)z( struct_declarator : declarator
        rN�rqr�r�r{r�s  r?�p_struct_declarator_1zCParser.p_struct_declarator_15s���!���.�.��!���rAc��t|��dkr|d|dd�|d<dStjdddd��|dd�|d<dS)z� struct_declarator   : declarator COLON constant_expression
                                | COLON constant_expression
        r�rrfr�Nr�)rNrrpr�s  r?�p_struct_declarator_2zCParser.p_struct_declarator_2:sZ���q�6�6�A�:�:��a�D�Q�q�T�2�2�A�a�D�D�D�!�N�4��t�T�B�B�q�QR�t�T�T�A�a�D�D�DrAc�l�tj|dd|�|d����|d<dS)zM enum_specifier  : ENUM ID
                            | ENUM TYPEID
        r�Nrr��rr�r�r�s  r?�p_enum_specifier_1zCParser.p_enum_specifier_1Cs3���z�!�A�$��d�&7�&7��1�&=�&=�>�>��!���rAc�l�tjd|d|�|d����|d<dS)zG enum_specifier  : ENUM brace_open enumerator_list brace_close
        Nr�rr�rkr�s  r?�p_enum_specifier_2zCParser.p_enum_specifier_2Is3���z�$��!��d�&7�&7��1�&=�&=�>�>��!���rAc�x�tj|d|d|�|d����|d<dS)z� enum_specifier  : ENUM ID brace_open enumerator_list brace_close
                            | ENUM TYPEID brace_open enumerator_list brace_close
        r�r�rr�Nrkr�s  r?�p_enum_specifier_3zCParser.p_enum_specifier_3Ns7���z�!�A�$��!��d�&7�&7��1�&=�&=�>�>��!���rAc�&�t|��dkr,tj|dg|dj��|d<dSt|��dkr
|d|d<dS|dj�|d��|d|d<dS)z� enumerator_list : enumerator
                            | enumerator_list COMMA
                            | enumerator_list COMMA enumerator
        r�rr�r�N)rNr�EnumeratorListrX�enumeratorsrJr�s  r?�p_enumerator_listzCParser.p_enumerator_listTs���
�q�6�6�Q�;�;��'��1����!��
�;�;�A�a�D�D�D�
��V�V�q�[�[��Q�4�A�a�D�D�D�
�a�D��#�#�A�a�D�)�)�)��Q�4�A�a�D�D�DrAc�j�tj|d|�|d����|d<dS)z� alignment_specifier  : _ALIGNAS LPAREN type_name RPAREN
                                 | _ALIGNAS LPAREN constant_expression RPAREN
        r�rr�N)r�Alignasr�r�s  r?�p_alignment_specifierzCParser.p_alignment_specifieras1���}�Q�q�T�4�#4�#4�Q��#:�#:�;�;��!���rAc�D�t|��dkr1tj|dd|�|d����}n6tj|d|d|�|d����}|�|j|j��||d<dS)zR enumerator  : ID
                        | ID EQUALS constant_expression
        r�rNr�r�)rNr�
Enumeratorr�r[rWrX)r6r��
enumerators   r?�p_enumeratorzCParser.p_enumeratorgs����q�6�6�Q�;�;��)��!��d��)�)�!�Q�/�/�1�1�J�J��)��!��a��d��)�)�!�Q�/�/�1�1�J�	
���Z�_�j�.>�?�?�?���!���rAc��|d|d<dS)zQ declarator  : id_declarator
                        | typeid_declarator
        rr�Nr{r�s  r?�p_declaratorzCParser.p_declaratorwr�rA)r~�ID)�typeid�TYPEID)�typeid_noparenr�c��|d|d<dS)z1 xxx_declarator  : direct_xxx_declarator
        rr�Nr{r�s  r?�p_xxx_declarator_1zCParser.p_xxx_declarator_1}r�rAc�P�|�|d|d��|d<dS)z9 xxx_declarator  : pointer direct_xxx_declarator
        r�rr�N�rvr�s  r?�p_xxx_declarator_2zCParser.p_xxx_declarator_2�s)���%�%�a��d�A�a�D�1�1��!���rAc
�r�tj|dddd|�|d�����|d<dS)z' direct_xxx_declarator   : yyy
        rNr�r�)rrpr�r�s  r?�p_direct_xxx_declarator_1z!CParser.p_direct_xxx_declarator_1�sE���~��q�T�����#�#�A�q�)�)�+�+�+��!���rAc��|d|d<dS)z@ direct_xxx_declarator   : LPAREN xxx_declarator RPAREN
        r�r�Nr{r�s  r?�p_direct_xxx_declarator_2z!CParser.p_direct_xxx_declarator_2�r�rAc��t|��dkr|dngpg}tjdt|��dkr|dn|d||dj���}|�|d|���|d<dS)	z} direct_xxx_declarator   : direct_xxx_declarator LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET
        r�r�Nr�r�rn�dim�	dim_qualsrX�rqrrr�)rNr�	ArrayDeclrXrv)r6r�r��arrs    r?�p_direct_xxx_declarator_3z!CParser.p_direct_xxx_declarator_3�s����Q���!����1����2����o���A����
�
��!����!����A�$�*�	�����%�%�1�Q�4�#�%�>�>��!���rAc���d�|d|dfD��}d�|D��}tjd|d||dj���}|�|d|�	��|d
<dS)z� direct_xxx_declarator   : direct_xxx_declarator LBRACKET STATIC type_qualifier_list_opt assignment_expression RBRACKET
                                    | direct_xxx_declarator LBRACKET type_qualifier_list STATIC assignment_expression RBRACKET
        c�B�g|]}t|t��r|n|g��Sr{�ro�list)r}�items  r?rz5CParser.p_direct_xxx_declarator_4.<locals>.<listcomp>�s=��%�%�%��!+�4�� 6� 6�B���T�F�%�%�%rAr�r�c� �g|]}|D]}|�|���SrIr{)r}�sublistr�s   r?rz5CParser.p_direct_xxx_declarator_4.<locals>.<listcomp>�s8��!�!�!�g�'�!�!�$�������rANr�rr�r�r��rr�rXrv)r6r��listed_qualsr�r�s     r?�p_direct_xxx_declarator_4z!CParser.p_direct_xxx_declarator_4�s���%�%��1��a��d��%�%�%��!�!��!�!�!�	��o���!����A�$�*�	�����%�%�1�Q�4�#�%�>�>��!���rAc
��tjdtj|d|�|d����|d�|dng|dj���}|�|d|���|d<dS)zi direct_xxx_declarator   : direct_xxx_declarator LBRACKET type_qualifier_list_opt TIMES RBRACKET
        Nr�r�rr�r�r��rr�r~r�rXrv�r6r�r�s   r?�p_direct_xxx_declarator_5z!CParser.p_direct_xxx_declarator_5�s����o�����1��t�0�0��A�6�6�7�7���d�.�a��d�d�B��A�$�*�	�����%�%�1�Q�4�#�%�>�>��!���rAc�t�tj|dd|dj���}|���jdkrR|j�K|jjD]>}t|tj��rn!|�	|j
|j���?|�|d|���|d<dS)z� direct_xxx_declarator   : direct_xxx_declarator LPAREN parameter_type_list RPAREN
                                    | direct_xxx_declarator LPAREN identifier_list_opt RPAREN
        r�Nr��argsrnrX�LBRACEr�r�)rr�rXrlrnr��paramsro�
EllipsisParamr[rWrv)r6r��func�params    r?�p_direct_xxx_declarator_6z!CParser.p_direct_xxx_declarator_6�s���
�~��1����A�$�*����� �)�)�+�+�0�H�<�<��y�$�!�Y�-�B�B�E�!�%��)<�=�=�D�u�u��(�(���U�[�A�A�A�A��%�%�1�Q�4�$�%�?�?��!���rAc��|�|d��}tj|dpgd|���}t|��dkr1|d}|j�|j}|j�||_|d|d<dS||d<dS)zm pointer : TIMES type_qualifier_list_opt
                    | TIMES type_qualifier_list_opt pointer
        rr�N)r�rnrXr�r�)r�r�PtrDeclrNrn)r6r�rX�nested_type�	tail_types     r?�	p_pointerzCParser.p_pointer�s����!�!�!�Q�'�'�� �m�!�A�$�*�"�4�u�M�M�M���q�6�6�A�:�:��!��I��.�,�%�N�	��.�,�(�I�N��Q�4�A�a�D�D�D��A�a�D�D�DrAc�h�t|��dkr	|dgn|d|dgz|d<dS)zs type_qualifier_list : type_qualifier
                                | type_qualifier_list type_qualifier
        r�rr�Nrr�s  r?�p_type_qualifier_listzCParser.p_type_qualifier_list�7���Q���1����!��v�v�!�A�$�!�A�$��-��!���rAc���t|��dkrF|dj�tj|�|d������|d|d<dS)zn parameter_type_list : parameter_list
                                | parameter_list COMMA ELLIPSIS
        r�rr�r�N)rNr�rJrr�r�r�s  r?�p_parameter_type_listzCParser.p_parameter_type_listsY���q�6�6�A�:�:�
�a�D�K���u�2�4�3D�3D�Q��3J�3J�K�K�L�L�L���t��!���rAc���t|��dkr,tj|dg|dj��|d<dS|dj�|d��|d|d<dS)zz parameter_list  : parameter_declaration
                            | parameter_list COMMA parameter_declaration
        r�rr�r�N�rNr�	ParamListrXr�rJr�s  r?�p_parameter_listzCParser.p_parameter_list�g���q�6�6�Q�;�;��?�A�a�D�6�1�Q�4�:�6�6�A�a�D�D�D�
�a�D�K���q��t�$�$�$��Q�4�A�a�D�D�DrAc���|d}|ds/tjdg|�|d�����g|d<|�|t	|d���g���d|d<d	S)
z� parameter_declaration   : declaration_specifiers id_declarator
                                    | declaration_specifiers typeid_noparen_declarator
        rrnrxryr�rZrYr�N)rr�r�r�r3r�s   r?�p_parameter_declaration_1z!CParser.p_parameter_declaration_1)s�����t���F�|�	0�!�0�%���'�'��1�-�-�/�/�/�0�D��L��'�'���Q�q�T�?�?�?�#�(�%�%�%&�(��!���rAc��|d}|ds/tjdg|�|d�����g|d<t|d��dkr�t|ddj��dkr`|�|ddjd��r4|�|t|dd�	��g�
��d}nntjd|dd|dptj	dddd��|�|d���
��}|d}|�
||��}||d<dS)zR parameter_declaration   : declaration_specifiers abstract_declarator_opt
        rrnrxryrRr�r�Nr�rYrr��rWr�r�rnrX)rr�r�rNr|r`r�r3�Typenamerpr�)r6r�r�rqr�s     r?�p_parameter_declaration_2z!CParser.p_parameter_declaration_25sn����t���F�|�	0�!�0�%���'�'��1�-�-�/�/�/�0�D��L��t�F�|���q� � �S��f��b�)9�)?�%@�%@�A�%E�%E��&�&�t�F�|�B�'7�'=�a�'@�A�A�&F��+�+���Q�q�T��5�5�5�6�,�8�8�89�;�D�D��>���6�l���q�T�C�U�^�D�$��d�C�C��'�'��1�-�-�/�/�/�D��F�|�H��+�+�D�(�;�;�D���!���rAc���t|��dkr,tj|dg|dj��|d<dS|dj�|d��|d|d<dS)ze identifier_list : identifier
                            | identifier_list COMMA identifier
        r�rr�r�Nr�r�s  r?�p_identifier_listzCParser.p_identifier_listUr�rAc��|d|d<dS)z- initializer : assignment_expression
        rr�Nr{r�s  r?�p_initializer_1zCParser.p_initializer_1_r�rAc��|d�.tjg|�|d����|d<dS|d|d<dS)z� initializer : brace_open initializer_list_opt brace_close
                        | brace_open initializer_list COMMA brace_close
        r�Nrr�)r�InitListr�r�s  r?�p_initializer_2zCParser.p_initializer_2dsG��
�Q�4�<��>�"�d�&7�&7��1�&=�&=�>�>�A�a�D�D�D��Q�4�A�a�D�D�DrAc��t|��dkrW|d�|dn tj|d|d��}tj|g|dj��|d<dS|d�|dn tj|d|d��}|dj�|��|d|d<dS)z� initializer_list    : designation_opt initializer
                                | initializer_list COMMA designation_opt initializer
        r�rNr�r�r�)rNr�NamedInitializerr�rX�exprsrJ)r6r�r�s   r?�p_initializer_listzCParser.p_initializer_listms����q�6�6�Q�;�;��Q�4�<�1�Q�4�4�U�-C�A�a�D�!�A�$�-O�-O�D��>�4�&�!�A�$�*�5�5�A�a�D�D�D��Q�4�<�1�Q�4�4�U�-C�A�a�D�!�A�$�-O�-O�D�
�a�D�J���d�#�#�#��Q�4�A�a�D�D�DrAc��|d|d<dS)z. designation : designator_list EQUALS
        rr�Nr{r�s  r?�
p_designationzCParser.p_designationyr�rAc�h�t|��dkr	|dgn|d|dgz|d<dS)z_ designator_list : designator
                            | designator_list designator
        r�rr�Nrr�s  r?�p_designator_listzCParser.p_designator_list�r�rAc��|d|d<dS)zi designator  : LBRACKET constant_expression RBRACKET
                        | PERIOD identifier
        r�r�Nr{r�s  r?�p_designatorzCParser.p_designator�r�rAc��tjd|dddd�d|dptjdddd��|�|d�����}|�||dd��|d<dS)	zH type_name   : specifier_qualifier_list abstract_declarator_opt
        rrr�Nr�r�rnr�)rr�rpr�r�)r6r�r�s   r?�p_type_namezCParser.p_type_name�s����>���A�$�v�,�q�q�q�/���1��?����d�D�$�?�?��#�#�A�q�)�)�+�+�+���'�'��!�A�$�v�,�?�?��!���rAc�t�tjdddd��}|�||d���|d<dS)z+ abstract_declarator     : pointer
        Nrr�r�)rrprv)r6r��	dummytypes   r?�p_abstract_declarator_1zCParser.p_abstract_declarator_1�sE���N�4��t�T�:�:�	��%�%���q�T�&����!���rAc�P�|�|d|d��|d<dS)zF abstract_declarator     : pointer direct_abstract_declarator
        r�rr�Nr�r�s  r?�p_abstract_declarator_2zCParser.p_abstract_declarator_2�s)���%�%�a��d�A�a�D�1�1��!���rAc��|d|d<dS)z> abstract_declarator     : direct_abstract_declarator
        rr�Nr{r�s  r?�p_abstract_declarator_3zCParser.p_abstract_declarator_3�r�rAc��|d|d<dS)zA direct_abstract_declarator  : LPAREN abstract_declarator RPAREN r�r�Nr{r�s  r?�p_direct_abstract_declarator_1z&CParser.p_direct_abstract_declarator_1������t��!���rAc��tjd|dg|dj���}|�|d|���|d<dS)zn direct_abstract_declarator  : direct_abstract_declarator LBRACKET assignment_expression_opt RBRACKET
        Nr�rr�r�r�r�r�s   r?�p_direct_abstract_declarator_2z&CParser.p_direct_abstract_declarator_2�sV���o���!����A�$�*�	�����%�%�1�Q�4�#�%�>�>��!���rAc	��t|��dkr|dngpg}tjtjdddd��t|��dkr|dn|d||�|d�����|d<dS)zk direct_abstract_declarator  : LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET
        r�r�Nr�rr�r�)rNrr�rpr�)r6r�r�s   r?�p_direct_abstract_declarator_3z&CParser.p_direct_abstract_declarator_3�s����Q���!����1����2��������d�D�$�7�7��A����
�
��!����!����#�#�A�q�)�)�	+�+�+��!���rAc
���tjdtj|d|�|d����g|dj���}|�|d|���|d<dS)zZ direct_abstract_declarator  : direct_abstract_declarator LBRACKET TIMES RBRACKET
        Nr�rr�r�r�r�r�s   r?�p_direct_abstract_declarator_4z&CParser.p_direct_abstract_declarator_4�sr���o�����1��t�0�0��A�6�6�7�7���A�$�*�	�����%�%�1�Q�4�#�%�>�>��!���rAc
���tjtjdddd��tj|d|�|d����g|�|d�����|d<dS)z? direct_abstract_declarator  : LBRACKET TIMES RBRACKET
        Nr�rr�r�)rr�rpr~r�r�s  r?�p_direct_abstract_declarator_5z&CParser.p_direct_abstract_declarator_5�sn�������d�D�$�7�7����1��t�0�0��A�6�6�7�7���#�#�A�q�)�)�	+�+�+��!���rAc��tj|dd|dj���}|�|d|���|d<dS)zh direct_abstract_declarator  : direct_abstract_declarator LPAREN parameter_type_list_opt RPAREN
        r�Nrr�r�r�)rr�rXrv)r6r�r�s   r?�p_direct_abstract_declarator_6z&CParser.p_direct_abstract_declarator_6�sS���~��1����A�$�*�����
�%�%�1�Q�4�$�%�?�?��!���rAc	��tj|dtjdddd��|�|d�����|d<dS)zM direct_abstract_declarator  : LPAREN parameter_type_list_opt RPAREN
        r�Nrr�r�)rr�rpr�r�s  r?�p_direct_abstract_declarator_7z&CParser.p_direct_abstract_declarator_7�sO���~��1�����d�D�$�7�7��#�#�A�q�)�)�+�+�+��!���rAc�d�t|dt��r|dn|dg|d<dS)zG block_item  : declaration
                        | statement
        rr�Nr�r�s  r?�p_block_itemzCParser.p_block_item�s2��"�!�A�$��-�-�9�q��t�t�A�a�D�6��!���rAc�~�t|��dks
|ddgkr|dn|d|dz|d<dS)z_ block_item_list : block_item
                            | block_item_list block_item
        r�Nrr�rr�s  r?�p_block_item_listzCParser.p_block_item_list�sA��
�A���!���q��t��v�~�~�q��t�t�A�a�D�1�Q�4�K��!���rAc�l�tj|d|�|d�����|d<dS)zA compound_statement : brace_open block_item_list_opt brace_close r�rr�r�N)rr�r�r�s  r?�p_compound_statement_1zCParser.p_compound_statement_1s:���~��!���#�#�A�q�)�)�+�+�+��!���rAc�x�tj|d|d|�|d����|d<dS)z6 labeled_statement : ID COLON pragmacomp_or_statement rr�r�N)r�Labelr�r�s  r?�p_labeled_statement_1zCParser.p_labeled_statement_1�5���{�1�Q�4��1��t�'8�'8��A�'>�'>�?�?��!���rAc�z�tj|d|dg|�|d����|d<dS)zL labeled_statement : CASE constant_expression COLON pragmacomp_or_statement r�r�rr�N)r�Caser�r�s  r?�p_labeled_statement_2zCParser.p_labeled_statement_2s7���z�!�A�$��1����(9�(9�!�Q�(?�(?�@�@��!���rAc�l�tj|dg|�|d����|d<dS)z; labeled_statement : DEFAULT COLON pragmacomp_or_statement r�rr�N)r�Defaultr�r�s  r?�p_labeled_statement_3zCParser.p_labeled_statement_3s1���}�a��d�V�T�%6�%6�q�!�%<�%<�=�=��!���rAc	�z�tj|d|dd|�|d����|d<dS)zK selection_statement : IF LPAREN expression RPAREN pragmacomp_or_statement r�r�Nrr��r�Ifr�r�s  r?�p_selection_statement_1zCParser.p_selection_statement_1s7���x��!��a��d�D�$�*;�*;�A�q�*A�*A�B�B��!���rAc	��tj|d|d|d|�|d����|d<dS)zZ selection_statement : IF LPAREN expression RPAREN statement ELSE pragmacomp_or_statement r�r��rr�Nr�r�s  r?�p_selection_statement_2zCParser.p_selection_statement_2s;���x��!��a��d�A�a�D�$�*;�*;�A�q�*A�*A�B�B��!���rAc
��ttj|d|d|�|d������|d<dS)zO selection_statement : SWITCH LPAREN expression RPAREN pragmacomp_or_statement r�r�rr�N)r
r�Switchr�r�s  r?�p_selection_statement_3zCParser.p_selection_statement_3sD�����Q�q�T�1�Q�4��):�):�1�a�)@�)@�A�A�C�C��!���rAc�x�tj|d|d|�|d����|d<dS)zN iteration_statement : WHILE LPAREN expression RPAREN pragmacomp_or_statement r�r�rr�N)r�Whiler�r�s  r?�p_iteration_statement_1zCParser.p_iteration_statement_1 r�rAc�x�tj|d|d|�|d����|d<dS)zV iteration_statement : DO pragmacomp_or_statement WHILE LPAREN expression RPAREN SEMI r�r�rr�N)r�DoWhiler�r�s  r?�p_iteration_statement_2zCParser.p_iteration_statement_2$s5���}�Q�q�T�1�Q�4��):�):�1�a�)@�)@�A�A��!���rAc
��tj|d|d|d|d|�|d����|d<dS)zx iteration_statement : FOR LPAREN expression_opt SEMI expression_opt SEMI expression_opt RPAREN pragmacomp_or_statement r�r�r��	rr�N)r�Forr�r�s  r?�p_iteration_statement_3zCParser.p_iteration_statement_3(sA���y��1��q��t�Q�q�T�1�Q�4��1B�1B�1�a�1H�1H�I�I��!���rAc
���tjtj|d|�|d����|d|d|d|�|d����|d<dS)zp iteration_statement : FOR LPAREN declaration expression_opt SEMI expression_opt RPAREN pragmacomp_or_statement r�rr���r�N)rr
�DeclListr�r�s  r?�p_iteration_statement_4zCParser.p_iteration_statement_4,sd���y����!��d�.?�.?��1�.E�.E�F�F��1��q��t�Q�q�T�4�+<�+<�Q��+B�+B�D�D��!���rAc�j�tj|d|�|d����|d<dS)z  jump_statement  : GOTO ID SEMI r�rr�N)r�Gotor�r�s  r?�p_jump_statement_1zCParser.p_jump_statement_11s/���z�!�A�$�� 1� 1�!�Q� 7� 7�8�8��!���rAc�\�tj|�|d����|d<dS)z jump_statement  : BREAK SEMI rr�N)r�Breakr�r�s  r?�p_jump_statement_2zCParser.p_jump_statement_25s)���{�4�,�,�Q��2�2�3�3��!���rAc�\�tj|�|d����|d<dS)z! jump_statement  : CONTINUE SEMI rr�N)r�Continuer�r�s  r?�p_jump_statement_3zCParser.p_jump_statement_39s)���~�d�/�/��1�5�5�6�6��!���rAc��tjt|��dkr|dnd|�|d����|d<dS)z\ jump_statement  : RETURN expression SEMI
                            | RETURN SEMI
        r�r�Nrr�)r�ReturnrNr�r�s  r?�p_jump_statement_4zCParser.p_jump_statement_4=sD���|�C��F�F�a�K�K�A�a�D�D�T�4�;L�;L�Q�PQ�;R�;R�S�S��!���rAc��|d�-tj|�|d����|d<dS|d|d<dS)z, expression_statement : expression_opt SEMI rNr�r�)r�EmptyStatementr�r�s  r?�p_expression_statementzCParser.p_expression_statementCsD���Q�4�<��'��(9�(9�!�Q�(?�(?�@�@�A�a�D�D�D��Q�4�A�a�D�D�DrAc�<�t|��dkr
|d|d<dSt|dtj��s*tj|dg|dj��|d<|dj�|d��|d|d<dS)zn expression  : assignment_expression
                        | expression COMMA assignment_expression
        r�rr�r�N)rNror�ExprListrXr�rJr�s  r?�p_expressionzCParser.p_expressionJs����q�6�6�Q�;�;��Q�4�A�a�D�D�D��a��d�E�N�3�3�
:��~�q��t�f�a��d�j�9�9��!��
�a�D�J���a��d�#�#�#��Q�4�A�a�D�D�DrAc��|d|d<dS)z: assignment_expression : LPAREN compound_statement RPAREN r�r�Nr{r�s  r?�#p_parenthesized_compound_expressionz+CParser.p_parenthesized_compound_expressionWr�rAc�n�tj|dg|�|d�����|d<dS)z typedef_name : TYPEID rryr�Nr(r�s  r?�p_typedef_namezCParser.p_typedef_name[s5���#�Q�q�T�F�$�2C�2C�A�q�2I�2I�J�J�J��!���rAc��t|��dkr
|d|d<dStj|d|d|d|dj��|d<dS)z� assignment_expression   : conditional_expression
                                    | unary_expression assignment_operator assignment_expression
        r�rr�r�N)rNr�
AssignmentrXr�s  r?�p_assignment_expressionzCParser.p_assignment_expression_sT���q�6�6�Q�;�;��Q�4�A�a�D�D�D��#�A�a�D�!�A�$��!��a��d�j�A�A�A�a�D�D�DrAc��|d|d<dS)a� assignment_operator : EQUALS
                                | XOREQUAL
                                | TIMESEQUAL
                                | DIVEQUAL
                                | MODEQUAL
                                | PLUSEQUAL
                                | MINUSEQUAL
                                | LSHIFTEQUAL
                                | RSHIFTEQUAL
                                | ANDEQUAL
                                | OREQUAL
        rr�Nr{r�s  r?�p_assignment_operatorzCParser.p_assignment_operatorms����t��!���rAc��|d|d<dS)z. constant_expression : conditional_expression rr�Nr{r�s  r?�p_constant_expressionzCParser.p_constant_expression|r�rAc��t|��dkr
|d|d<dStj|d|d|d|dj��|d<dS)z� conditional_expression  : binary_expression
                                    | binary_expression CONDOP expression COLON conditional_expression
        r�rr�r�r�N)rNr�	TernaryOprXr�s  r?�p_conditional_expressionz CParser.p_conditional_expression�sS���q�6�6�Q�;�;��Q�4�A�a�D�D�D��?�1�Q�4��1��q��t�Q�q�T�Z�@�@�A�a�D�D�DrAc��t|��dkr
|d|d<dStj|d|d|d|dj��|d<dS)ak binary_expression   : cast_expression
                                | binary_expression TIMES binary_expression
                                | binary_expression DIVIDE binary_expression
                                | binary_expression MOD binary_expression
                                | binary_expression PLUS binary_expression
                                | binary_expression MINUS binary_expression
                                | binary_expression RSHIFT binary_expression
                                | binary_expression LSHIFT binary_expression
                                | binary_expression LT binary_expression
                                | binary_expression LE binary_expression
                                | binary_expression GE binary_expression
                                | binary_expression GT binary_expression
                                | binary_expression EQ binary_expression
                                | binary_expression NE binary_expression
                                | binary_expression AND binary_expression
                                | binary_expression OR binary_expression
                                | binary_expression XOR binary_expression
                                | binary_expression LAND binary_expression
                                | binary_expression LOR binary_expression
        r�rr�r�N)rNr�BinaryOprXr�s  r?�p_binary_expressionzCParser.p_binary_expression�sS��*�q�6�6�Q�;�;��Q�4�A�a�D�D�D��>�!�A�$��!��a��d�A�a�D�J�?�?�A�a�D�D�DrAc��|d|d<dS)z$ cast_expression : unary_expression rr�Nr{r�s  r?�p_cast_expression_1zCParser.p_cast_expression_1�r�rAc�x�tj|d|d|�|d����|d<dS)z; cast_expression : LPAREN type_name RPAREN cast_expression r�r�rr�N)r�Castr�r�s  r?�p_cast_expression_2zCParser.p_cast_expression_2�s5���z�!�A�$��!��d�&7�&7��1�&=�&=�>�>��!���rAc��|d|d<dS)z* unary_expression    : postfix_expression rr�Nr{r�s  r?�p_unary_expression_1zCParser.p_unary_expression_1�r�rAc�f�tj|d|d|dj��|d<dS)z� unary_expression    : PLUSPLUS unary_expression
                                | MINUSMINUS unary_expression
                                | unary_operator cast_expression
        rr�r�N�r�UnaryOprXr�s  r?�p_unary_expression_2zCParser.p_unary_expression_2�s-��
�}�Q�q�T�1�Q�4��1���4�4��!���rAc��tj|dt|��dkr|dn|d|�|d����|d<dS)z� unary_expression    : SIZEOF unary_expression
                                | SIZEOF LPAREN type_name RPAREN
                                | _ALIGNOF LPAREN type_name RPAREN
        rr�r�r�N)rr=rNr�r�s  r?�p_unary_expression_3zCParser.p_unary_expression_3�sT��
�}�
�a�D���F�F�a�K�K�A�a�D�D�Q�q�T����a��#�#�%�%��!���rAc��|d|d<dS)z� unary_operator  : AND
                            | TIMES
                            | PLUS
                            | MINUS
                            | NOT
                            | LNOT
        rr�Nr{r�s  r?�p_unary_operatorzCParser.p_unary_operator�r$rAc��|d|d<dS)z* postfix_expression  : primary_expression rr�Nr{r�s  r?�p_postfix_expression_1zCParser.p_postfix_expression_1�r�rAc�f�tj|d|d|dj��|d<dS)zG postfix_expression  : postfix_expression LBRACKET expression RBRACKET rr�r�N)r�ArrayRefrXr�s  r?�p_postfix_expression_2zCParser.p_postfix_expression_2�s+���~�a��d�A�a�D�!�A�$�*�5�5��!���rAc��tj|dt|��dkr|dnd|dj��|d<dS)z� postfix_expression  : postfix_expression LPAREN argument_expression_list RPAREN
                                | postfix_expression LPAREN RPAREN
        rr�r�Nr�)r�FuncCallrNrXr�s  r?�p_postfix_expression_3zCParser.p_postfix_expression_3�s?���~�a��d�C��F�F�a�K�K�A�a�D�D�T�1�Q�4�:�N�N��!���rAc���tj|d|�|d����}tj|d|d||dj��|d<dS)z� postfix_expression  : postfix_expression PERIOD ID
                                | postfix_expression PERIOD TYPEID
                                | postfix_expression ARROW ID
                                | postfix_expression ARROW TYPEID
        r�rr�r�N)rr~r��	StructRefrX)r6r��fields   r?�p_postfix_expression_4zCParser.p_postfix_expression_4�sT�����1��t�0�0��A�6�6�7�7����q��t�Q�q�T�5�!�A�$�*�=�=��!���rAc�l�tjd|dz|d|dj��|d<dS)z{ postfix_expression  : postfix_expression PLUSPLUS
                                | postfix_expression MINUSMINUS
        r�r�rr�Nr<r�s  r?�p_postfix_expression_5zCParser.p_postfix_expression_5�s1���}�S�1�Q�4�Z��1��q��t�z�:�:��!���rAc�N�tj|d|d��|d<dS)z� postfix_expression  : LPAREN type_name RPAREN brace_open initializer_list brace_close
                                | LPAREN type_name RPAREN brace_open initializer_list COMMA brace_close
        r�r�r�N)r�CompoundLiteralr�s  r?�p_postfix_expression_6zCParser.p_postfix_expression_6�s&���$�Q�q�T�1�Q�4�0�0��!���rAc��|d|d<dS)z" primary_expression  : identifier rr�Nr{r�s  r?�p_primary_expression_1zCParser.p_primary_expression_1�r�rAc��|d|d<dS)z  primary_expression  : constant rr�Nr{r�s  r?�p_primary_expression_2zCParser.p_primary_expression_2�r�rAc��|d|d<dS)zp primary_expression  : unified_string_literal
                                | unified_wstring_literal
        rr�Nr{r�s  r?�p_primary_expression_3zCParser.p_primary_expression_3�r�rAc��|d|d<dS)z0 primary_expression  : LPAREN expression RPAREN r�r�Nr{r�s  r?�p_primary_expression_4zCParser.p_primary_expression_4�r�rAc���|�|d��}tjtj|d|��tj|d|dg|��|��|d<dS)za primary_expression  : OFFSETOF LPAREN type_name COMMA offsetof_member_designator RPAREN
        rr�r�r�N)r�rrIr~r!)r6r�rXs   r?�p_primary_expression_5zCParser.p_primary_expression_5�sb���!�!�!�Q�'�'���~�e�h�q��t�U�3�3�#�n�a��d�A�a�D�\�5�A�A�#�%�%��!���rAc��t|��dkr
|d|d<dSt|��dkr9tj|d|d|d|dj��|d<dSt|��dkr2tj|d|d|dj��|d<dStdt|��z���)	z� offsetof_member_designator : identifier
                                         | offsetof_member_designator PERIOD identifier
                                         | offsetof_member_designator LBRACKET expression RBRACKET
        r�rr�r�r�r�z$Unexpected parsing state. len(p): %uN)rNrrLrXrF�NotImplementedErrorr�s  r?�p_offsetof_member_designatorz$CParser.p_offsetof_member_designators���
�q�6�6�Q�;�;��Q�4�A�a�D�D�D�
��V�V�q�[�[��?�1�Q�4��1��q��t�Q�q�T�Z�@�@�A�a�D�D�D�
��V�V�q�[�[��>�!�A�$��!��a��d�j�9�9�A�a�D�D�D�%�&L�s�ST�v�v�&U�V�V�VrAc���t|��dkr,tj|dg|dj��|d<dS|dj�|d��|d|d<dS)z� argument_expression_list    : assignment_expression
                                        | argument_expression_list COMMA assignment_expression
        r�rr�r�N)rNrr!rXr�rJr�s  r?�p_argument_expression_listz"CParser.p_argument_expression_listsg���q�6�6�Q�;�;��>�1�Q�4�&�!�A�$�*�5�5�A�a�D�D�D�
�a�D�J���a��d�#�#�#��Q�4�A�a�D�D�DrAc�j�tj|d|�|d����|d<dS)z identifier  : ID rr�N)rr~r�r�s  r?�p_identifierzCParser.p_identifiers/���x��!��d�/�/��1�5�5�6�6��!���rAc�4�d}d}|ddd�D]}|dvr|dz
}�|dvr|dz
}�d}|dkrtd���|d	krtd
���d|zd|zz}tj|d
z|d|�|d����|d<dS)z� constant    : INT_CONST_DEC
                        | INT_CONST_OCT
                        | INT_CONST_HEX
                        | INT_CONST_BIN
                        | INT_CONST_CHAR
        r�r���N��l�L)�u�Urz.Constant cannot have more than one u/U suffix.r�z.Constant cannot have more than two l/L suffix.z	unsigned zlong rx)�
ValueErrorr�Constantr�)r6r��uCount�lCount�xr��prefixs       r?�p_constant_1zCParser.p_constant_1#s��������1��b�c�c��	�	�A��J����!�����j����!�������A�:�:��N�O�O�
O�
�a�Z�Z��N�O�O�
O��v�%��&�(8�8���~��U�N�A�a�D�$�"3�"3�A�q�"9�"9�;�;��!���rAc��d|d���vrd}n(|dddvrd}n|dddvrd}nd}tj||d|�|d����|d	<d
S)zM constant    : FLOAT_CONST
                        | HEX_FLOAT_CONST
        rpr�floatrR)�f�Frgzlong double�doubler�N)�lowerrrmr�)r6r�r�s   r?�p_constant_2zCParser.p_constant_2:s����!�A�$�*�*�,�,����A�A���t�B�x�:�%�%�����1��b��Z�'�'�!������~�
�q��t�T�&�&�q�!�,�,�.�.��!���rAc�l�tjd|d|�|d����|d<dS)z� constant    : CHAR_CONST
                        | WCHAR_CONST
                        | U8CHAR_CONST
                        | U16CHAR_CONST
                        | U32CHAR_CONST
        �charrr�N)rrmr�r�s  r?�p_constant_3zCParser.p_constant_3Ks8���~��A�a�D�$�+�+�A�q�1�1�3�3��!���rAc��t|��dkr5tjd|d|�|d����|d<dS|djdd�|ddd�z|d_|d|d<dS)z~ unified_string_literal  : STRING_LITERAL
                                    | unified_string_literal STRING_LITERAL
        r��stringrr�NrR)rNrrmr��valuer�s  r?�p_unified_string_literalz CParser.p_unified_string_literalZs����q�6�6�Q�;�;��>��!�A�$�� 1� 1�!�Q� 7� 7�9�9�A�a�D�D�D��1���C�R�C��1�Q�4����8�3�A�a�D�J��Q�4�A�a�D�D�DrAc�2�t|��dkr5tjd|d|�|d����|d<dS|dj���dd�|ddd�z|d_|d|d<dS)a unified_wstring_literal : WSTRING_LITERAL
                                    | U8STRING_LITERAL
                                    | U16STRING_LITERAL
                                    | U32STRING_LITERAL
                                    | unified_wstring_literal WSTRING_LITERAL
                                    | unified_wstring_literal U8STRING_LITERAL
                                    | unified_wstring_literal U16STRING_LITERAL
                                    | unified_wstring_literal U32STRING_LITERAL
        r�r~rr�NrR)rNrrmr�r�rstripr�s  r?�p_unified_wstring_literalz!CParser.p_unified_wstring_literales����q�6�6�Q�;�;��>��!�A�$�� 1� 1�!�Q� 7� 7�9�9�A�a�D�D�D��1���*�*�,�,�S�b�S�1�A�a�D����H�<�A�a�D�J��Q�4�A�a�D�D�DrAc�n�|d|d<|�d|�d����dS)z  brace_open  :   LBRACE
        rr�N��
set_lineno�linenor�s  r?�p_brace_openzCParser.p_brace_openv�5����t��!��	���Q�������$�$�$�$�$rAc�n�|d|d<|�d|�d����dS)z  brace_close :   RBRACE
        rr�Nr�r�s  r?�
p_brace_closezCParser.p_brace_close|r�rAc��d|d<dS)zempty : Nr�r{r�s  r?�p_emptyzCParser.p_empty�s����!���rAc	���|rR|�d|jz|�|j|j�|�������dS|�d|jj��dS)Nz
before: %s)r�rezAt end of input)rUrrbr�r.�find_tok_columnrDr�s  r?�p_errorzCParser.p_error�s���
�	E�����q�w�&����1�8�#'�9�#<�#<�Q�#?�#?��A�A�
B�
B�
B�
B�
B�

���/���1C�D�D�D�D�DrAN)rF)F)��__name__�
__module__�__qualname__rr@rFrLrPrYr[r`r*r+r,r-rlrvr�r�r�r�r��
precedencer�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrr	rr
rrrrrrrr!r#r&r)r+r/r1r3r7r:r<r>r@rBrErGrIrNrQrSrUrWr^r`rbrdrgrirlrnrprtrwr{r}rr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrrrrrrr"r$r&r)r+r-r0r3r5r8r:r>r@rBrDrGrJrNrPrSrUrWrYr[r]r`rbrdrrryr|r�r�r�r�r�r�r{rAr?r
r
s���������%��'���m(�m(�m(�m(�^����0)�)�)� � � �+�+�+�,�,�,����:�:�:����������$�$�$�R!�!�!�d*�*�*�X����2W�W�W�W�r���"����J�('�'�'����������
���
������
���
M�M�M�3�3�3�=�=�=����$	�	�	�
�
�
�n	�	�	�(,�,�,�z���4�4�4�C�C�C�
F�F�F�
G�G�G�C�C�C�
H�H�H�
P�P�P�
S�S�S�
T�T�T�
P�P�P�
C�C�C�
P�P�P�
U�U�U�
������K�K�K� ���������8�8�8�D�D�D�8�8�8�D�D�D�P�P�P�
P�P�P�
C�C�C�
S�S�S�
Q�Q�Q�
H�H�H�	+�	+�	+�/�/�/�$/�/�/�&���'�'�'�$�$�$�L���
���
8�8�8�/�/�/�
U�U�U�?�?�?�?�?�?�
?�?�?����<�<�<���� ����]�<�!5�7S�T�T���U�T��
�]�<�!5�7S�T�T�2�2�U�T�2�
�]�<�!5�7S�T�T�+�+�U�T�+��]�<�!5�6�6���7�6��
�]�<�!5�7S�T�T�?�?�U�T�?��]�<�!5�7S�T�T�?�?�U�T�?�*�]�<�!5�7S�T�T�	?�	?�U�T�	?��]�<�!5�7S�T�T�@�@�U�T�@�8���<8�8�8�������(
(�
(�
(����@������
���
�
�
����8�8�8����
@�
@�
@����2�2�2�
������	?�	?�	?�+�+�+�	?�	?�	?�+�+�+�@�@�@�+�+�+�:�:�:�H�H�H�+�+�+�@�@�@�A�A�A�>�>�>�C�C�C�C�C�C�C�C�C�
@�@�@�B�B�B�J�J�J�D�D�D�
9�9�9�4�4�4�7�7�7�T�T�T����������K�K�K�B�B�B�
�
�
����A�A�A�@�@�@�4���?�?�?����5�5�5�%�%�%�������6�6�6�O�O�O�>�>�>�;�;�;�1�1�1�������������%�%�%�W�W�W����7�7�7�;�;�;�..�.�.�"3�3�3�	�	�	����"%�%�%�%�%�%����
E�
E�
E�
E�
ErAr
N)�plyrrr�c_lexerr�	plyparserrrrr	�ast_transformsr
rr
r{rAr?�<module>r�s���������������������E�E�E�E�E�E�E�E�E�E�E�E�C�C�C�C�C�C�C�C�
�~E�~E�~E�~E�~E�i�~E�~E�
��~E�~E�~ErA

?>