-í
ŽH ?c       s    d  Z    d Z  d k Z  d k Z  d k Z  d k Z  e e d ƒ o  e d ƒ ‚ n  d d d g Z  d a	  d a
  d	 „  Z   d
 „  Z 2 d f  d „  ƒ  YZ < d „  Z j d f  d „  ƒ  YZ ð d „  Z ø d „  Z /e d j o 0e ƒ  n d S(   sB   The Tab Nanny despises ambiguous indentation.  She knows no mercy.s   6Ns   NLs4   tokenize.NL doesn't exist -- tokenize module too olds   checks   NannyNags   process_tokensi    c     s`     d }  x7 |  D ], }  t i i | t | ƒ ƒ  d } q W t i i d ƒ d  S(   Ns    s    s   
(   s   seps   argss   args   syss   stderrs   writes   str(   s   argss   args   sep(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   errprint s   	
 	c     s    ! " y& # t  i  t i d d ƒ \ } } Wn/ $ t  i j
 o } % t | ƒ & d  Sn X' xY | D' ]N \ } }  ( | d j o ) t
 d a
 n * | d j o + t d a n qk W, | o% - t d t i d d ƒ . d  Sn / x | D/ ] } 0 t | ƒ qú Wd  S(   Ni   s   qvs   -qs   -vs   Usage:i    s   [-v] file_or_directory ...(   s   getopts   syss   argvs   optss   argss   errors   msgs   errprints   os   as   filename_onlys   verboses   args   check(   s   as   argss   os   args   msgs   opts(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   main  s$   &
 
 	c      s5   2 3 d „  Z  5 d „  Z 7 d „  Z 9 d „  Z RS(   Nc    s+   3 4 | | | f \ |  _  |  _ |  _ d  S(   N(   s   linenos   msgs   lines   self(   s   selfs   linenos   msgs   line(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   __init__3 s   c    s   5 6 |  i Sd  S(   N(   s   selfs   lineno(   s   self(    (    s%   /mit/python/lib/python2.2/tabnanny.pys
   get_lineno5 s   c    s   7 8 |  i Sd  S(   N(   s   selfs   msg(   s   self(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   get_msg7 s   c    s   9 : |  i Sd  S(   N(   s   selfs   line(   s   self(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   get_line9 s   (   s   __init__s
   get_linenos   get_msgs   get_line(    (    (    s%   /mit/python/lib/python2.2/tabnanny.pys   NannyNag2 s   c 	   s­  < = t  i i |  ƒ o t  i i |  ƒ o¿ > t o ? d |  GHn @ t  i |  ƒ } A x� | DA ]v } B t  i i	 |  | ƒ } C t  i i | ƒ o t  i i | ƒ p t  i i | d ƒ d j o F t | ƒ n qd WG d  Sn I y J t |  ƒ } Wn= K t j
 o. } L t d |  t | ƒ f ƒ M d  Sn XO t d j o P d G|  Gd GHn R y S t t i | i ƒ ƒ WnU t i j
 o. } V t d |  t | ƒ f ƒ W d  SnÆ Y t j
 o¶ } Z | i ƒ  } [ | i ƒ  } \ t o2 ] d	 |  | f GH_ d
 G| GH` | i ƒ  GHnM b d |  j o b d |  d }  n c t o c |  GHn d |  G| G| GHe d  Sn Xg t o h d |  GHn d  S(   Ns   %s: listing directoryiýÿÿÿs   .pys   %s: I/O Error: %si   s   checkings   ...s   %s: Token Error: %ss)   %s: *** Line %d: trouble in tab city! ***s   offending line:s    s   "s   %s: Clean bill of health.(    s   oss   paths   isdirs   files   islinks   verboses   listdirs   namess   names   joins   fullnames   normcases   checks   opens   fs   IOErrors   msgs   errprints   strs   process_tokenss   tokenizes   generate_tokenss   readlines
   TokenErrors   NannyNags   nags
   get_linenos   badlines   get_lines   lines   get_msgs   filename_only(	   s   files   names   fs   lines   nags   badlines   namess   msgs   fullname(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   check< sJ   *

 	G
 
 
s
   Whitespacec      sh   j l d \ Z  Z � d „  Z š d „  Z ž d „  Z µ d „  Z ¼ d „  Z Ô d „  Z å d „  Z RS(	   Ns    	c 	   sd  � ‚ | |  _ ƒ t i t i f \ } } „ g  } … d } } } † xÎ |  i D† ]À } ‡ | | j o ˆ | d } ‰ | d } n� Š | | j ox ‹ | d } Œ | d } � | t | ƒ j o& Ž | d g | t | ƒ d } n � | | d | | <� d } n ’ PqQ W“ | |  _ ” | |  _	 • t | ƒ | f |  _ – t | ƒ d j |  _ d  S(   Ni    i   (   s   wss   selfs   raws
   Whitespaces   Ss   Ts   counts   bs   ns   nts   chs   lens   tuples   norms	   is_simple(	   s   selfs   wss   counts   bs   ns   Ss   chs   Ts   nt(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   __init__� s*   	 	&c    s3   š › |  i \ } } œ t t | ƒ d | ƒ Sd  S(   Ni   (   s   selfs   norms   counts   trailings   maxs   len(   s   selfs   counts   trailing(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   longest_run_of_spacesš s   c    sw   ž ­ |  i \ } } ® d } ¯ x9 t | t | ƒ ƒ D¯ ] } ° | | | | | } q7 W± | | | |  i	 Sd  S(   Ni    (
   s   selfs   norms   counts   trailings   ils   ranges   tabsizes   lens   is   nt(   s   selfs   tabsizes   counts   is   trailings   il(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   indent_levelž s   	 	c    s   µ ¶ |  i | i j Sd  S(   N(   s   selfs   norms   other(   s   selfs   other(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   equalµ s   c    s±   ¼ ½ t  |  i ƒ  ¾ | i ƒ  ƒ d } ¿ g  } À xo t d | d ƒ DÀ ]W } Á |  i | ƒ | i | ƒ j o/ Â | i	 | |  i | ƒ | i | ƒ f ƒ n qH WÅ | Sd  S(   Ni   (
   s   maxs   selfs   longest_run_of_spacess   others   ns   as   ranges   tss   indent_levels   append(   s   selfs   others   as   tss   n(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   not_equal_witness¼ s   	 	"3c    sÓ   Ô Õ |  i | i j o Ö d Sn × |  i o | i o Ø |  i | i j Sn Ù t |  i ƒ  Ú | i ƒ  ƒ d } Ü xK t d | d ƒ DÜ ]3 } Ý |  i	 | ƒ | i	 | ƒ j o Þ d Sn qŽ Wß d Sd  S(   Ni    i   i   (
   s   selfs   ns   others	   is_simples   nts   maxs   longest_run_of_spacess   ranges   tss   indent_level(   s   selfs   others   tss   n(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   lessÔ s    	"c    s±   å æ t  |  i ƒ  ç | i ƒ  ƒ d } è g  } é xo t d | d ƒ Dé ]W } ê |  i | ƒ | i | ƒ j o/ ë | i	 | |  i | ƒ | i | ƒ f ƒ n qH Wî | Sd  S(   Ni   (
   s   maxs   selfs   longest_run_of_spacess   others   ns   as   ranges   tss   indent_levels   append(   s   selfs   others   as   tss   n(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   not_less_witnesså s   	 	"3(	   s   Ss   Ts   __init__s   longest_run_of_spacess   indent_levels   equals   not_equal_witnesss   lesss   not_less_witness(    (    (    s%   /mit/python/lib/python2.2/tabnanny.pys
   Whitespacej s   c    ss   ð ñ d  k  } ò t d „  |  ƒ } ó d } ô t |  ƒ d j o õ | d } n ö | d | i | d ƒ Sd  S(   Nc    s   ò t  |  d ƒ S(   Ni    (   s   strs   tup(   s   tup(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   <lambda>ò s    s   at tab sizei   s   ss    s   , (   s   strings   maps   ws   firstss   prefixs   lens   join(   s   ws   prefixs   strings   firsts(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   format_witnessesð s   	c    sð  ø ù t  i } ú t  i } û t  i } ü t  i t  i f } ý t d ƒ g } þ d }  x�|  D ]„\ } } } } } | | j o d } nS	| | j oŠ 
d } t | ƒ } | d i | ƒ oF | d i | ƒ }	 d t |	 ƒ }
 t | d |
 | ƒ ‚ n | i | ƒ n¹ | | j o d } | d =n’  | o
 | | j oz 'd } (t | ƒ } )| d i | ƒ oF *| d i | ƒ }	 +d t |	 ƒ }
 ,t | d |
 | ƒ ‚ n n qa Wd  S(   Ns    i    i   iÿÿÿÿs   indent not greater e.g. s   indent not equal e.g. (   s   tokenizes   INDENTs   DEDENTs   NEWLINEs   COMMENTs   NLs   JUNKs
   Whitespaces   indentss   check_equals   tokenss   types   tokens   starts   ends   lines   thisguys   lesss   not_less_witnesss   witnesss   format_witnessess   msgs   NannyNags   appends   equals   not_equal_witness(   s   tokenss   DEDENTs   JUNKs   INDENTs   thisguys   NEWLINEs   indentss   starts   tokens   witnesss   msgs   ends   lines   types   check_equal(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   process_tokensø s8   	
 	
		s   __main__(   s   __doc__s   __version__s   oss   syss   getopts   tokenizes   hasattrs
   ValueErrors   __all__s   verboses   filename_onlys   errprints   mains   NannyNags   checks
   Whitespaces   format_witnessess   process_tokenss   __name__(   s   mains
   Whitespaces   __all__s   process_tokenss   format_witnessess   checks   syss   NannyNags   tokenizes   getopts   errprints   __version__s   os(    (    s%   /mit/python/lib/python2.2/tabnanny.pys   ? s&   			
.†7