Current Path: > > opt > alt > python311 > lib64 > python3.11 > lib2to3 > pgen2 > __pycache__
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-311.opt-1.pyc | File | 204 bytes | June 23 2025 15:48:01. | |
__init__.cpython-311.opt-2.pyc | File | 168 bytes | June 23 2025 15:48:05. | |
__init__.cpython-311.pyc | File | 204 bytes | June 23 2025 15:48:01. | |
conv.cpython-311.opt-1.pyc | File | 11077 bytes | June 23 2025 15:48:03. | |
conv.cpython-311.opt-2.pyc | File | 8617 bytes | June 23 2025 15:48:05. | |
conv.cpython-311.pyc | File | 13261 bytes | June 23 2025 15:48:01. | |
driver.cpython-311.opt-1.pyc | File | 8738 bytes | June 23 2025 15:48:03. | |
driver.cpython-311.opt-2.pyc | File | 7788 bytes | June 23 2025 15:48:05. | |
driver.cpython-311.pyc | File | 8822 bytes | June 23 2025 15:48:01. | |
grammar.cpython-311.opt-1.pyc | File | 7571 bytes | June 23 2025 15:48:01. | |
grammar.cpython-311.opt-2.pyc | File | 4445 bytes | June 23 2025 15:48:05. | |
grammar.cpython-311.pyc | File | 7571 bytes | June 23 2025 15:48:01. | |
literals.cpython-311.opt-1.pyc | File | 2476 bytes | June 23 2025 15:48:03. | |
literals.cpython-311.opt-2.pyc | File | 2400 bytes | June 23 2025 15:48:05. | |
literals.cpython-311.pyc | File | 3090 bytes | June 23 2025 15:48:01. | |
parse.cpython-311.opt-1.pyc | File | 9019 bytes | June 23 2025 15:48:03. | |
parse.cpython-311.opt-2.pyc | File | 5832 bytes | June 23 2025 15:48:05. | |
parse.cpython-311.pyc | File | 9046 bytes | June 23 2025 15:48:01. | |
pgen.cpython-311.opt-1.pyc | File | 19051 bytes | June 23 2025 15:48:03. | |
pgen.cpython-311.opt-2.pyc | File | 19051 bytes | June 23 2025 15:48:03. | |
pgen.cpython-311.pyc | File | 20269 bytes | June 23 2025 15:48:01. | |
token.cpython-311.opt-1.pyc | File | 2379 bytes | June 23 2025 15:48:01. | |
token.cpython-311.opt-2.pyc | File | 2330 bytes | June 23 2025 15:48:05. | |
token.cpython-311.pyc | File | 2379 bytes | June 23 2025 15:48:01. | |
tokenize.cpython-311.opt-1.pyc | File | 24043 bytes | June 23 2025 15:48:03. | |
tokenize.cpython-311.opt-2.pyc | File | 20177 bytes | June 23 2025 15:48:05. | |
tokenize.cpython-311.pyc | File | 24163 bytes | June 23 2025 15:48:01. |
� !A?h�% � �H � d Z ddlZddlmZmZ G d� dej � � ZdS )a� Convert graminit.[ch] spit out by pgen to Python code. Pgen is the Python parser generator. It is useful to quickly create a parser from a grammar file in Python's grammar notation. But I don't want my parsers to be written in C (yet), so I'm translating the parsing tables to Python data structures and writing a Python parse engine. Note that the token numbers are constants determined by the standard Python tokenizer. The standard token module defines these numbers and their names (the names are not used much). The token numbers are hardcoded into the Python tokenizer and into pgen. A Python implementation of the Python tokenizer is also available, in the standard tokenize module. On the other hand, symbol numbers (representing the grammar's non-terminals) are assigned by pgen based on the actual grammar input. Note: this module is pretty much obsolete; the pgen module generates equivalent grammar tables directly from the Grammar.txt input file without having to invoke the Python pgen C program. � N)�grammar�tokenc �* � e Zd ZdZd� Zd� Zd� Zd� ZdS )� Convertera2 Grammar subclass that reads classic pgen output files. The run() method reads the tables as produced by the pgen parser generator, typically contained in two C files, graminit.h and graminit.c. The other methods are for internal use only. See the base class for more documentation. c � � | � |� � | � |� � | � � � dS )z<Load the grammar tables from the text files written by pgen.N)�parse_graminit_h�parse_graminit_c� finish_off)�self� graminit_h� graminit_cs �9/opt/alt/python311/lib64/python3.11/lib2to3/pgen2/conv.py�runz Converter.run/ s@ � ����j�)�)�)����j�)�)�)��������� c �� � t |� � }n-# t $ r }t d|�d|��� � Y d}~dS d}~ww xY wi | _ i | _ d}|D ]�}|dz }t j d|� � }|s>|� � � r*t |�d|�d |� � � ��� � �\|� � � \ }}t |� � }|| j |<