grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026B —û¡|&z~-./*?=)Ú isinstanceÚstrrÚinstreamÚinfileÚsysÚstdinÚposixÚeofÚ commentersÚ wordcharsÚ whitespaceÚwhitespace_splitÚquotesÚescapeÚ escapedquotesÚstaterÚpushbackÚlinenoÚdebugÚtokenÚ filestackÚsourceÚ_punctuation_charsÚ_pushback_charsÚ maketransÚdictÚfromkeysÚ translate)ÚselfrrrÚpunctuation_charsÚt©r,ú*/opt/alt/python37/lib64/python3.7/shlex.pyÚ__init__sJ zshlex.__init__cCs|jS)N)r#)r)r,r,r-r*Dszshlex.punctuation_charscCs*|jdkrtdt|ƒƒ|j |¡dS)z:Push a token onto the stack popped by the get_token methodr zshlex: pushing token N)rÚprintÚreprrÚ appendleft)r)Útokr,r,r-Ú push_tokenHs zshlex.push_tokencCspt|tƒrt|ƒ}|j |j|j|jf¡||_||_d|_|jrl|dk r\t d|jfƒnt d|jfƒdS)z9Push an input source onto the lexer's input source stack.r Nzshlex: pushing to file %szshlex: pushing to stream %s) r rrr!r1rrrrr/)r)Ú newstreamÚnewfiler,r,r-Ú push_sourceNs zshlex.push_sourcecCsD|j ¡|j ¡\|_|_|_|jr:td|j|jfƒd|_dS)zPop the input source stack.zshlex: popping to %s, line %dr N) rÚcloser!Úpopleftrrrr/r)r)r,r,r-Ú pop_source\s  zshlex.pop_sourcecCsÜ|jr.|j ¡}|jdkr*tdt|ƒƒ|S| ¡}|jdk r~x<||jkr|| | ¡¡}|rr|\}}| ||¡|  ¡}qBWx*||j kr¨|j s–|j S|  ¡|  ¡}q€W|jdkrØ||j krÐtdt|ƒƒ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) rr8rr/r0Ú read_tokenr"Ú sourcehookr6Ú get_tokenrr!r9)r)r2ÚrawÚspecr5r4r,r,r-r<es.          zshlex.get_tokencCsÂd}d}�x^|jr$|jr$|j ¡}n |j d¡}|dkrF|jd7_|jdkrbtd|j|fƒ|jdkrvd|_ Pq |jdk�r–|s’d|_P�qf||j krÆ|jdkr®td ƒ|j s¾|j r |r Pnq nÎ||j krê|j  ¡|jd7_nª|j �r ||jk�r d }||_nŠ||jk�r$||_ d |_np||jk�r>||_ d |_nV||jk�r`|j �sX||_ ||_n4|j�rv||_ d |_n||_ |j �sŽ|j r |r Pnq q |j|jk�r>d }|�sÊ|jdk�rÂtd ƒtdƒ‚||jk�rþ|j �sö|j |7_ d|_Pnd |_n>|j �r.||jk�r.|j|jk�r.|j}||_n|j |7_ q |j|jk�r¶|�sn|jdk�rftdƒtdƒ‚||jk�r ||jk�r ||k�r |j |j7_ |j |7_ ||_q |jdkr |�sÐd|_Pq ||j k�r|jdk�rðtdƒd|_|j �s|j r |r Pnq q ||j k�r\|j  ¡|jd7_|j �rfd|_|j �sT|j r |r Pnq q |jd k�r¦||jk�r„|j |7_ n ||j k�rœ|j |¡d|_Pq |j �rÂ||jk�rÂ||_q |j �râ||jk�râd }||_q ||jk�s||jk�s|j�r|j |7_ q |j�r(|j |¡n |j |¡|jdk�rHtdƒd|_|j �s`|j r |r Pq q q W|j }d|_ |j �r’|�s’|dk�r’d}|jdk�r¾|�r¶tdt|ƒƒntdƒ|S)NFr r Ú éz&shlex: in state %r I see character: %rréz+shlex: I see whitespace in whitespace stateÚaÚcTz shlex: I see EOF in quotes statezNo closing quotationz shlex: I see EOF in escape statezNo escaped character)rBrCz%shlex: I see whitespace in word statez&shlex: I see punctuation in word statezshlex: raw token=zshlex: raw token=EOF)r*r$ÚpoprÚreadrrr/rr rrrÚreadlinerrrrÚ ValueErrorrÚappendrr1r0)r)ZquotedZ escapedstateZnextcharÚresultr,r,r-r:…sü                               zshlex.read_tokencCsV|ddkr|dd…}t|jtƒrHtj |¡sHtj tj |j¡|¡}|t|dƒfS)z(Hook called on a filename to be sourced.rr r éÿÿÿÿÚr) r rrÚosÚpathÚisabsÚjoinÚdirnameÚopen)r)r5r,r,r-r;s   zshlex.sourcehookcCs(|dkr|j}|dkr|j}d||fS)zs&