| Server IP : 3.7.136.76 / Your IP : 216.73.216.142 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /snap/core22/2987/lib/python3.10/lib2to3/__pycache__/ |
Upload File : |
o
��bc � @ s� d Z ddlZddlmZ ddlmZ ddlmZ ej�ej� e
�d�Zej�ej� e
�d�ZG d d
� d
e
�Ze�de�Zee�Ze�� Zejd= e�� Zejd
= e�de�Zee�ZdS )z&Export the Python grammar and symbols.� N� )�token)�driver)�pytreezGrammar.txtzPatternGrammar.txtc @ s e Zd Zdd� ZdS )�Symbolsc C s$ |j �� D ]
\}}t| ||� qdS )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�symbol� r �%/usr/lib/python3.10/lib2to3/pygram.py�__init__ s �zSymbols.__init__N)�__name__�
__module__�__qualname__r r r r r r s 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 r �<module> s$ �