Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ;¤êalã@sdZdZdZddlZdd„Zddd d d d d ddddddddddddddddddd d!d"d#d$d%gZd&Zd'Zeed(d)ƒd*eed(d+ƒZd,Zd-jej ƒƒZeed(d)ƒd*eed(d+ƒZ d.Z e d/d*jeƒd0e Z ed*e d*e d*eZ eje ƒZd1ZejeƒZd6d2d3„Zd4d5„ZdS)7z3.3.0a| Module to analyze Python source code; for syntax coloring tools. Interface:: tags = fontify(pytext, searchfrom, searchto) - The 'pytext' argument is a string containing Python source code. - The (optional) arguments 'searchfrom' and 'searchto' may contain a slice in pytext. - The returned value is a list of tuples, formatted like this:: [('keyword', 0, 6, None), ('keyword', 11, 17, None), ('comment', 23, 53, None), etc. ] - The tuple contents are always like this:: (tag, startindex, endindex, sublist) - tag is one of 'keyword', 'string', 'comment' or 'identifier' - sublist is not used, hence always None. z0.4éNcCs|j|j|ƒƒS)N)ÚjoinÚsplit)ÚsrcÚsepÚrep©rú8/tmp/tmp4i9tl1d3/lib64/python/reportlab/lib/PyFontify.pyÚreplace(sr ÚasÚassertÚexecÚdelÚfromÚlambdaÚreturnÚandÚelifÚglobalÚnotÚtryÚbreakÚelseÚifÚorÚwhileÚclassÚexceptÚimportÚpassÚcontinueÚfinallyÚinÚprintÚdefÚforÚisÚraiseÚyieldÚwithz#[^\n]*z$q[^\\q\n]*(\\[\000-\377][^\\q\n]*)*qÚqú'ú|ú"a qqq [^\\q]* ( ( \\[\000-\377] | q ( \\[\000-\377] | [^\q] | q ( \\[\000-\377] | [^\\q] ) ) ) [^\\q]* )* qqq Úz(^|[^a-zA-Z0-9_.\"'])ú(ú)z[ ]*[A-Za-z_][A-Za-z_0-9.]*cCs^|dkrt|ƒ}tj}tj}g}|j}d}d}d} d} d} |} �x||| ƒ} | dkrVP| jƒ} | |krhP| jdƒ}| t|ƒ} |d}|dk�r*| |kr®|dd …}| d} n |dd …}| d} || | | dfƒ|d k�rV||| ƒ} | dk �rV| jƒ} | | k�rV| jdƒ}| t|ƒ} || | | dfƒqB|d k�rF||| | dfƒqB||| | dfƒqBW|S)NÚcommentÚstringÚkeywordÚ identifierrz#'"ér#rú#éÿÿÿÿr6)r#r)ÚlenÚmatchREÚsearchÚidREÚappendÚstartÚgroup)ZpytextZ searchfromZsearchtor9ZidSearchÚtagsZ tags_appendZ commentTagZ stringTagZ keywordTagZ identifierTagr<ÚendÚmÚmatchÚcrrrÚfontifydsR              rCcCsPt|ƒ}|jƒ}|jƒt|ƒ}x*|D]"\}}}}t|t|||…ƒƒq&WdS)N)ÚopenÚreadÚcloserCr"Úrepr)ÚpathÚfÚtextr>Útagr<r?ZsublistrrrÚtest›s rL)rN)Ú __version__Ú__doc__Úrer Z keywordsListZ commentPatÚpatZquotePatrrZtripleQuotePatZ nonKeyPatZkeyPatZmatchPatÚcompiler8ZidKeyPatr:rCrLrrrrÚs4      7