$67 GRAYBYTE WORDPRESS FILE MANAGER $91

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib64/python3.7/lib2to3/pgen2/__pycache__/

HOME
Current File : /opt/alt/python37/lib64/python3.7/lib2to3/pgen2/__pycache__//tokenize.cpython-37.opt-1.pyc
B

� f_R�
@s�dZdZdZddlZddlZddlmZmZddlTddl	m
Z
d	d
�ee
�D�ddd
gZ[
ye
Wnek
r~eZ
YnXdd�Zdd�Zdd�Zdd�ZdZdZeede�ee�ZdZdZdZdZedd�Zeeeee�ZdZed d!�ee�Zd"eZeee�Z ed#e d$�Z!ee!e e�Z"d%Z#d&Z$d'Z%d(Z&d)Z'ee'd*e'd+�Z(ee'd,e'd-�Z)ed.d/d0d1d2d3d4d5d6�	Z*d7Z+ed8d9d:�Z,ee*e+e,�Z-ee"e-e)e�Z.ee.Z/ee'd;ed<d�e'd=ed>d��Z0edee(�Z1eee1e"e-e0e�Z2e3ej4e/e2e%e&f�\Z5Z6Z7Z8ed?d@dAdB�ed?d@dCdD�BdEdFdGdHdIdJhBZ9e�4e#�e�4e$�e7e8dK�dLdM�e9D�dNdM�e9D�dOdM�e9D��Z:d*d+hdPdQ�e9D�BdRdQ�e9D�BZ;d<d>hdSdQ�e9D�BdTdQ�e9D�BZ<dUZ=GdVdW�dWe>�Z?GdXdY�dYe>�Z@dZd[�ZAeAfd\d�ZBd]d^�ZCGd_d`�d`�ZDe�4daejE�ZFe�4dbejE�ZGdcdd�ZHdedf�ZIdgd
�ZJdhd�ZKeLdik�r�ddlMZMeNeMjO�dk�r�eBePeMjOd�jQ�neBeMjRjQ�dS)ja�Tokenization help for Python programs.

generate_tokens(readline) is a generator that breaks a stream of
text into Python tokens.  It accepts a readline-like method which is called
repeatedly to get the next line of input (or "" for EOF).  It generates
5-tuples with these members:

    the token type (see token.py)
    the token (a string)
    the starting (row, column) indices of the token (a 2-tuple of ints)
    the ending (row, column) indices of the token (a 2-tuple of ints)
    the original line (string)

It is designed to match the working of the Python tokenizer exactly, except
that it produces COMMENT tokens for comments and gives type OP for all
operators

Older entry points
    tokenize_loop(readline, tokeneater)
    tokenize(readline, tokeneater=printtoken)
