™N
ëu¦9c       s       k  Z  k Z k Z  d  f  d „  ƒ  YZ m e d j o^ o e ƒ  Z p xH p d o= q e i ƒ  Z r e e j o s d e	 e ƒ GHn u PqP Wn d S(   s   shlexc      s5    d  Z    e d „ Z  d „  Z  d „  Z RS(   s8   A lexical analyzer class for simple shell-like syntaxes.c    sœ     | o 	 | |  _  n  t i |  _   d |  _  d |  _  d |  _  d |  _  d |  _  g  |  _	  d |  _
  d |  _  d |  _ d  S(	   Ns   #s?   abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_s    	
s   '"s    i   i    s    (   s   instreams   selfs   syss   stdins
   commenterss	   wordcharss
   whitespaces   quotess   states   pushbacks   linenos   debugs   token(   s   selfs   instreams)   /usr/lib/python1.5/site-packages/shlex.pys   __init__ s   
c    sC      |  i d j o  d | GHn  | g |  i |  _ d S(   s:   Push a token onto the stack popped by the get_token methodi   s   Pushing N(   s   selfs   debugs   toks   pushback(   s   selfs   toks)   /usr/lib/python1.5/site-packages/shlex.pys
   push_token s   c    sY     |  i oQ  |  i d }   |  i d |  _ ! |  i d j o " d | GHn # | Sn $ d } % x % d o•& |  i i d ƒ } ' | d j o ( |  i d |  _ n ) |  i d j o' * d t |  i	 ƒ d t | ƒ GHn + |  i	 t
 j o , d Snþ- |  i	 d	 j o3. | o / t
 |  _	 0 Pn1 | |  i j o> 2 |  i d
 j o 3 d GHn 4 |  i o 5 Pn 7 qs nÀ 8 | |  i j o' 9 |  i i ƒ  : |  i d |  _ n† ; | |  i j o < | |  _ = d |  _	 nW > | |  i j o ? | |  _ @ | |  _	 n( B | |  _ C |  i o D Pn F qs n¸G |  i	 |  i j o> H |  i | |  _ I | |  i	 j o J d	 |  _	 K Pn ndL |  i	 d j oPM | o N t
 |  _	 O Pn.P | |  i j oJ Q |  i d
 j o R d GHn S d	 |  _	 T |  i o U Pn W qs nÑ X | |  i j o' Y |  i i ƒ  Z |  i d |  _ n— [ | |  i j p | |  i j o \ |  i | |  _ n] ^ | g |  i |  _ _ |  i d
 j o ` d GHn a d	 |  _	 b |  i o c Pn e qs n qs Wg |  i } h d |  _ i |  i d j o j d | GHn k | Sd S(   sB   Get a token from the input stream (or from stack if it's monempty)i    i   s   Popping s    s   
i   s	   In state s    I see character: s    i   s$   I see whitespace in whitespace states   as   I see whitespace in word states   I see punctuation in word states   Token: N(   s   selfs   pushbacks   toks   debugs   instreams   reads   nextchars   linenos   reprs   states   Nones
   whitespaces   tokens
   commenterss   readlines	   wordcharss   quotess   result(   s   selfs   toks   nextchars   results)   /usr/lib/python1.5/site-packages/shlex.pys	   get_token s’   	 
'


#(   s   __doc__s   Nones   __init__s
   push_tokens	   get_token(    s)   /usr/lib/python1.5/site-packages/shlex.pys   shlex s   	s   __main__i   s   Token: N(
   s   syss   oss   strings   shlexs   __name__s   lexers	   get_tokens   tts   Nones   repr(    s)   /usr/lib/python1.5/site-packages/shlex.pys   ? s   h 
