✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.36
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/python27/lib64/python2.7/lib2to3/pgen2//conv.pyo
�
�V~gc@sEdZddlZddlmZmZdejfd��YZdS(s�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.

i����N(tgrammarttokent	ConvertercBs2eZdZd�Zd�Zd�Zd�ZRS(s2Grammar 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.

    cCs(|j|�|j|�|j�dS(s<Load the grammar tables from the text files written by pgen.N(tparse_graminit_htparse_graminit_ct
finish_off(tselft
graminit_ht
graminit_c((s7/opt/alt/python27/lib64/python2.7/lib2to3/pgen2/conv.pytrun/s

c	Cs�yt|�}Wn#tk
r5}d||fGHtSXi|_i|_d}x�|D]�}|d7}tjd|�}|r�|j�r�d|||j�fGHqU|j�\}}t	|�}||j|<||j|<qUWt
S(s�Parse the .h file written by pgen.  (Internal)

        This file is a sequence of #define statements defining the
        nonterminals of the grammar as numbers.  We build two tables
        mapping the numbers to names and back.

        sCan't open %s: %siis^#define\s+(\w+)\s+(\d+)$s%s(%s): can't parse %s(topentIOErrortFalset
symbol2numbert
number2symboltretmatchtstriptgroupstinttTrue(	Rtfilenametfterrtlinenotlinetmotsymboltnumber((s7/opt/alt/python27/lib64/python2.7/lib2to3/pgen2/conv.pyR5s&		

	
c!CsHyt|�}Wn#tk
r5}d||fGHtSXd}|d|j�}}|d|j�}}|d|j�}}i}g}x�|jd�r�x�|jd�r�tjd|�}tt|j	��\}	}
}g}xkt
|�D]]}
|d|j�}}tjd|�}tt|j	��\}}|j||f�q�W|d|j�}}|||	|
f<|d|j�}}q�Wtjd|�}tt|j	��\}}g}xxt
|�D]j}
|d|j�}}tjd|�}tt|j	��\}}	}
||	|
f}|j|�q�W|j|�|d|j�}}|d|j�}}q�W||_i}tjd	|�}t|j
d��}x:t
|�D],}|d|j�}}tjd
|�}|j
d�}tt|j
ddd
d��\}}}}||}|d|j�}}tjd|�}i}t|j
d��}x`t|�D]R\}}t|�}x7t
d�D])}|d|>@r�d||d|<q�q�Wq�W||f||<q�W|d|j�}}||_g}|d|j�}}tjd|�}t|j
d��}x�t
|�D]�}|d|j�}}tjd|�}|j	�\}}t|�}|dkr�d}nt|�}|j||f�qhW|d|j�}}||_|d|j�}}|d|j�}}tjd|�}t|j
d��}|d|j�}}|d|j�}}tjd|�}t|j
d��}|d|j�}}tjd|�}t|j
d��} | |_|d|j�}}y|d|j�}}Wntk
rCnXdS(s�Parse the .c file written by pgen.  (Internal)

        The file looks as follows.  The first two lines are always this:

        #include "pgenheaders.h"
        #include "grammar.h"

        After that come four blocks:

        1) one or more state definitions
        2) a table defining dfas
        3) a table defining labels
        4) a struct defining the grammar

        A state definition has the following form:
        - one or more arc arrays, each of the form:
          static arc arcs_<n>_<m>[<k>] = {
                  {<i>, <j>},
                  ...
          };
        - followed by a state array, of the form:
          static state states_<s>[<t>] = {
                  {<k>, arcs_<n>_<m>},
                  ...
          };

        sCan't open %s: %siisstatic arc s)static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$s\s+{(\d+), (\d+)},$s'static state states_(\d+)\[(\d+)\] = {$s\s+{(\d+), arcs_(\d+)_(\d+)},$sstatic dfa dfas\[(\d+)\] = {$s0\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$iiiis\s+("(?:\\\d\d\d)*")},$is!static label labels\[(\d+)\] = {$s\s+{(\d+), (0|"\w+")},$t0s
\s+(\d+),$s\s+{(\d+), labels},$s	\s+(\d+)$N(R
RRtnextt
startswithRRtmapRRtrangetappendtstatestgrouptevalt	enumeratetordtdfastNonetlabelststartt
StopIteration(!RRRRRRtallarcsR#Rtntmtktarcst_titjtstttstateR(tndfasRRtxtytztfirstt	rawbitsettctbyteR*tnlabelsR+((s7/opt/alt/python27/lib64/python2.7/lib2to3/pgen2/conv.pyRTs�		
			-
				
cCs�i|_i|_xjt|j�D]Y\}\}}|tjkr_|dk	r_||j|<q"|dkr"||j|<q"q"WdS(s1Create additional useful structures.  (Internal).N(tkeywordsttokensR&R*RtNAMER)(Rtilabelttypetvalue((s7/opt/alt/python27/lib64/python2.7/lib2to3/pgen2/conv.pyR�s		"(t__name__t
__module__t__doc__R	RRR(((s7/opt/alt/python27/lib64/python2.7/lib2to3/pgen2/conv.pyR$s
				�(RIRtpgen2RRtGrammarR(((s7/opt/alt/python27/lib64/python2.7/lib2to3/pgen2/conv.pyt<module>s


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
1 May 2025 12.37 PM
root / linksafe
0755
__init__.py
0.14 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyc
0.183 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyo
0.183 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
conv.py
9.401 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
conv.pyc
8.073 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
conv.pyo
6.948 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
driver.py
5.899 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
driver.pyc
6.477 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
driver.pyo
6.415 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
grammar.py
6.439 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
grammar.pyc
7.644 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
grammar.pyo
7.644 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
literals.py
1.576 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
literals.pyc
2.021 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
literals.pyo
1.795 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
parse.py
7.864 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
parse.pyc
7.219 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
parse.pyo
7.181 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pgen.py
13.502 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pgen.pyc
12.357 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pgen.pyo
11.759 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
token.py
1.236 KB
8 Jan 2025 10.43 AM
root / linksafe
0755
token.pyc
2.3 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
token.pyo
2.3 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
tokenize.py
18.793 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
tokenize.pyc
16.827 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
tokenize.pyo
16.74 KB
8 Jan 2025 10.43 AM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF