관리-도구
편집 파일: pygram.cpython-312.pyc
� �Q�f � � � d Z ddlZddlmZ ddlmZ ddlmZ ej j ej j e � d� Zej j ej j e � d� Z G d � d e � Z ej de� Z ee� Zej% � Zej( d= ej% � Zej( d = ej de� Z ee� Zy)z&Export the Python grammar and symbols.� N� )�token)�driver)�pytreezGrammar.txtzPatternGrammar.txtc � � e Zd Zd� Zy)�Symbolsc �b � |j j � D ] \ }}t | ||� � y)z�Initializer. Creates an attribute for each grammar symbol (nonterminal), whose value is the symbol's type (an int >= 256). N)� symbol2number�items�setattr)�self�grammar�name�symbols �5/opt/alt/python312/lib64/python3.12/lib2to3/pygram.py�__init__zSymbols.__init__ s- � � $�1�1�7�7�9�L�D�&��D�$��'� :� N)�__name__� __module__�__qualname__r � r r r r s � �(r r �lib2to3�print�exec)�__doc__�os�pgen2r r � r �path�join�dirname�__file__� _GRAMMAR_FILE�_PATTERN_GRAMMAR_FILE�objectr �load_packaged_grammar�python_grammar�python_symbols�copy�!python_grammar_no_print_statement�keywords�*python_grammar_no_print_and_exec_statement�pattern_grammar�pattern_symbolsr r r �<module>r/ s� �� -� � � � � �����R�W�W�_�_�X�6� �F� ������R�W�W�_�_�X�%>�%9�;� � (�f� (� .��-�-�i��G����(��$2�$7�$7�$9� !�%�.�.�w�7�-N�-S�-S�-U� *�.�7�7��?�.�&�.�.�y�:O�P���/�*�r