are the same, except instead of generating tokens, tokeneater is a callback
function to which the 5 fields described above are passed as 5 arguments,
each time a new token is found.zKa-Ping Yee <[email protected]>z@GvR, ESR, Tim Peters, Thomas Wouters, Fred Drake, Skip Montanaro�N)�BOM_UTF8�lookup)�*�)�tokencCsg|]}|ddkr|�qS)r�_�)�.0�xrr�;/opt/alt/python37/lib64/python3.7/lib2to3/pgen2/tokenize.py�
<listcomp>%sr�tokenize�generate_tokens�
untokenizecGsdd�|�dS)N�(�|�))�join)�choicesrrr�group0�rcGst|�dS)Nr)r)rrrr�any1rrcGst|�dS)N�?)r)rrrr�maybe2rrcst�fdd��D��S)Nc3s4|],}�dD]}|��|��kr||VqqdS))�N)�casefold)r	r
�y)�lrr�	<genexpr>5sz _combinations.<locals>.<genexpr>)�set)rr)rr�
_combinations3sr z[ \f\t]*z	#[^\r\n]*z\\\r?\nz\w+z0[bB]_?[01]+(?:_[01]+)*z(0[xX]_?[\da-fA-F]+(?:_[\da-fA-F]+)*[lL]?z0[oO]?_?[0-7]+(?:_[0-7]+)*[lL]?z[1-9]\d*(?:_\d+)*[lL]?z0[lL]?z[eE][-+]?\d+(?:_\d+)*z\d+(?:_\d+)*\.(?:\d+(?:_\d+)*)?z\.\d+(?:_\d+)*z\d+(?:_\d+)*z\d+(?:_\d+)*[jJ]z[jJ]z[^'\\]*(?:\\.[^'\\]*)*'z[^"\\]*(?:\\.[^"\\]*)*"z%[^'\\]*(?:(?:\\.|'(?!''))[^'\\]*)*'''z%[^"\\]*(?:(?:\\.|"(?!""))[^"\\]*)*"""z'(?:[uUrRbBfF]|[rR][fFbB]|[fFbBuU][rR])?z'''z"""z'[^\n'\\]*(?:\\.[^\n'\\]*)*'z"[^\n"\\]*(?:\\.[^\n"\\]*)*"z\*\*=?z>>=?z<<=?z<>z!=z//=?z->z[+\-*/%&@|^=<>]=?�~z[][(){}]z\r?\nz:=z[:;.,`@]z'[^\n'\\]*(?:\\.[^\n'\\]*)*�'z"[^\n"\\]*(?:\\.[^\n"\\]*)*�"�r�R�f�F�b�B�u�UZurZuRZUrZUR)r"r#z'''z"""cCsi|]}t|�d��qS)z''')�single3prog)r	�prefixrrr�
<dictcomp>ysr.cCsi|]}t|�d��qS)z""")�double3prog)r	r-rrrr.zscCsi|]
}d|�qS)Nr)r	r-rrrr.{scCsh|]}|�d��qS)z'''r)r	r-rrr�	<setcomp>sr0cCsh|]}|�d��qS)z"""r)r	r-rrrr0�scCsh|]}|�d��qS)r"r)r	r-rrrr0�scCsh|]}|�d��qS)r#r)r	r-rrrr0�s�c@seZdZdS)�
TokenErrorN)�__name__�
__module__�__qualname__rrrrr2�sr2c@seZdZdS)�StopTokenizingN)r3r4r5rrrrr6�sr6c		Cs4|\}}|\}}td||||t|t|�f�dS)Nz%d,%d-%d,%d:	%s	%s)�print�tok_name�repr)	�typerZxxx_todo_changemeZxxx_todo_changeme1�lineZsrowZscolZerowZecolrrr�
printtoken�sr<cCs(yt||�Wntk
r"YnXdS)a:
    The tokenize() function accepts two parameters: one representing the
    input stream, and one providing an output mechanism for tokenize().

    The first parameter, readline, must be a callable object which provides
    the same interface as the readline() method of built-in file objects.
    Each call to the function should return one line of input as a string.

    The second parameter, tokeneater, must also be a callable object. It is
    called once for each token, with five arguments, corresponding to the
    tuples generated by generate_tokens().
    N)�
tokenize_loopr6)�readline�
tokeneaterrrrr
�s
cCsxt|�D]}||�q
WdS)N)r)r>r?Z
token_inforrrr=�sr=c@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�UntokenizercCsg|_d|_d|_dS)Nrr)�tokens�prev_row�prev_col)�selfrrr�__init__�szUntokenizer.__init__cCs*|\}}||j}|r&|j�d|�dS)N� )rCrA�append)rD�start�row�col�
col_offsetrrr�add_whitespace�s
zUntokenizer.add_whitespacecCs�xv|D]n}t|�dkr$|�||�P|\}}}}}|�|�|j�|�|\|_|_|ttfkr|jd7_d|_qWd�	|j�S)N�rrr)
�len�compatrLrArGrBrC�NEWLINE�NLr)rD�iterable�t�tok_typerrH�endr;rrrr�s


zUntokenizer.untokenizec	Cs�d}g}|jj}|\}}|ttfkr,|d7}|ttfkr<d}x�|D]�}|dd�\}}|ttttfkrn|d7}|tkr�|�|�qBn>|t	kr�|�
�qBn*|ttfkr�d}n|r�|r�||d�d}||�qBWdS)NFrFTrM���)rArG�NAME�NUMBERrPrQ�ASYNC�AWAIT�INDENT�DEDENT�pop)	rDrrR�	startline�indents�toks_append�toknum�tokval�tokrrrrO�s0

