Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.15.208.109
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : shlex.cpython-32.pyo
l
��bc@s�dZddlZddlZddlmZddlmZddgZGd�d�Z	dd
d�Ze
d	kr�eej�d
kr�e	�Zn"ejd
Ze	ee�e�Zx0ej�Zer�edee��q�Pq�ndS(u8A lexical analyzer class for simple shell-like syntaxes.iN(udeque(uStringIOushlexusplitcBs�|EeZdZdddd�Zd�Zdd�Zd�Zd�Z	d�Z
d�Zddd�Zd	�Z
d
�ZdS(
u8A lexical analyzer class for simple shell-like syntaxes.cCsAt|t�rt|�}n|dk	r?||_||_ntj|_d|_||_|rod|_	n	d|_	d|_
d|_|jr�|jd7_nd|_d
|_d|_d|_d|_d	|_t�|_d
|_d|_d|_t�|_d|_|jr=td|j|jf�ndS(Nuu#u?abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_u|ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞu 	
u'"u\u"u iiushlex: reading from %s, line %dF(u
isinstanceustruStringIOuNoneuinstreamuinfileusysustdinuposixueofu
commentersu	wordcharsu
whitespaceuFalseuwhitespace_splituquotesuescapeu
escapedquotesustateudequeupushbackulinenoudebugutokenu	filestackusourceuprint(uselfuinstreamuinfileuposix((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu__init__s<																		cCs:|jdkr&tdt|��n|jj|�dS(u:Push a token onto the stack popped by the get_token methodiushlex: pushing token N(udebuguprintureprupushbacku
appendleft(uselfutok((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu
push_token7scCs�t|t�rt|�}n|jj|j|j|jf�||_||_d|_|jr�|dk	r�t
d|jf�q�t
d|jf�ndS(u9Push an input source onto the lexer's input source stack.iushlex: pushing to file %sushlex: pushing to stream %sN(u
isinstanceustruStringIOu	filestacku
appendleftuinfileuinstreamulinenoudebuguNoneuprint(uselfu	newstreamunewfile((u,/usr/local/python-3.2/lib/python3.2/shlex.pyupush_source=s"				cCsa|jj�|jj�\|_|_|_|jrTtd|j|jf�nd|_dS(uPop the input source stack.ushlex: popping to %s, line %du N(	uinstreamucloseu	filestackupopleftuinfileulinenoudebuguprintustate(uself((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu
pop_sourceKs
!	cCs>|jrB|jj�}|jdkr>tdt|��n|S|j�}|jdk	r�x\||jkr�|j|j��}|r�|\}}|j	||�n|j
�}q`Wnx9||jkr�|js�|jS|j
�|j
�}q�W|jdkr:||jkr-tdt|��q:td�n|S(uBGet a token from the input stream (or from stack if it's nonempty)iushlex: popping token u
shlex: token=ushlex: token=EOFN(upushbackupopleftudebuguprinturepru
read_tokenusourceuNoneu
sourcehookupush_sourceu	get_tokenueofu	filestacku
pop_source(uselfutokurawuspecunewfileu	newstream((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu	get_tokenTs.		

cCs�d}d}x|jjd�}|dkr@|jd|_n|jdkrttdt|j�dt|��n|jdkr�d|_	Pq|jdkr�|s�d|_Pq||j
kr�|jdkr�td	�n|j	s�|jr|rPq�qq||jkr.|jj
�|jd|_q|jrX||jkrXd
}||_q||jkr|||_	d
|_q||jkr�|js�||_	n||_q|jr�||_	d
|_q||_	|j	s�|jr|rPqqq|j|jkr�d}|s>|jdkr/td�ntd��n||jkr|jss|j	||_	d|_Pq�d
|_q|jr�||jkr�|j|jkr�|j}||_q|j	||_	q|j|jkrp|s|jdkrtd
�ntd��n||jkrT||jkrT||krT|j	|j|_	n|j	||_	||_q|jd
kr|s�d|_Pq||j
kr�|jdkr�td�nd|_|j	s�|jr|rPqqq||jkrK|jj
�|jd|_|jrd|_|j	s>|jr|rPqHqqq|jro||jkro||_q|jr�||jkr�d
}||_q||jks�||jks�|jr�|j	||_	q|jj|�|jdkr�td�nd|_|j	rPqqqq|j	}d|_	|jrU|rU|dkrUd}n|jdkr�|r�tdt|��q�td�n|S(Nu iu
iushlex: in stateuI see character:uiu+shlex: I see whitespace in whitespace stateuau shlex: I see EOF in quotes stateuNo closing quotationu shlex: I see EOF in escape stateuNo escaped characteru%shlex: I see whitespace in word stateu&shlex: I see punctuation in word stateushlex: raw token=ushlex: raw token=EOFFT(uFalseuinstreamureadulinenoudebuguprintureprustateuNoneutokenu
whitespaceuposixu
commentersureadlineuescapeu	wordcharsuquotesuwhitespace_splituTrueu
ValueErroru
escapedquotesupushbacku
appendleft(uselfuquoteduescapedstateunextcharuresult((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu
read_tokents�		

					
			
	
	
				
						
cCs�|ddkr#|dd�}nt|jt�rotjj|�rotjjtjj|j�|�}n|t|d�fS(u(Hook called on a filename to be sourced.iu"iuri����(	u
isinstanceuinfileustruosupathuisabsujoinudirnameuopen(uselfunewfile((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu
sourcehook�s
%'cCs>|dkr|j}n|dkr0|j}nd||fS(u<Emit a C-compiler-like, Emacs-friendly error-message leader.u"%s", line %d: N(uNoneuinfileulineno(uselfuinfileulineno((u,/usr/local/python-3.2/lib/python3.2/shlex.pyuerror_leader�s
cCs|S(N((uself((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu__iter__scCs(|j�}||jkr$t�n|S(N(u	get_tokenueofu
StopIteration(uselfutoken((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu__next__s	NF(u__name__u
__module__u__doc__uNoneuFalseu__init__u
push_tokenupush_sourceu
pop_sourceu	get_tokenu
read_tokenu
sourcehookuerror_leaderu__iter__u__next__(u
__locals__((u,/usr/local/python-3.2/lib/python3.2/shlex.pyushlexs
$				 	�			cCs7t|d|�}d|_|s-d|_nt|�S(NuposixuT(ushlexuTrueuwhitespace_splitu
commentersulist(usucommentsuposixulex((u,/usr/local/python-3.2/lib/python3.2/shlex.pyusplits
	u__main__iuToken: FT(u__doc__uos.pathuosusysucollectionsudequeuiouStringIOu__all__ushlexuFalseuTrueusplitu__name__ulenuargvulexerufileuopenu	get_tokenuttuprinturepr(((u,/usr/local/python-3.2/lib/python3.2/shlex.pyu<module>s"�

© 2025 GrazzMean