SILENT KILLERPanel

Current Path: > > lib64 > python2.7 > lib2to3 > pgen2 > >


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 ]

Files and Folders in: //lib64/python2.7/lib2to3/pgen2//

NameTypeSizeLast ModifiedActions
__init__.py File 143 bytes April 10 2024 04:58:35.
__init__.pyc File 174 bytes April 10 2024 04:58:46.
__init__.pyo File 174 bytes April 10 2024 04:58:46.
conv.py File 9627 bytes April 10 2024 04:58:35.
conv.pyc File 8189 bytes April 10 2024 04:58:46.
conv.pyo File 7037 bytes April 10 2024 04:58:43.
driver.py File 6041 bytes April 10 2024 04:58:35.
driver.pyc File 6463 bytes April 10 2024 04:58:46.
driver.pyo File 6400 bytes April 10 2024 04:58:43.
grammar.py File 6594 bytes April 10 2024 04:58:35.
grammar.pyc File 7684 bytes April 10 2024 04:58:46.
grammar.pyo File 7684 bytes April 10 2024 04:58:46.
literals.py File 1614 bytes April 10 2024 04:58:35.
literals.pyc File 2018 bytes April 10 2024 04:58:46.
literals.pyo File 1786 bytes April 10 2024 04:58:43.
parse.py File 8053 bytes April 10 2024 04:58:35.
parse.pyc File 7236 bytes April 10 2024 04:58:46.
parse.pyo File 7197 bytes April 10 2024 04:58:43.
pgen.py File 13826 bytes April 10 2024 04:58:35.
pgen.pyc File 12238 bytes April 10 2024 04:58:46.
pgen.pyo File 11625 bytes April 10 2024 04:58:43.
token.py File 1256 bytes April 10 2024 04:58:35.
token.pyc File 2303 bytes April 10 2024 04:58:46.
token.pyo File 2303 bytes April 10 2024 04:58:46.
tokenize.py File 19244 bytes April 10 2024 04:58:35.
tokenize.pyc File 16971 bytes April 10 2024 04:58:46.
tokenize.pyo File 16882 bytes April 10 2024 04:58:43.

Reading File: //lib64/python2.7/lib2to3/pgen2///driver.pyo

�
{fc@sdZdZddgZddlZddlZddlZddlZddlZddlZddl	m
Z
mZmZm
Z
mZdefd��YZd	�Zd
deedd�Zd�Zd
�Zd�Zedkrejee���ndS(sZParser driver.

This provides a high-level interface to parse a file into a syntax tree.

s#Guido van Rossum <guido@python.org>tDrivertload_grammari����Ni(tgrammartparsettokenttokenizetpgencBsVeZddd�Zed�Zed�Zed�Zded�Zed�Z	RS(cCs:||_|dkr$tj�}n||_||_dS(N(RtNonetloggingt	getLoggertloggertconvert(tselfRRR
((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pyt__init__ s
		cCstj|j|j�}|j�d}d}d	}}}}	}
d}x�|D]�}|\}}}}	}
|||fkr�|\}
}||
kr�|d|
|7}|
}d}n||kr�||
||!7}|}q�n|tjtjfkr6||7}|	\}}|j	d�rQ|d7}d}qQqQn|t
jkrUtj|}n|r~|j
jdt
j|||�n|j||||f�r�|r�|j
jd�nPnd}|	\}}|j	d�rQ|d7}d}qQqQWtjd||||f��|jS(
s4Parse a series of tokens and return the syntax tree.iius
s%s %r (prefix=%r)sStop.tsincomplete inputN(RtParserRRtsetupRRtCOMMENTtNLtendswithRtOPtopmapR
tdebugttok_nametaddtokent
ParseErrortrootnode(RttokensRtptlinenotcolumnttypetvaluetstarttendt	line_texttprefixt	quintuplets_linenots_column((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pytparse_tokens'sR

	

	

	cCs"tj|j�}|j||�S(s*Parse a stream and return the syntax tree.(Rtgenerate_tokenstreadlineR((RtstreamRR((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pytparse_stream_rawWscCs|j||�S(s*Parse a stream and return the syntax tree.(R,(RR+R((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pytparse_stream\scCs;tj|d|�}z|j||�SWd|j�XdS(s(Parse a file and return the syntax tree.trN(tcodecstopenR-tclose(RtfilenametencodingRR+((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pyt
parse_file`scCs+tjtj|�j�}|j||�S(s*Parse a string and return the syntax tree.(RR)tStringIOR*R((RttextRR((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pytparse_stringhsN(
t__name__t
__module__RR
tFalseR(R,R-R4R7(((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pyRs0cCsRtjj|�\}}|dkr-d}n||djtttj��dS(Ns.txtRt.s.pickle(tostpathtsplitexttjointmaptstrtsystversion_info(tgttheadttail((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pyt_generate_pickle_namens	sGrammar.txtcCs�|dkrtj�}n|dkr3t|�n|}|sOt||�r�|jd|�tj|�}|r�|jd|�y|j|�Wq�t	k
r�}|jd|�q�Xq�nt
j�}|j|�|S(s'Load the grammar (maybe from a pickle).s!Generating grammar tables from %ssWriting grammar tables to %ssWriting failed: %sN(
RRR	RGt_newertinfoRtgenerate_grammartdumptIOErrorRtGrammartload(RDtgptsavetforceR
tgte((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pyRus
cCsNtjj|�stStjj|�s,tStjj|�tjj|�kS(s0Inquire whether file a was written since file b.(R<R=texistsR:tTruetgetmtime(tatb((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pyRH�s
cCsctjj|�rt|�Sttjj|��}tj||�}tj	�}|j
|�|S(s�Normally, loads a pickled grammar by doing
        pkgutil.get_data(package, pickled_grammar)
    where *pickled_grammar* is computed from *grammar_source* by adding the
    Python version and using a ``.pickle`` extension.

    However, if *grammar_source* is an extant file, load_grammar(grammar_source)
    is called instead. This facilitates using a packaged grammar file when needed
    but preserves load_grammar's automatic regeneration behavior when possible.

    (R<R=tisfileRRGtbasenametpkgutiltget_dataRRMtloads(tpackagetgrammar_sourcetpickled_nametdataRR((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pytload_packaged_grammar�s

cGsc|stjd}ntjdtjdtjdd�x$|D]}t|dtdt�q?WtS(s�Main program, when run as a script: produce grammar pickle files.

    Calls load_grammar for each argument, a path to a grammar text file.
    itlevelR+tformats%(message)sRPRQ(RBtargvRtbasicConfigtINFOtstdoutRRU(targsRD((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pytmain�s
t__main__(t__doc__t
__author__t__all__R/R<RR[R5RBRRRRRRtobjectRRGRRUR:RRHRbRjR8texittint(((s,/usr/lib64/python2.7/lib2to3/pgen2/driver.pyt<module>s$(P					


SILENT KILLER Tool