HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python3.7/__pycache__/shlex.cpython-37.pyc
B

{a2	@sdZddlZddlZddlZddlmZddlmZdddgZGdddZ	dddZ
edejj
Zd
dZddZedkreejdkree	n,ejdZeeZee	eeWdQRXdS)z8A lexical analyzer class for simple shell-like syntaxes.N)deque)StringIOshlexsplitquotec@sfeZdZdZdddZddZddd	Zd
dZdd
ZddZ	ddZ
dddZddZddZ
dS)rz8A lexical analyzer class for simple shell-like syntaxes.NFcCst|trt|}|dk	r(||_||_ntj|_d|_||_|rHd|_nd|_d|_	d|_
|jrn|j
d7_
d|_d|_d|_
d|_d	|_d
|_t|_d|_d|_d|_t|_d|_|sd}n|d
krd}||_|rt|_|j
d7_
|j
t|}|j
||_
dS)N#Z?abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_u|ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞz 	
Fz'"\" rTz();<>|&z~-./*?=)
isinstancestrrinstreaminfilesysstdinposixeof
commenters	wordchars
whitespacewhitespace_splitquotesescape
escapedquotesstaterpushbacklinenodebugtoken	filestacksourcepunctuation_chars_pushback_chars	maketransdictfromkeys	translate)selfrrrr#tr+/usr/lib/python3.7/shlex.py__init__sJ
zshlex.__init__cCs*|jdkrtdt||j|dS)z:Push a token onto the stack popped by the get_token methodrzshlex: pushing token N)rprintreprr
appendleft)r)tokr+r+r,
push_tokenDs
zshlex.push_tokencCspt|trt|}|j|j|j|jf||_||_d|_|jrl|dk	r\t	d|jfnt	d|jfdS)z9Push an input source onto the lexer's input source stack.rNzshlex: pushing to file %szshlex: pushing to stream %s)
r
rrr!r0rrrrr.)r)	newstreamnewfiler+r+r,push_sourceJs
zshlex.push_sourcecCsD|j|j\|_|_|_|jr:td|j|jfd|_dS)zPop the input source stack.zshlex: popping to %s, line %drN)	rcloser!popleftrrrr.r)r)r+r+r,
pop_sourceXs
zshlex.pop_sourcecCs|jr.|j}|jdkr*tdt||S|}|jdk	r~x<||jkr|||}|rr|\}}||||	}qBWx*||j
kr|js|j
S||	}qW|jdkr||j
krtdt|ntd|S)zBGet a token from the input stream (or from stack if it's nonempty)rzshlex: popping token Nz
shlex: token=zshlex: token=EOF)
rr7rr.r/
read_tokenr"
sourcehookr5	get_tokenrr!r8)r)r1rawspecr4r3r+r+r,r;as.




zshlex.get_tokencCsd}d}x^|jr$|jr$|j}n|jd}|dkrF|jd7_|jdkrbtd|j|f|jdkrvd|_	Pq|jdkr|sd|_Pqf||j
kr|jdkrtd	|j	s|jr|rPnqn||jkr|j
|jd7_n|jr
||jkr
d
}||_n||jkr$||_	d
|_np||jkr>||_	d|_nV||jkr`|jsX||_	||_n4|jrv||_	d
|_n||_	|j	s|jr|rPnqq|j|jkr>d}|s|jdkrtd
td||jkr|js|j	|7_	d|_Pnd
|_n>|jr.||jkr.|j|jkr.|j}||_n|j	|7_	q|j|jkr|sn|jdkrftdtd||jkr||jkr||kr|j	|j7_	|j	|7_	||_q|jdkr|sd|_Pq||j
kr|jdkrtdd|_|j	s|jr|rPnqq||jkr\|j
|jd7_|jrfd|_|j	sT|jr|rPnqq|jdkr||jkr|j	|7_	n ||j
kr|j|d|_Pq|jr||jkr||_q|jr||jkrd
}||_q||jks||jks|jr|j	|7_	q|jr(|j|n|j||jdkrHtdd|_|j	s`|jr|rPqqqW|j	}d|_	|jr|s|dkrd}|jdkr|rtdt|ntd|S)NFrr
z&shlex: in state %r I see character: %rrz+shlex: I see whitespace in whitespace stateacTz shlex: I see EOF in quotes statezNo closing quotationz shlex: I see EOF in escape statezNo escaped character)rArBz%shlex: I see whitespace in word statez&shlex: I see punctuation in word statezshlex: raw token=zshlex: raw token=EOF)r#r$poprreadrrr.rr rrrreadlinerrrr
ValueErrorrappendrr0r/)r)ZquotedZescapedstateZnextcharresultr+r+r,r9s









zshlex.read_tokencCsV|ddkr|dd}t|jtrHtj|sHtjtj|j|}|t|dfS)z(Hook called on a filename to be sourced.rr
rr)	r
rrospathisabsjoindirnameopen)r)r4r+r+r,r:s
zshlex.sourcehookcCs(|dkr|j}|dkr|j}d||fS)z<Emit a C-compiler-like, Emacs-friendly error-message leader.Nz"%s", line %d: )rr)r)rrr+r+r,error_leaders
zshlex.error_leadercCs|S)Nr+)r)r+r+r,__iter__#szshlex.__iter__cCs|}||jkrt|S)N)r;r
StopIteration)r)r r+r+r,__next__&s
zshlex.__next__)NNFF)N)NN)__name__
__module____qualname____doc__r-r2r5r8r;r9r:rQrRrTr+r+r+r,rs
.
	 	
FTcCs$t||d}d|_|sd|_t|S)N)rTr)rrrlist)sZcommentsrZlexr+r+r,r,s
z[^\w@%+=:,./-]cCs,|sdSt|dkr|Sd|dddS)z1Return a shell-escaped version of the string *s*.z''N'z'"'"')_find_unsafereplace)rZr+r+r,r6s
cCs(x"|}|sPtdt|qWdS)NzToken: )r;r.r/)ZlexerZttr+r+r,
_print_tokensBs
r^__main__r)FT)rXrKrercollectionsrior__all__rrcompileASCIIsearchr\rr^rUlenargvfnrPfr+r+r+r,<module>s&