Current Path: > > opt > alt > python36 > lib64 > python3.6 > 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-36.opt-1.pyc | File | 172 bytes | April 17 2024 17:19:43. | |
__init__.cpython-36.opt-2.pyc | File | 130 bytes | April 17 2024 17:19:27. | |
__init__.cpython-36.pyc | File | 172 bytes | April 17 2024 17:19:47. | |
conv.cpython-36.opt-1.pyc | File | 6161 bytes | April 17 2024 17:19:43. | |
conv.cpython-36.opt-2.pyc | File | 3663 bytes | April 17 2024 17:19:27. | |
conv.cpython-36.pyc | File | 7045 bytes | April 17 2024 17:19:47. | |
driver.cpython-36.opt-1.pyc | File | 5093 bytes | April 17 2024 17:19:43. | |
driver.cpython-36.opt-2.pyc | File | 4034 bytes | April 17 2024 17:19:27. | |
driver.cpython-36.pyc | File | 5141 bytes | April 17 2024 17:19:47. | |
grammar.cpython-36.opt-1.pyc | File | 7070 bytes | April 17 2024 17:19:43. | |
grammar.cpython-36.opt-2.pyc | File | 3242 bytes | April 17 2024 17:19:27. | |
grammar.cpython-36.pyc | File | 7070 bytes | April 17 2024 17:19:47. | |
literals.cpython-36.opt-1.pyc | File | 1359 bytes | April 17 2024 17:19:43. | |
literals.cpython-36.opt-2.pyc | File | 1268 bytes | April 17 2024 17:19:27. | |
literals.cpython-36.pyc | File | 1547 bytes | April 17 2024 17:19:47. | |
parse.cpython-36.opt-1.pyc | File | 6312 bytes | April 17 2024 17:19:43. | |
parse.cpython-36.opt-2.pyc | File | 3077 bytes | April 17 2024 17:19:27. | |
parse.cpython-36.pyc | File | 6342 bytes | April 17 2024 17:19:47. | |
pgen.cpython-36.opt-1.pyc | File | 9346 bytes | April 17 2024 17:19:43. | |
pgen.cpython-36.opt-2.pyc | File | 9332 bytes | April 17 2024 17:19:27. | |
pgen.cpython-36.pyc | File | 9798 bytes | April 17 2024 17:19:47. | |
token.cpython-36.opt-1.pyc | File | 1865 bytes | April 17 2024 17:19:43. | |
token.cpython-36.opt-2.pyc | File | 1801 bytes | April 17 2024 17:19:27. | |
token.cpython-36.pyc | File | 1865 bytes | April 17 2024 17:19:47. | |
tokenize.cpython-36.opt-1.pyc | File | 15327 bytes | April 17 2024 17:19:43. | |
tokenize.cpython-36.opt-2.pyc | File | 11382 bytes | April 17 2024 17:19:27. | |
tokenize.cpython-36.pyc | File | 15399 bytes | April 17 2024 17:19:47. |
3 � f�% � @ s2 d Z ddlZddlmZmZ G dd� 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 @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd S )� 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 C s | j |� | j|� | j� dS )z<Load the grammar tables from the text files written by pgen.N)�parse_graminit_h�parse_graminit_c� finish_off)�selfZ graminit_hZ graminit_c� r �7/opt/alt/python36/lib64/python3.6/lib2to3/pgen2/conv.py�run/ s z Converter.runc C s� yt |�}W n0 tk r< } ztd||f � dS d}~X nX i | _i | _d}x�|D ]�}|d7 }tjd|�}| r�|j� r�td|||j� f � qT|j� \}}t |�}|| jks�t �|| jks�t �|| j|<