| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/lib2to3/__pycache__/ |
Upload File : |
a
�i � @ 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| ||� q
dS )z�Initializer.
Creates an attribute for each grammar symbol (nonterminal),
whose value is the symbol's type (an int >= 256).
N)Z
symbol2number�items�setattr)�selfZgrammar�name�symbol� r �&/usr/lib64/python3.9/lib2to3/pygram.py�__init__ s zSymbols.__init__N)�__name__�
__module__�__qualname__r r r r r
r s r Zlib2to3�print�exec)�__doc__�osZpgen2r r � r �path�join�dirname�__file__Z
_GRAMMAR_FILEZ_PATTERN_GRAMMAR_FILE�objectr Zload_packaged_grammarZpython_grammarZpython_symbols�copyZ!python_grammar_no_print_statement�keywordsZ*python_grammar_no_print_and_exec_statementZpattern_grammarZpattern_symbolsr r r r
�<module> s"