zUntokenizer.compatN)r3r4r5rErLrrOrrrrr@�sr@z&^[ \t\f]*#.*?coding[:=][ \t]*([-\w.]+)s^[ \t\f]*(?:[#\r\n]|$)cCsH|dd����dd�}|dks*|�d�r.dS|dks@|�d�rDd	S|S)
z(Imitates get_normal_name in tokenizer.c.N�r�-zutf-8zutf-8-)zlatin-1z
iso-8859-1ziso-latin-1)zlatin-1-ziso-8859-1-ziso-latin-1-z
iso-8859-1)�lower�replace�
startswith)�orig_enc�encrrr�_get_normal_name�s
rkcs�d�d}d}�fdd�}�fdd�}|�}|�t�rHd�|d	d�}d
}|sT|gfS||�}|rj||gfSt�|�s~||gfS|�}|s�||gfS||�}|r�|||gfS|||gfS)a
    The detect_encoding() function is used to detect the encoding that should
    be used to decode a Python source file. It requires one argument, readline,
    in the same way as the tokenize() generator.

    It will call readline a maximum of twice, and return the encoding used
    (as a string) and a list of any lines (left as bytes) it has read
    in.

    It detects the encoding from the presence of a utf-8 bom or an encoding
    cookie as specified in pep-0263. If both a bom and a cookie are present, but
    disagree, a SyntaxError will be raised. If the encoding cookie is an invalid
    charset, raise a SyntaxError.  Note that if a utf-8 bom is found,
    'utf-8-sig' is returned.

    If no encoding is specified, then the default of 'utf-8' will be returned.
    FNzutf-8cs"y��Stk
rt�SXdS)N)�
StopIteration�bytesr)r>rr�read_or_stopsz%detect_encoding.<locals>.read_or_stopcs�y|�d�}Wntk
r"dSXt�|�}|s6dSt|�d��}yt|�}Wn tk
rptd|��YnX�r�|j	dkr�td��|d7}|S)N�asciirzunknown encoding: zutf-8zencoding problem: utf-8z-sig)
�decode�UnicodeDecodeError�	cookie_re�matchrkrr�LookupError�SyntaxError�name)r;�line_stringrs�encoding�codec)�	bom_foundrr�find_cookies"

z$detect_encoding.<locals>.find_cookieT�z	utf-8-sig)rhr�blank_rers)r>rx�defaultrnr{�first�secondr)rzr>r�detect_encoding�s0




r�cCst�}|�|�S)a�Transform tokens back into Python source code.

    Each element returned by the iterable must be a token sequence
    with at least two elements, a token number and token value.  If
    only two tokens are passed, the resulting output is poor.

    Round-trip invariant for full input:
        Untokenized source will match input source exactly

    Round-trip invariant for limited input:
        # Output text will tokenize the back to the input
        t1 = [tok[:2] for tok in generate_tokens(f.readline)]
        newcode = untokenize(t1)
        readline = iter(newcode.splitlines(1)).next
        t2 = [tok[:2] for tokin generate_tokens(readline)]
        assert t1 == t2
    )r@r)rR�utrrrr:sccs�d}}}d\}}d}dg}d}d}	d}
d}�x�y
|�}Wntk
rTd}YnX|d}dt|�}
}|�r6|s�td|��|�|�}|r�|�d�}
}t||d|�|||f||fVd\}}d}nd|�r |dd�d	k�r |d
d�dk�r t||||t|�f|fVd}d}q2n||}||}q2�nD|dk�rb|�sb|�sNPd}xf|
|k�r�||
dk�rv|d}n6||
d
k�r�|tdt}n||
dk�r�d}nP|
d}
�qTW|
|k�r�P|�r�|Vd}||
dk�r�||
dk�rV||
d��d�}|
t|�}t	|||
f||
t|�f|fVt
||d�||f|t|�f|fVq2t
t	f||
dk||
d�||
f|t|�f|fVq2||dk�r�|�|�t|d|
�|df||
f|fVxt||dk�r8||k�r�t
dd||
|f��|dd�}|	�r|
|dk�rd}	d}d}
td||
f||
f|fV�q�W|	�rz|�rz|
|dk�rzd}	d}d}
n|�svtd|df��d}�x�|
|k�r&t�||
�}|�r�|�d�\}}||f||f|}}}
|||�||}}|tjk�s�|dk�r
|dk�r
t||||fV�q"|dk�rVt}|dk�r(t
}n
|	�r2d}|�rB|Vd}|||||fV�q"|dk�r�|�rp|Vd}t	||||fV�q"|tk�rt|}|�||
�}|�r�|�d�}
|||
�}|�r�|Vd}t||||
f|fVn||f}||d�}|}P�q"|tk�s0|dd�tk�s0|dd�tk�r�|ddk�r�||f}t|�pht|d�pht|d}||d�d}}|}Pn |�r�|Vd}t||||fV�q"|���r~|dk�r�|	�r�|dk�r�tnt||||fV�q~t||||f}|dk�r
|�s
|}�q~|dk�rf|�rf|dtk�rf|ddk�rfd}	|d}
t|d|d|d|dfVd}|�rv|Vd}|Vnz|dk�r�|�r�|Vd}t
||||
f|fVd}nF|d k�r�|d}n|d!k�r�|d}|�r�|Vd}t||||fVn(t||
||
f||
df|fV|
d}
�q~Wq2W|�r<|Vd}x.|dd�D]}td|df|dfdfV�qJWtd|df|dfdfVdS)"aT
    The generate_tokens() generator requires one argument, readline, which
    must be a callable object which provides the same interface as the
    readline() method of built-in file objects. Each call to the function
    should return one line of input as a string.  Alternately, readline
    can be a callable function terminating with StopIteration:
        readline = open(myfile).next    # Example of alternate readline

    The generator produces 5-tuples with these members: the token type; the
    token string; a 2-tuple (srow, scol) of ints specifying the row and
    column where the token begins in the source; a 2-tuple (erow, ecol) of
    ints specifying the row and column where the token ends in the source;
    and the line on which the token was found. The line passed is the
    logical line; continuation lines are included.
    r)rrNFrrzEOF in multi-line string���z\
