uawdijnntqw1x1x1
IP : 3.22.42.92
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
..
/
lib
/
python2.7
/
site-packages
/
procfs
/
..
/
ply
/
lex.pyc
/
/
� ��]Mc@s�dZdZddlZddlZddlZddlZddlZyejejfZ Wne k r}eefZ nXej ddkr�d�Zn d�Zejd�Zd efd ��YZdefd��YZd efd��YZdefd��YZdfd��YZd�Zd�Zd�Zd�Zd�Zdefd��YZeeddddddeed� Zeed�Z d�Z!e!Z"dS(s3.4s3.2i����NiicCs|jS(N(t func_code(tf((s+/usr/lib/python2.7/site-packages/ply/lex.pyR3scCs|jS(N(t__code__(R((s+/usr/lib/python2.7/site-packages/ply/lex.pyR6ss^[a-zA-Z0-9_]+$tLexErrorcBseZd�ZRS(cCs|f|_||_dS(N(targsttext(tselftmessagets((s+/usr/lib/python2.7/site-packages/ply/lex.pyt__init__@s(t__name__t __module__R (((s+/usr/lib/python2.7/site-packages/ply/lex.pyR?stLexTokencBseZd�Zd�ZRS(cCs d|j|j|j|jfS(NsLexToken(%s,%r,%d,%d)(ttypetvaluetlinenotlexpos(R((s+/usr/lib/python2.7/site-packages/ply/lex.pyt__str__FscCs t|�S(N(tstr(R((s+/usr/lib/python2.7/site-packages/ply/lex.pyt__repr__Hs(R RRR(((s+/usr/lib/python2.7/site-packages/ply/lex.pyREs t PlyLoggercBs8eZd�Zd�Zd�Zd�ZeZeZRS(cCs ||_dS(N(R(RR((s+/usr/lib/python2.7/site-packages/ply/lex.pyR OscOs|jj||d�dS(Ns (Rtwrite(RtmsgRtkwargs((s+/usr/lib/python2.7/site-packages/ply/lex.pytcriticalQscOs |jjd||d�dS(Ns WARNING: s (RR(RRRR((s+/usr/lib/python2.7/site-packages/ply/lex.pytwarningTscOs |jjd||d�dS(NsERROR: s (RR(RRRR((s+/usr/lib/python2.7/site-packages/ply/lex.pyterrorWs(R RR RRRtinfotdebug(((s+/usr/lib/python2.7/site-packages/ply/lex.pyRNs t NullLoggercBseZd�Zd�ZRS(cCs|S(N((Rtname((s+/usr/lib/python2.7/site-packages/ply/lex.pyt__getattribute___scOs|S(N((RRR((s+/usr/lib/python2.7/site-packages/ply/lex.pyt__call__as(R RRR (((s+/usr/lib/python2.7/site-packages/ply/lex.pyR^s tLexercBs�eZd�Zdd�Zdd�Zd�Zd�Zd�Zd�Z d�Z d �Zd �Zd�Z d�Zd �ZeZRS(cCs�d|_d|_i|_i|_i|_d|_g|_d|_i|_ i|_ d|_d|_d|_ d|_d|_d|_d|_d|_d|_d|_d|_dS(NtINITIALiti(tNonetlexret lexretextt lexstateretlexstateretexttlexstaterenamestlexstatet lexstatestacktlexstateinfotlexstateignoretlexstateerrorft lexreflagstlexdataRtlexlent lexerrorft lextokenst lexignoretlexliteralst lexmoduleRtlexoptimize(R((s+/usr/lib/python2.7/site-packages/ply/lex.pyR ss* c Cs3tj|�}|r/i}x�|jj�D]�\}}g}xw|D]o\}}g} xZ|D]R} | su| dr�| j| �q]n| jt|| dj�| df�q]WqDW|j|| f�|||<q+W||_i|_x6|jj�D]%\}}t||j�|j|<q�W||_n|S(Nii(tcopyR'titemstappendtgetattrR R.R6(Rtobjecttctnewtabtkeytritemtnewretcretfindext newfindexRtef((s+/usr/lib/python2.7/site-packages/ply/lex.pytclone�s( / R#cCsit|tj�rdS|jd�d}tjj||�d}t|d�}|jd|t f�|jdt t ��|jdt |j��|jdt |j��|jd t |j ��|jd t |j��i}|jd}g}xC|D];} x2| dD]&} | r| d r|j| �qqWqWx�|jj�D]s\}}g} xTtt|��D]@}| j|j||t||d|j||�f�q{W| ||<qVW|jdt |��|jdt |j��i}x=|jj�D],\}}|r6|j||<qd||<qW|jdt |��|j�dS(Nt.i����s.pytwsJ# %s.py. This file automatically created by PLY (version %s). Don't edit! s_tabversion = %s s_lextokens = %s s_lexreflags = %s s_lexliterals = %s s_lexstateinfo = %s R"iis_lexstatere = %s s_lexstateignore = %s s_lexstateerrorf = %s (t isinstancettypest ModuleTypetsplittostpathtjointopenRt__version__treprR3R/R5R,R'R:R9trangetlenR(t_funcs_to_namesR)R-R.R R$tclose(Rttabfilet outputdirtbasetabfilenametfilenamettfttabretinitialtinitialfuncstpartRR?tlrettitemtittaberrRE((s+/usr/lib/python2.7/site-packages/ply/lex.pytwritetab�s@ >cBs�e|ej�r|}nGejddkr=d|dUn%i}d|||fdU|d}e|dd�ekr�ed��n|j|_ |j |_|j|_ |j|_|j|_i|_i|_x�|jj�D]�\}}g}g}xqee|��D]]} |jej|| d|j ejB�e|| d|�f�|j|| d�qW||j|<||j|<q�Wi|_x.|jj�D]\}} || |j|<q�W|jd �dS( Niisimport %s as lextabtlextabt_tabversions0.0sInconsistent PLY versioniR"( RIRJRKtsystversion_infoR;RQtImportErrort _lextokensR3t_lexreflagsR/t_lexliteralsR5t _lexstateinfoR,t_lexstateignoreR-R'R(t_lexstatereR9RSRTR:tretcompiletVERBOSEt_names_to_funcsR.t_lexstateerrorftbegin(RRWtfdictRetenvR?R`RattxtitemRbRE((s+/usr/lib/python2.7/site-packages/ply/lex.pytreadtab�s8 B cCsM|d }t|t�s(td��n||_d|_t|�|_dS(NisExpected a stringi(RItStringTypest ValueErrorR0RRTR1(RRR=((s+/usr/lib/python2.7/site-packages/ply/lex.pytinput�s cCs{||jkrtd��n|j||_|j||_|jj|d�|_|jj|d�|_ ||_dS(NsUndefined stateR#(R'R{R%R(R&R-tgetR4R.R$R2R*(Rtstate((s+/usr/lib/python2.7/site-packages/ply/lex.pyRuscCs$|jj|j�|j|�dS(N(R+R:R*Ru(RR~((s+/usr/lib/python2.7/site-packages/ply/lex.pyt push_statescCs|j|jj��dS(N(RuR+tpop(R((s+/usr/lib/python2.7/site-packages/ply/lex.pyt pop_statescCs|jS(N(R*(R((s+/usr/lib/python2.7/site-packages/ply/lex.pyt current_state scCs|j|7_dS(N(R(Rtn((s+/usr/lib/python2.7/site-packages/ply/lex.pytskip&scCs|j}|j}|j}|j}x�||kr�|||krS|d7}q'nx�|jD]Q\}}|j||�}|s�q]nt�}|j�|_|j |_ ||_|j } || \} |_| s|jr�|j�|_|S|j�}Pn|j�}||_ ||_||_| |�}|sQ|j}|j}Pn|js�|j|jkr�tdt| �jt| �j| j|jf||��q�n|SW|||jkr t�}|||_|j |_ |j|_||_|d|_|S|jr�t�}|j||_|j |_ d|_||_ ||_||_|j|�}||jkr�td||||��n|j}|s�q'n|S||_td|||f||��q'W|d|_|jdkr td��ndS(Nis4%s:%d: Rule '%s' returned an unknown token type '%s'Rs&Scanning error. Illegal character '%s's"Illegal character '%s' at index %ds"No input string given with input()(RR1R4R0R%tmatchRtgroupRRt lastindexR tendtlexertlexmatchR7R3RRtco_filenametco_firstlinenoR R5R2R$tRuntimeError(RRR1R4R0R%tlexindexfunctmttokRbtfunctnewtok((s+/usr/lib/python2.7/site-packages/ply/lex.pyttoken0s� # % cCs|S(N((R((s+/usr/lib/python2.7/site-packages/ply/lex.pyt__iter__�scCs%|j�}|dkr!t�n|S(N(R�R$t StopIteration(Rtt((s+/usr/lib/python2.7/site-packages/ply/lex.pytnext�s N(R RR R$RFRdRyR|RuRR�R�R�R�R�R�t__next__(((s+/usr/lib/python2.7/site-packages/ply/lex.pyR!rs + % a cCs�y t�Wn�tk r�tj�\}}}|j}x#|dkr]|j}|d8}q;W|jj�}|j|jkr�|j|j�n|SXdS(Nii( R�Rgtexc_infottb_frametf_backt f_globalsR8tf_localstupdate(tlevelstetbR�Rtldict((s+/usr/lib/python2.7/site-packages/ply/lex.pytget_caller_module_dict�s cCsag}xTt||�D]C\}}|rL|drL|j||df�q|j|�qW|S(Nii(tzipR:(tfunclisttnamelisttresultRR((s+/usr/lib/python2.7/site-packages/ply/lex.pyRU�scCsZg}xM|D]E}|rE|drE|j||d|df�q |j|�q W|S(Nii(R:(R�RvR�R�((s+/usr/lib/python2.7/site-packages/ply/lex.pyRs�s "cCs�|s gSdj|�}y tj|tj|B�}dgt|jj��d}|}x�|jj�D]�\}} |j |d�} t | �tjtj fkr�| ||f|| <||| <ql| dk rl||| <|jd�dkrd|| <qd||f|| <qlqlW||fg|g|gfSWn�tk r�tt|�d�}|dkrtd}nt|| |||�\}} }t|||||�\}}}||| |||fSXdS(Nt|itignore_ii(NN(RORpRqRrR$tmaxt groupindextvaluesR9R}R RJtFunctionTypet MethodTypetfindt ExceptiontintRTt_form_master_re(trelisttreflagsR�ttoknamestregexR%R�t lexindexnamesRRbthandleR�tllistR`tlnamestrlisttrretrnames((s+/usr/lib/python2.7/site-packages/ply/lex.pyR��s2 ""cCs�d}|jd�}xAtdt|��D]*}|||kr+||dkr+Pq+q+W|dkr{t|d|!�}nd}d|kr�t|�}ndj||�}||fS(Nit_tANYR"(sINITIAL(RLRSRTttupleRO(RtnamestnonstatetpartsRbtstatest tokenname((s+/usr/lib/python2.7/site-packages/ply/lex.pyt_statetoken s tLexerReflectcBsqeZddd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z d �Zd �Zd�Z RS( icCst||_d|_g|_||_idd6|_i|_d|_|dkrgtt j �|_n ||_dS(Nt inclusiveR"i(R�R$t error_functtokensR�t stateinfotfilesRRRgtstderrtlog(RR�R�R�((s+/usr/lib/python2.7/site-packages/ply/lex.pyR !s cCs,|j�|j�|j�|j�dS(N(t get_tokenstget_literalst get_statest get_rules(R((s+/usr/lib/python2.7/site-packages/ply/lex.pytget_all0s cCs%|j�|j�|j�|jS(N(tvalidate_tokenstvalidate_literalstvalidate_rulesR(R((s+/usr/lib/python2.7/site-packages/ply/lex.pytvalidate_all7s cCs�|jjdd�}|s8|jjd�d|_dSt|ttf�sj|jjd�d|_dS|s�|jjd�d|_dS||_dS(NR�sNo token list is definedistokens must be a list or tuplestokens is empty( R�R}R$R�RRItlistR�R�(RR�((s+/usr/lib/python2.7/site-packages/ply/lex.pyR�>s cCsxi}xk|jD]`}tj|�sD|jjd|�d|_n||krf|jjd|�nd||<qWdS(NsBad token name '%s'isToken '%s' multiply defined(R�t_is_identifierR�R�RR(Rt terminalsR�((s+/usr/lib/python2.7/site-packages/ply/lex.pyR�RscCs|jjdd�|_dS(NtliteralsR#(R�R}R�(R((s+/usr/lib/python2.7/site-packages/ply/lex.pyR�]scCs�ybx[|jD]P}t|t�s5t|�dkr |jjdt|��d|_q q q WWn*tk r�|jjd�d|_nXdS(Nis.Invalid literal %s. Must be a single charactersIInvalid literals specification. literals must be a sequence of characters(R�RIRzRTR�RRRt TypeError(RR=((s+/usr/lib/python2.7/site-packages/ply/lex.pyR�as" cCsu|jjdd�|_|jrqt|jttf�sU|jjd�d|_qqx|jD]}t|t�s�t |�dkr�|jjdt |��d|_q_n|\}}t|t�s�|jjdt |��d|_q_n|dkp|dks,|jjd |�d|_q_n||jkr]|jjd |�d|_q_n||j|<q_WndS(NR�s)states must be defined as a tuple or listiisMInvalid state specifier %s. Must be a tuple (statename,'exclusive|inclusive')sState name %s must be a stringR�t exclusives:State type for state %s must be 'inclusive' or 'exclusive'sState '%s' already defined( R�R}R$R�RIR�R�R�RRTRRRzR�(RRRt statetype((s+/usr/lib/python2.7/site-packages/ply/lex.pyR�ms0 " c Cs8g|jD]}|d dkr |^q }i|_i|_i|_i|_i|_x+|jD] }g|j|<g|j|<qcWt|�dkr�|jj d�d|_ dSx�|D]�}|j|}t ||j�\}}||j|<t|d�r�|dkr1x�|D]}||j|<qWq�|dkr�t|�j }t|�j}|jj d |||j�d|_ q�x�|D] }|j|j||f�q�Wq�t|t�rh|dkrx|D]}||j|<q�Wd |kre|jjd|�qeq�|dkr:|jj d|�d|_ q�xG|D] }|j|j||f�qAWq�|jj d |�d|_ q�WxP|jj�D]?}tjddkr�|jd��q�|jdd��q�WxV|jj�D]E}tjddkr|jd��q�|jdd�dt�q�WdS(Nitt_is+No rules of the form t_rulename are definediR Rtignores,%s:%d: Rule '%s' must be defined as a strings\s#%s contains a literal backslash '\'s'Rule '%s' must be defined as a functions&%s not defined as a function or stringicSs'tt|d�jt|d�j�S(Ni(tcmpRR�(txty((s+/usr/lib/python2.7/site-packages/ply/lex.pyt<lambda>�sR?cSst|d�jS(Ni(RR�(R�((s+/usr/lib/python2.7/site-packages/ply/lex.pyR��scSs<t|d�t|d�kt|d�t|d�kS(Ni(RT(R�R�((s+/usr/lib/python2.7/site-packages/ply/lex.pyR��scSst|d�S(Ni(RT(R�((s+/usr/lib/python2.7/site-packages/ply/lex.pyR��streverse(R�R�tfuncsymtstrsymR�terrorfR�RTR�RR�thasattrRR�R�R R:RIRzRR�RgRhtsorttTrue( RRttsymbolsRR�R�ttoknametlinetfile((s+/usr/lib/python2.7/site-packages/ply/lex.pyR��sb, ! ! cCs�x�|jD]�}x|j|D]�\}}t|�j}t|�j}d|j|<|j|}t|tj �r}d}nd}t|�j }||kr�|jjd|||j �d|_qn||kr|jjd|||j �d|_qn|js4|jjd|||j �d|_qnydtjd||jftj|jB�} | jd�r�|jjd|||j �d|_nWqtjk rtj�\} }}|jjd |||j |�d |jkr |jjd|||j �nd|_qXqWxd|j|D]U\} }|j| }|dkrs|jjd | �d|_q,n||jkr�|jd�dkr�|jjd| |�d|_q,nyXtjd| |ftj|jB�} | jd�r|jjd| �d|_nWq,tjk r�tj�\} }}|jjd| |�d |krt|jjd| �nd|_q,Xq,W|j|r�|j|r�|jjd|�d|_n|jj|d�}|r |}t|�j}t|�j}d|j|<t|tj �r'd}nd}t|�j }||krp|jjd|||j �d|_n||kr�|jjd|||j �d|_q�q q Wx|jD]}|j|�q�WdS(Niis'%s:%d: Rule '%s' has too many argumentss%%s:%d: Rule '%s' requires an arguments2%s:%d: No regular expression defined for rule '%s's (?P<%s>%s)R#s<%s:%d: Regular expression for rule '%s' matches empty strings3%s:%d: Invalid regular expression for rule '%s'. %st#s6%s:%d. Make sure '#' in rule '%s' is escaped with '\#'Rs'Rule '%s' must be defined as a functionR�is-Rule '%s' defined for an unspecified token %ss5Regular expression for rule '%s' matches empty strings,Invalid regular expression for rule '%s'. %ss/Make sure '#' in rule '%s' is escaped with '\#'sNo rules defined for state '%s'(R�R�RR�R�R�R�RIRJR�tco_argcountR�RR t__doc__RpRqRrR�R�RgR�R�R�R�R�R}R$t validate_file(RR~tfnameRR�R�R�treqargstnargsR=t_etypeR�t_etraceRtrtefunc((s+/usr/lib/python2.7/site-packages/ply/lex.pyR��s� ) $ & cCs>ddl}|jj|�\}}|dkr4dSy&t|�}|j�}|j�Wntk rndSXtjd�}tjd�}i} d} x�|D]�}|j |�}|s�|j |�}n|r,|j d�} | j| �}|s| | | <q,|jj d|| | |�d|_ n| d7} q�WdS(Ni����s.pys\s*def\s+(t_[a-zA-Z_0-9]*)\(s\s*(t_[a-zA-Z_0-9]*)\s*=is7%s:%d: Rule %s redefined. Previously defined on line %d(tos.pathRNtsplitextRPt readlinesRVtIOErrorRpRqR�R�R}R�R(RRZRMtbasetextRtlinestfretsret counthashtlinentlR�Rtprev((s+/usr/lib/python2.7/site-packages/ply/lex.pyR�=s4 N(R RR$R R�R�R�R�R�R�R�R�R�R�(((s+/usr/lib/python2.7/site-packages/ply/lex.pyR� s G jReR#c Csd} idd6}t�}||_| dkrCttj�} n|rj|dkrjttj�}qjn|ry|}n|r�gt|�D]} | t|| �f^q�}t|�} nt d�} t | d| d|�}|j�|s|j�rt d��qn|ra|ray0|j|| �|ja|ja|a|SWqatk r]qaXn|r�|jd|j�|jd|j�|jd |j�ni|_x|jD]}d |j|<q�Wt|jttf�r t|jd��j|j�|_n|j|_|j}i}x�|D]�}g}xu|j|D]f\}}t|�j }t|�j!}|j"d||j#f�|rI|jd ||j#|�qIqIWxQ|j$|D]B\}}|j"d||f�|r�|jd |||�q�q�W|||<q/W|r+|jd�nx�|D]�}t%|||| |j&�\}}}||j'|<||j(|<||j)|<|r2x7t*t+|��D] }|jd||||�q�Wq2q2Wx�|j,�D]x\}}|dkr�|dkr�|j'|j-|j'd�|j(|j-|j(d�|j)|j-|j)d�q�q�W||_.|j'd|_/|j(d|_0||_1|j2|_3|j3j4dd�|_5|j6|_7|j6j4dd�|_8|j8s�| j9d�nx�|j,�D]�\}}|dkrY||j6kr+| j9d|�n||j2kr�|j5r�| j9d|�q�q�|dkr�||j6kr�|j6j4dd�|j6|<n||j2kr�|j2j4dd�|j2|<q�q�q�W|ja|ja|a|r�|r�|j:||�n|S(NR�R"iR�R�sCan't build lexerslex: tokens = %rslex: literals = %rslex: states = %riis (?P<%s>%s)s(lex: Adding rule %s -> '%s' (state '%s')s#lex: ==== MASTER REGEXS FOLLOW ====s"lex: state '%s' : regex[%d] = '%s'R#sNo t_error rule is definedR�s1No error rule is defined for exclusive state '%s's2No ignore rule is defined for exclusive state '%s'(;R$R!R7RRgR�tdirR;tdictR�R�R�R�tSyntaxErrorRyR�R|R�RiRR�R�R�R3RIR�R�R ROR5R�RR�R�R:R�R�R�R�R'R(R)RSRTR9textendR,R%R&R/R�R-R}R4R�R.R2RRd( tmoduleR<RtoptimizeReR�tnowarnRXtdebuglogterrorlogR�R�tlexobjtkt_itemstlinfoR�tregexsR~t regex_listR�RR�R�RR�R%tre_texttre_namesRbtstypeR((s+/usr/lib/python2.7/site-packages/ply/lex.pytlexas� . ( % %" & cCs�|soy3tjd}t|�}|j�}|j�Wqotk rktjjd�tjj�}qoXn|r�|j }nt }||�|r�|j }nt }xB|�}|s�Pntjjd|j|j|j |jf�q�dS(Nis/Reading from standard input (type EOF to end): s(%s,%r,%d,%d) (RgtargvRPtreadRVt IndexErrortstdoutRtstdinR|R�R RRR(R�tdataRZRt_inputt_tokenR�((s+/usr/lib/python2.7/site-packages/ply/lex.pytrunmain�s* cs�fd�}|S(Ncs+t�d�r�j|_n �|_|S(NR (R�R�(R(R�(s+/usr/lib/python2.7/site-packages/ply/lex.pytset_docs ((R�R$((R�s+/usr/lib/python2.7/site-packages/ply/lex.pytTOKENs(#RQt__tabversion__RpRgRJR8RMt StringTypetUnicodeTypeRztAttributeErrorRtbytesRhRRqR�R�RR<RRRR!R�RURsR�R�R�R$RR#R%tToken(((s+/usr/lib/python2.7/site-packages/ply/lex.pyt<module>"s6< �: ' �B'�!
/home/../lib/python2.7/site-packages/procfs/../ply/lex.pyc