-í
ç¶<c       s÷     d  Z    d k Z  d k Z 
 d g Z  d f  d „  ƒ  YZ Æ e d j o Ç e e i ƒ d j o È e ƒ  Z	 n) Ê e i d Z
 Ë e e e
 ƒ e
 ƒ Z	 Ì xB Ì d o7 Í e	 i ƒ  Z Î e o Ï d e e ƒ GHn Ñ Pq­ Wn d S(   s8   A lexical analyzer class for simple shell-like syntaxes.Ns   shlexc      sƒ    t  Z d  Z   e e d „ Z % d „  Z + e d „ Z 7 d „  Z A d „  Z a d „  Z	 ´ d „  Z
 ½ e e d „ Z RS(	   s8   A lexical analyzer class for simple shell-like syntaxes.c    sõ     | o  | |  _   | |  _ n  t i |  _   t |  _  d |  _  d |  _  d |  _  d |  _	  d |  _
  g  |  _  d |  _  d |  _  d |  _  g  |  _   t |  _ ! |  i o " d	 |  i  |  i f GHn d  S(
   Ns   #s?   abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_s    	
s   '"s    i   i    s    s   shlex: reading from %s, line %d(   s   instreams   selfs   infiles   syss   stdins   Nones
   commenterss	   wordcharss
   whitespaces   quotess   states   pushbacks   linenos   debugs   tokens	   filestacks   source(   s   selfs   instreams   infile(    (    s   /usr/lib/python2.2/shlex.pys   __init__ s$   
c    sD   % & ' |  i d j o ( d | GHn ) | g |  i |  _ d S(   s:   Push a token onto the stack popped by the get_token methodi   s   shlex: pushing token N(   s   selfs   debugs   toks   pushback(   s   selfs   tok(    (    s   /usr/lib/python2.2/shlex.pys
   push_token% s   c    s™   + , - |  i i d |  i |  i |  i f ƒ . | |  _ / | |  _ 0 d |  _ 1 |  i o6 2 | o 3 d |  i f GHn 5 d |  i f GHn d S(   s9   Push an input source onto the lexer's input source stack.i    i   s   shlex: pushing to file %ss   shlex: pushing to stream %sN(	   s   selfs	   filestacks   inserts   infiles   instreams   linenos   newfiles	   newstreams   debug(   s   selfs	   newstreams   newfile(    (    s   /usr/lib/python2.2/shlex.pys   push_source+ s   (
c    s„   7 8 9 |  i i ƒ  : |  i d \ |  _ |  _ |  _ ; |  i d |  _ < |  i o = d |  i |  i f GHn ? d |  _ d S(   s   Pop the input source stack.i    i   s   shlex: popping to %s, line %ds    N(   s   selfs   instreams   closes	   filestacks   infiles   linenos   debugs   state(   s   self(    (    s   /usr/lib/python2.2/shlex.pys
   pop_source7 s   "c    s‰  A B C |  i oR D |  i d } E |  i d |  _ F |  i d j o G d | GHn H | Sn J |  i ƒ  } L xo L | |  i j o[ M |  i |  i ƒ  ƒ } N | o& O | \ } } P |  i | | ƒ n Q |  i ƒ  } qz WS xU S | d j oD T t |  i ƒ d j o U d Sn W |  i ƒ  X |  i ƒ  } qï WZ |  i d j o' [ | o \ d | GHn	 ^ d GHn _ | Sd S(   sB   Get a token from the input stream (or from stack if it's nonempty)i    i   s   shlex: popping token s    s   shlex: token=s   shlex: token=EOFN(   s   selfs   pushbacks   toks   debugs
   read_tokens   raws   sources
   sourcehooks   specs   newfiles	   newstreams   push_sources	   get_tokens   lens	   filestacks
   pop_source(   s   selfs   toks	   newstreams   raws   specs   newfile(    (    s   /usr/lib/python2.2/shlex.pys	   get_tokenA s4    
 
c    sL  a b c xãc d oØd |  i i d ƒ } e | d j o f |  i d |  _ n g |  i d j o' h d Gt |  i ƒ Gd Gt | ƒ GHn j |  i t j o k d |  _	 l Pn8m |  i d j o3n | o o t |  _ p Pnq | |  i
 j o> r |  i d j o s d	 GHn t |  i	 o u Pn w q nÀ x | |  i j o' y |  i i ƒ  z |  i d |  _ n† { | |  i j o | | |  _	 } d
 |  _ nW ~ | |  i j o  | |  _	 € | |  _ n( ‚ | |  _	 ƒ |  i	 o „ Pn † q nò‡ |  i |  i j ox ˆ |  i	 | |  _	 ‰ | |  i j o Š d |  _ ‹ Pn; Œ | o/  |  i d j o Ž d GHn  t d ‚ n nd‘ |  i d
 j oP’ | o “ t |  _ ” Pn.• | |  i
 j oJ – |  i d j o — d GHn ˜ d |  _ ™ |  i	 o š Pn œ q nÑ  | |  i j o' ž |  i i ƒ  Ÿ |  i d |  _ n—   | |  i j p | |  i j o ¡ |  i	 | |  _	 n] £ | g |  i |  _ ¤ |  i d j o ¥ d GHn ¦ d |  _ § |  i	 o ¨ Pn ª q n q W« |  i	 } ¬ d |  _	 ­ |  i d j o' ® | o ¯ d | GHn	 ± d GHn ² | Sd S(   s>   Read a token from the input stream (no pushback or inclusions)i   s   
i   s   shlex: in states   I see character:s    s    i   s+   shlex: I see whitespace in whitespace states   as    shlex: I see EOF in quotes states   No closing quotations%   shlex: I see whitespace in word states&   shlex: I see punctuation in word states   shlex: raw token=s   shlex: raw token=EOFN(   s   selfs   instreams   reads   nextchars   linenos   debugs   reprs   states   Nones   tokens
   whitespaces
   commenterss   readlines	   wordcharss   quotess
   ValueErrors   pushbacks   result(   s   selfs   results   nextchar(    (    s   /usr/lib/python2.2/shlex.pys
   read_tokena s’    
'


#
c    s¦   ´ µ ¶ | d d j o · | d d !} n ¹ t |  i ƒ t d ƒ j o t i i | ƒ o+ º t i i t i i |  i ƒ | ƒ } n » | t	 | d ƒ f Sd S(   s(   Hook called on a filename to be sourced.i    s   "i   iÿÿÿÿs    s   rN(
   s   newfiles   types   selfs   infiles   oss   paths   isabss   joins   dirnames   open(   s   selfs   newfile(    (    s   /usr/lib/python2.2/shlex.pys
   sourcehook´ s   3+c    sQ   ½ ¾ ¿ | o À |  i  } n Á | o Â |  i } n Ã d | | f Sd S(   s<   Emit a C-compiler-like, Emacs-friendly error-message leader.s   "%s", line %d: N(   s   infiles   selfs   lineno(   s   selfs   infiles   lineno(    (    s   /usr/lib/python2.2/shlex.pys   error_leader½ s   (   s   __name__s
   __module__s   __doc__s   Nones   __init__s
   push_tokens   push_sources
   pop_sources	   get_tokens
   read_tokens
   sourcehooks   error_leader(    (    (    s   /usr/lib/python2.2/shlex.pys   shlex s   
 S	s   __main__i   s   Token: (   s   __doc__s   os.paths   oss   syss   __all__s   shlexs   __name__s   lens   argvs   lexers   files   opens	   get_tokens   tts   repr(   s   __all__s   oss   tts   lexers   syss   shlexs   file(    (    s   /usr/lib/python2.2/shlex.pys   ? s   º 