���z\
rF�	�z#
�#z
rVz3unindent does not match any outer indentation levelz
<tokenize>zEOF in multi-line statement�.TrMr|�
)�async�awaitr��def��\z([{z)]})rlrNr2rsrU�STRING�
ERRORTOKEN�tabsize�rstrip�COMMENTrQrGr[�IndentationErrorr\�
pseudoprog�span�stringZdigitsrXrP�
triple_quoted�endprogs�
single_quoted�isidentifierrYrZrW�OP�	ENDMARKER)r>�lnum�parenlev�	continued�contstr�needcont�contliner_ZstashedZ	async_defZasync_def_indentZasync_def_nlr;�pos�max�strstart�endprog�endmatchrU�column�
comment_tokenZnl_pos�pseudomatchrH�spos�eposr�initial�newlinerc�indentrrrrOsn



*


 













�__main__)S�__doc__�
__author__�__credits__r��re�codecsrrZlib2to3.pgen2.tokenrr�dir�__all__rm�	NameError�strrrrr �
Whitespace�Comment�Ignore�Name�	Binnumber�	Hexnumber�	Octnumber�	Decnumber�	Intnumber�Exponent�
Pointfloat�Expfloat�Floatnumber�
Imagnumber�Number�Single�Double�Single3�Double3Z
_litprefix�Triple�String�Operator�Bracket�Special�Funny�
PlainToken�Token�ContStr�PseudoExtras�PseudoToken�map�compileZ	tokenprogr�r,r/Z_strprefixesr�r�r�r��	Exceptionr2r6r<r
r=r@�ASCIIrrr}rkr�rrr3�sysrN�argv�openr>�stdinrrrr�<module>s�





8Ib



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.34 AM
root / linksafe
0755
__init__.cpython-37.opt-1.pyc
0.172 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
__init__.cpython-37.opt-2.pyc
0.145 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
__init__.cpython-37.pyc
0.172 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
conv.cpython-37.opt-1.pyc
6.022 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
conv.cpython-37.opt-2.pyc
3.597 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
conv.cpython-37.pyc
6.886 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
driver.cpython-37.opt-1.pyc
4.97 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
driver.cpython-37.opt-2.pyc
3.949 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
driver.cpython-37.pyc
5.017 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
grammar.cpython-37.opt-1.pyc
6.862 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
grammar.cpython-37.opt-2.pyc
3.138 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
grammar.cpython-37.pyc
6.862 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
literals.cpython-37.opt-1.pyc
1.335 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
literals.cpython-37.opt-2.pyc
1.26 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
literals.cpython-37.pyc
1.519 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
parse.cpython-37.opt-1.pyc
6.122 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
parse.cpython-37.opt-2.pyc
2.977 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
parse.cpython-37.pyc
6.153 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pgen.cpython-37.opt-1.pyc
9.116 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pgen.cpython-37.opt-2.pyc
9.116 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
pgen.cpython-37.pyc
9.548 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
token.cpython-37.opt-1.pyc
1.848 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
token.cpython-37.opt-2.pyc
1.799 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
token.cpython-37.pyc
1.848 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
tokenize.cpython-37.opt-1.pyc
14.719 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
tokenize.cpython-37.opt-2.pyc
10.881 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
tokenize.cpython-37.pyc
14.787 KB
17 Apr 2024 5.36 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF