?PNG  IHDR ? f ??C1 sRGB ?? gAMA ? a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Jcl@s< dZdZdZdZddkZddklZddkZddk Z ddk Z ddk Z ddk Z ddk Zddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjgdZe idkdljoeZe iZeZneZe iZe o dmZneZdnZdoefdpYZe oeieiZnei ei!Zei"Z#e#dqZ$ee#Z%drZ&dsi'gZ(ei)D]!Z*e*ei+jo e(e*nq[(Z,de-fdtYZ.d e.fduYZ/d"e.fdvYZ0d$e0fdwYZ1d'e-fdxYZ2dyefdzYZ3d#efd{YZ4d|Z5d}Z6d~Z7dZ8dZ9dZ:dZ;d%efdYZ<d-e<fdYZ=de=fdYZ>de=fdYZ?de=fdYZ@e@ZAde=fdYZBd e@fdYZCdeBfdYZDd1e=fdYZEd(e=fdYZFd&e=fdYZGd e=fdYZHd0e=fdYZIde=fdYZJdeJfdYZKdeJfdYZLdeJfdYZMd+eJfdYZNd*eJfdYZOd3eJfdYZPd2eJfdYZQd!e<fdYZRdeRfdYZSdeRfdYZTdeRfdYZUd eRfdYZVde<fdYZWdeWfdYZXdeWfdYZYd4eWfdYZZdeWfdYZ[defdYZ\e\Z]deWfdYZ^d)eWfdYZ_deWfdYZ`de`fdYZad.eWfdYZbd/ebfdYZcd ebfdYZddebfdYZed ebfdYZfd,ebfdYZgdefdYZhdZidedZjdZkdZldZmdZndZoeedZpdZqe>irdEZseLirdMZteMirdLZueNirdeZveOirddZweEe&dddlixdZydsi'gZze,D]Z*e*djo eze*nq7[zZ{edege&deEe$ixdZ|edege&eEddixdZ}eye|Be}BeEe{ddBZ~eee~egde~Ze@de^dideee[ee~BiddZdZdZdZdZdZdZdZdZdZdZdZdZdZee_eZee_ee_dZeFdirdZeFdirdZeFdirdZedeAdeiZddeedZedZedZedZeeEee%d\ZZedeAdepdiddZeedidZdZeFdirdZeFdZeFdiZeFdirdZeFdirdZeZeFdirdZdsi'gZe,D]Z*e*djo ee*nqd [Zede[eEee^eEde@deMiirdZeje^eeBddsird<Zedjo.dZeCdZeCdZeEee%dZejeddeixeZeeejeZejeddeixeZeeejeZedeBideeidZededededededed ed ed ed ed ndS(so pyparsing module - Classes and methods to define and execute parsing grammars The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. With pyparsing, you don't need to learn a new syntax for defining grammars or matching expressions - the parsing module provides a library of classes that you use to construct the grammar directly in Python. Here is a program to parse "Hello, World!" (or any greeting of the form ", !"):: from pyparsing import Word, alphas # define grammar of a greeting greet = Word( alphas ) + "," + Word( alphas ) + "!" hello = "Hello, World!" print hello, "->", greet.parseString( hello ) The program outputs the following:: Hello, World! -> ['Hello', ',', 'World', '!'] The Python representation of the grammar is quite readable, owing to the self-explanatory class names, and the use of '+', '|' and '^' operators. The parsed results returned from parseString() can be accessed as a nested list, a dictionary, or an object with named attributes. The pyparsing module handles some of the problems that are typically vexing when writing text parsers: - extra or missing whitespace (the above program will also handle "Hello,World!", "Hello , World !", etc.) - quoted strings - embedded comments s1.5.0s28 May 2008 10:05s*Paul McGuire iN(treftAndtCaselessKeywordtCaselessLiteralt CharsNotIntCombinetDicttEachtEmptyt FollowedBytForwardt GoToColumntGrouptKeywordtLineEndt LineStarttLiteralt MatchFirsttNoMatchtNotAnyt OneOrMoretOnlyOncetOptionaltOrtParseBaseExceptiontParseElementEnhancetParseExceptiontParseExpressiontParseFatalExceptiont ParseResultstParseSyntaxExceptiont ParserElementt QuotedStringtRecursiveGrammarExceptiontRegextSkipTot StringEndt StringStarttSuppresstTokentTokenConvertertUpcasetWhitetWordtWordEndt WordStartt ZeroOrMoret alphanumstalphast alphas8bitt anyCloseTagt anyOpenTagt cStyleCommenttcoltcommaSeparatedListtcommonHTMLEntityt countedArraytcppStyleCommenttdblQuotedStringtdblSlashCommentt delimitedListtdictOftdowncaseTokenstemptytgetTokensEndLocthexnumst htmlCommenttjavaStyleCommenttkeepOriginalTexttlinetlineEndt lineStarttlinenot makeHTMLTagst makeXMLTagstmatchOnlyAtColtmatchPreviousExprtmatchPreviousLiteralt nestedExprtnullDebugActiontnumstoneOftopAssoctoperatorPrecedencet printablestpunc8bittpythonStyleCommentt quotedStringt removeQuotestreplaceHTMLEntityt replaceWitht restOfLinetsglQuotedStringtsranget stringEndt stringStartttraceParseActiont unicodeStringt upcaseTokenst withAttributet indentedBlockiicCs/yt|SWntj ot|SXdS(sDrop-in replacement for str(obj) that tries to be Unicode friendly. It first tries str(obj). If that fails with a UnicodeEncodeError, then it tries unicode(obj). It then < returns the unicode object | encodes it with the default encoding | ... >. N(tstrtUnicodeEncodeErrortunicode(tobj((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt_ustrlscCs+tg}|D]}||dfq~S(Ni(tdict(tstrgt_[1]tc((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt _str2dictst _ConstantscBseZRS((t__name__t __module__(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRost ABCDEFabcdefs\tcBsMeZdZd Zdd d dZdZdZd Zd d Z RS(s7base exception class for all parsing runtime exceptionstloctmsgtpstrt parserElementicCsK||_|djo||_d|_n||_||_||_dS(NRs(RttNoneRuRvRw(tselfRvRtRutelem((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__init__s      cCss|djot|i|iS|djot|i|iS|djot|i|iSt|dS(ssupported attributes by name are: - lineno - returns the line number of the exception text - col - returns the column number of the exception text - line - returns the line containing the exception text RHR5tcolumnREN(scolscolumn(RHRtRvR5REtAttributeError(Rytaname((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt __getattr__s   cCs d|i|i|i|ifS(Ns"%s (at char %d), (line:%d, col:%d)(RuRtRHR|(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__str__scCs t|S(N(Ri(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__repr__ss>!) t __toklistt __tokdictt__doinitt__namet__parentt __accumNamest __weakref__cCs1t||o|Sti|}t|_|S(N(t isinstancetobjectt__new__tTruet_ParseResults__doinit(tclsttoklisttnametasListtmodaltretobj((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs  cCs|io^t|_d|_d|_h|_t|to||_n |g|_t |_ n|o|pd|i|sii( RRRRRRRRRRtupdate( RyRt addoffsett otheritemsRlRtvlistRtotherdictitems((Rs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__iadd__s J  cCs dt|it|ifS(Ns(%s, %s)(RRR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRscCspd}d}xS|iD]H}t|to||t|7}n||t|7}d}qW|d7}|S(Nt[Rss, t](RRRRiR(RytouttsepR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs   RscCstg}xg|iD]\}|o|o|i|nt|to||i7}q|it|qW|S(N(RtappendRRt _asStringListRi(RyRRtitem((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs cCsRg}xE|iD]:}t|to|i|iq|i|qW|S(sXReturns the parse results as a nested list of matching tokens, all converted to strings.(RRRRR(RyRtres((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs cCst|iS(s.Returns the named parse results as dictionary.(RjR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytasDictscCsPt|i}|ii|_|i|_|ii|i|i|_|S(s,Returns a new copy of a ParseResults object.(RRRRRRRR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs   c Cs7d}g}tg}|iiD]*\}} | D]} || d|fq3q#~} |d} |pd}d} d}nd } |d j o |} n|io |i} n| p|odSd} n|||d| dg7}|i}xt|D] \}}t|toq|| jo4||i | ||o |d j| |g7}q ||i d |o |d j| |g7}qd }|| jo| |}n|p|oqqd}nt i i i t|}||| d|d|d|dg 7}qW|||d| dg7}di|S( shReturns the parse results as XML. Tags are created for tokens and lists that have defined results names.s is RstITEMts} for more information on parsing strings containing s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string. s ii(Rtrfind(RtRk((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR5Vs cCs|idd|dS(sReturns current line number within a string, counting newlines as line separators. The first line is number 1. Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See L{I{ParserElement.parseString}} for more information on parsing strings containing s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string. s ii(tcount(RtRk((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRHbs cCsT|idd|}|id|}|djo||d|!S||dSdS(sfReturns the line of text containing loc within a string, counting newlines as line separators. s iiN(R tfind(RtRktlastCRtnextCR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyREns  cCsAdt|dt|dt||t||fGHdS(NsMatch s at loc s(%d,%d)(RiRHR5(tinstringRttexpr((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt_defaultStartDebugActionxscCs'dt|dt|iGHdS(NsMatched s -> (RiReR(RtstartloctendlocRttoks((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt_defaultSuccessDebugAction{scCsdt|GHdS(NsException raised:(Ri(RRtRtexc((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt_defaultExceptionDebugAction~scGsdS(sG'Do-nothing' debug action, to suppress debugging output during parsing.N((targs((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyROscBsleZdZdZdZeeZedZdZdZ edZ e dZ dZ ee Z d Zd Zd Zd Zd Ze dZdZe e dZdZe e dZeZhZdZeeZeZdZeeZedZedZdZ edZ!dZ"dZ#dZ$dZ%dZ&dZ'dZ(d Z)d!Z*d"Z+d#Z,d$Z-d%Z.d&Z/d'Z0d(Z1d)Z2d*Z3d+Z4d,Z5e d-Z6d.Z7d/Z8d0Z9d1Z:gd2Z;d3Z<d4Z=d5Z>d6Z?d7Z@d8ZARS(9s)Abstract base level parser element class.s cCs |t_dS(s/Overrides the default whitespace chars N(RtDEFAULT_WHITE_CHARS(tchars((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetDefaultWhitespaceCharsscCst|_d|_d|_d|_||_t|_t i |_ t|_ t |_t |_t|_t |_t |_t|_d|_t|_d|_d|_t|_t |_dS(NRs(NNN(Rt parseActionRxt failActiontstrReprt resultsNamet saveAsListRtskipWhitespaceRRt whiteCharstcopyDefaultWhiteCharsRtmayReturnEmptytkeepTabst ignoreExprstdebugt streamlinedt mayIndexErrorterrmsgt modalResultst debugActionstret callPreparset callDuringTry(Rytsavelist((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s(                   cCsGti|}|i|_|i|_|ioti|_n|S(sMake a copy of this ParserElement. Useful for defining different parse actions for the same parsing pattern, using copies of the original parse element.(RRR%R"RRR!(Rytcpy((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs    cCs@||_d|i|_t|do|i|i_n|S(s6Define name for this expression, for use in debugging.s Expected t exception(RR)thasattrR1Ru(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetNames  cCs#|i}||_| |_|S(s\Define name for referencing matching tokens as a nested attribute of the returned parse results. NOTE: this returns a *copy* of the original ParserElement object; this is so that the client can define a basic element, such as an integer, and reference it in multiple places with different names. (RRR*(RyRtlistAllMatchestnewself((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetResultsNames   cse|o4|ittfd}|_||_n't|ido|ii|_n|S(sMethod to invoke the Python pdb debugger when this element is about to be parsed. Set breakFlag to True to enable, False to disable. cs-ddk}|i||||dS(Ni(tpdbt set_trace(RRtt doActionst callPreParseR7(t _parseMethod(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytbreakers  t_originalParseMethod(t_parseRR=R2(Ryt breakFlagR<((R;s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetBreaks   cs d}yd }tto}intp i}n i}|i|@oS|i}tp"t do|d8}qnt do|d8}n|o |nWnEt j o9ytpi i i}n i }|i|@oS|i}tp%t i do|d8}qdn"t i do|d8}nWq t j otpi i}n i i }|i|@oS|i}tp%t i do|d8}qqt i do|d8}qq XnX|djoS|djofd}n|djofd }n0|djofd }nfd }yi|_Wnt tfj onXyi|_Wnt tfj onXy|iiiWnt tfj onX|Sd S( sInternal method used to decorate parse actions that take fewer than 3 arguments, so that all parse actions can be called as f(s,l,t).itim_selfit__self__iicsii|||S(N(t__call__RB(tstltt(tf(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyttmpsics ||S(N((RDRERF(RG(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRHscs |S(N((RDRERF(RG(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRHscsS(N((RDRERF(RG(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRH sN(RxRttypeR{t_PY3Kt func_codetcodetco_flagst co_argcountR2R}RCtim_funct__code__RpRRt__dict__R(RGt STAR_ARGStrestoretcodeObjtnumargstcall_im_func_codetcall_func_codeRH((RGs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt_normalizeParseActionArgss            cOs?tt|it||_d|jo|d|_|S(sJDefine action to perform when successfully matching parse element definition. Parse action fn is a callable method with 0-3 arguments, called as fn(s,loc,toks), fn(loc,toks), fn(toks), or just fn(), where: - s = the original string being parsed (see note below) - loc = the location of the matching substring - toks = a list of the matched tokens, packaged as a ParseResults object If the functions in fns modify the tokens, they can return them as the return value from fn, and the modified list of tokens will replace the original. Otherwise, fn does not need to return any value. Note: the default parsing behavior is to expand tabs in the input string before starting the parsing process. See L{I{parseString}} for more information on parsing strings containing s, and suggested methods to maintain a consistent view of the parsed string, the parse location, and line and column positions within the parsed string. R.(RtmapRXRR.(Rytfnstkwargs((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetParseAction4s!cOsO|itt|it|7_|ipd|jo|d|_|S(saAdd parse action to expression's list of parse actions. See L{I{setParseAction}}.R.(RRRYRXR.(RyRZR[((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytaddParseActionIs'$cCs ||_|S(sDefine action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments fn(s,loc,expr,err) where: - s = string being parsed - loc = location where expression match was attempted and failed - expr = the parse expression that failed - err = the exception thrown The function returns no value. It may throw ParseFatalException if it is desired to stop parsing immediately.(R(Rytfn((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt setFailActionOs cCsqt}xd|o\t}xO|iD]D}y(x!|i||\}}t}q,Wq tj oq Xq Wq W|S(N(RRR%R>R(RyRRtt exprsFoundtetdummy((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt_skipIgnorables\s  cCsw|io|i||}n|ioI|i}t|}x1||jo|||jo|d7}qBWn|S(Ni(R%RcR R!R(RyRRttwttinstrlen((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytpreParseis    cCs |gfS(N((RyRRtR9((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt parseImpluscCs|S(N((RyRRtt tokenlist((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt postParsexsc Cs|i}|p |io"|ido|id|||n|o |io|i||}n|}|}yWy|i|||\}}Wn1tj o%t|t||i |nXWqt j o\} |ido|id|||| n|io|i|||| nqXn|o |io|i||}n|}|}|i p|t|joWy|i|||\}}Wqtj o%t|t||i |qXn|i|||\}}|i |||}t ||id|id|i} |ioM|p |io<|oyuxn|iD]c} | ||| }|dj o>t ||id|iot|t tfd|i} qfqfWWqt j o8} |ido|id|||| nqXqxr|iD]c} | ||| }|dj o>t ||id|iot|t tfd|i} q#q#Wn|o3|ido!|id||||| qn|| fS(NiiRRi(R&RR+R-RfRgt IndexErrorRRR)RR(RiRRRR*RR.RxRR( RyRRtR9R:t debuggingtpreloct tokensStartttokensterrt retTokensR^((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt _parseNoCache|st '  '$       %cCsPy|i||dtdSWn+tj ot|||i|nXdS(NR9i(R>RRRR)(RyRRt((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyttryParsescCs|||||f}|tijo,ti|}t|to |n|SyA|i||||}|d|difti|<|SWn%tj o}|ti|<nXdS(Nii(Rt _exprArgCacheRt ExceptionRqRR(RyRRtR9R:tlookupRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt _parseCaches  ! cCstiidS(N(RRstclear(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt resetCachescCs'tiptt_tit_ndS(sEnables "packrat" parsing, which adds memoizing to the parsing logic. Repeated parse attempts at the same string location (which happens often in many complex grammars) can immediately return a cached value, instead of re-executing parsing/validating code. Memoizing is done of both valid results and parsing exceptions. This speedup may break existing programs that use parse actions that have side-effects. For this reason, packrat parsing is disabled when you first import pyparsing. To activate the packrat feature, your program must call the class method ParserElement.enablePackrat(). If your program uses psyco to "compile as you go", you must call enablePackrat before calling psyco.full(). If you do not do this, Python will crash. For best results, call enablePackrat() immediately after importing pyparsing. N(Rt_packratEnabledRRvR>(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt enablePackrats  cCsti|ip|inx|iD]}|iq,W|ip|i}n|i|d\}}|oti||n|S(sExecute the parse expression with the given string. This is the main interface to the client code, once the complete expression has been built. If you want the grammar to require that the entire input string be successfully parsed, then set parseAll to True (equivalent to ending the grammar with StringEnd()). Note: parseString implicitly calls expandtabs() on the input string, in order to report proper column numbers in parse actions. If the input string contains tabs and the grammar uses parse actions that use the loc argument to index into the string being parsed, you can ensure you have a consistent view of the input string by: - calling parseWithTabs on your grammar before calling parseString (see L{I{parseWithTabs}}) - define your parse action using the full (s,loc,toks) signature, and reference the input string using the parse action's s argument - explictly expand the tabs in your input string before calling parseString i( RRxR't streamlineR%R$t expandtabsR>R$(RyRtparseAllRaRtRn((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt parseStrings    c cs|ip|inx|iD]}|iq"W|ipt|i}nt|}d}|i}|i}t i d}x||jo}||jopy.|||} ||| dt \} } Wnt j o| d}qX|d7}| | | fV| }qWdS(sScan the input string for expression matches. Each match will return the matching tokens, start location, and end location. May be called with optional maxMatches argument, to clip scanning after 'n' matches are found. Note that the start and end locations are reported relative to the string being parsed. See L{I{parseString}} for more information on parsing strings with embedded tabs.iR:iN( R'R{R%R$RiR|RRfR>RRxRR( RyRt maxMatchesRaReRtt preparseFntparseFntmatchesRltnextLocRn((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt scanStrings.        cCsg}d}t|_x|i|D]\}}}|i|||!|oSt|to||i7}qt|to||7}q|i|n|}q%W|i||dit t |S(sExtension to scanString, to modify matching text with modified tokens that may be returned from a parse action. To use transformString, define a grammar and attach a parse action to it that modifies the returned token list. Invoking transformString() on a target string will then scan for matches, and replace the matched text patterns according to the logic in the parse action. transformString() returns the resulting transformed string.iRs( RR$RRRRRRRRYRi(RyRRtlastERFRDRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyttransformString=s  cCs:tg}|i||D]\}}}||q~S(sAnother extension to scanString, simplifying the access to the tokens found to match the given parse expression. May be called with optional maxMatches argument, to clip searching after 'n' matches are found. (RR(RyRRRlRFRDRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt searchStringVscCset|tot|}nt|tp%tidt|tdddSt ||gS(s*Implementation of + operator - returns Ands4Cannot combine element of type %s with ParserElementt stackleveliN( RRRRtwarningstwarnRIt SyntaxWarningRxR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR]s cCs]t|tot|}nt|tp%tidt|tdddS||S(sEImplementation of + operator when left operand is not a ParserElements4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRx(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__radd__gs cCsnt|tot|}nt|tp%tidt|tdddSt |t i |gS(s9Implementation of - operator, returns And with error stops4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRxRt _ErrorStop(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__sub__qs cCs]t|tot|}nt|tp%tidt|tdddS||S(sEImplementation of - operator when left operand is not a ParserElements4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRx(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__rsub__{s cst|to|d}}nt|toot|djo d }n(t|djo|ddf}nt|djo|ddjod|df}nt|dtoc|ddjoR|ddjo tS|ddjo tS|dtSqt|dto.t|dto|\}}||8}qtdt|dt|dqtdntdt||djot dn|djot dn||jo djnot d n|okfd |oB|djo|}qt g||}q|}n+|djo }nt g|}|S( Niiis7cannot multiply 'ParserElement' and ('%s','%s') objectss>can only multiply 'ParserElement' and int or (int,int) objectss0cannot multiply 'ParserElement' and '%s' objectss/cannot multiply ParserElement by negative values@second tuple value must be greater or equal to first tuple values+cannot multiply ParserElement by 0 or (0,0)cs4|djot|dStSdS(Ni(R(tn(RytmakeOptionalList(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs (NN( RRttupleRRxR.RRRIt ValueErrorR(RyRt minElementst optElementsR((RyRs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__mul__sN %  ( *   !  cCs |i|S(N(R(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__rmul__scCset|tot|}nt|tp%tidt|tdddSt ||gS(s1Implementation of | operator - returns MatchFirsts4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRxR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__or__s cCs]t|tot|}nt|tp%tidt|tdddS||BS(sEImplementation of | operator when left operand is not a ParserElements4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRx(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__ror__s cCset|tot|}nt|tp%tidt|tdddSt ||gS(s)Implementation of ^ operator - returns Ors4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRxR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__xor__s cCs]t|tot|}nt|tp%tidt|tdddS||AS(sEImplementation of ^ operator when left operand is not a ParserElements4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRx(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__rxor__s cCset|tot|}nt|tp%tidt|tdddSt ||gS(s+Implementation of & operator - returns Eachs4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRxR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__and__s cCs]t|tot|}nt|tp%tidt|tdddS||@S(sEImplementation of & operator when left operand is not a ParserElements4Cannot combine element of type %s with ParserElementRiN( RRRRRRRIRRx(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__rand__s cCs t|S(s-Implementation of ~ operator - returns NotAny(R(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt __invert__scCs |i|S(sShortcut for setResultsName, with listAllMatches=default:: userdata = Word(alphas).setResultsName("name") + Word(nums+"-").setResultsName("socsecno") could be written as:: userdata = Word(alphas)("name") + Word(nums+"-")("socsecno") (R6(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRCscCs t|S(sSuppresses the output of this ParserElement; useful to keep punctuation from cluttering up returned output. (R&(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsuppressscCs t|_|S(sDisables the skipping of whitespace before matching the characters in the ParserElement's defined pattern. This is normally only used internally by the pyparsing module, but may be needed in some whitespace-sensitive grammars. (RR (Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytleaveWhitespace s cCst|_||_t|_|S(s/Overrides the default whitespace chars (RR R!RR"(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetWhitespaceCharss   cCs t|_|S(sOverrides default behavior to expand s to spaces before parsing the input string. Must be called before parseString when the input grammar contains elements that match characters.(RR$(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt parseWithTabss cCsRt|to(||ijo|ii|qNn|iit||S(sDefine expression to be ignored (e.g., comments) while doing pattern matching; may be called repeatedly, to define multiple comment or other ignorable patterns. (RR&R%R(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytignore$s cCs4|pt|pt|ptf|_t|_|S(sBEnable display of debugging messages while doing pattern matching.(RRRR+RR&(Ryt startActiont successActiontexceptionAction((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetDebugActions0s    cCs+|o|itttn t|_|S(s{Enable display of debugging messages while doing pattern matching. Set flag to True to enable, False to disable.(RRRRRR&(Rytflag((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetDebug8s cCs|iS(N(R(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRAscCs t|S(N(Ri(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRDscCst|_d|_|S(N(RR'RxR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{Gs  cCsdS(N((RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytcheckRecursionLscCs|igdS(sXCheck defined expressions for valid structure, check for infinite recursive definitions.N(R(Ryt validateTrace((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytvalidateOscCsXy|i}Wn8tj o,t|d}|i}|inX|i|S(sExecute the parse expression on the given file or filename. If a filename is specified (instead of a file object), the entire file is opened, read, and closed before parsing. trb(treadR}topentcloseR~(Rytfile_or_filenamet file_contentsRG((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt parseFileSs cCstdd|i|S(NRsi(RR)(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt getException`scCs9|djo|i|_}|Std|dS(Nt myExceptionsno such attribute (RRR}(RyR~R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRcs cCsdt|to=y"|tit|tSWq`tj otSXntt ||jSdS(N( RRR$R~RiRRRtsuperR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__eq__js cCstt|S(N(thashtid(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__hash__tscCs ||jS(N((RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__req__ws(BRpRqRRRt staticmethodRR{RR3R6RR@RXR\R]R_RcRfRgRiRqRrRvR>RsRxRyRzR~t_MAX_INTRRRRRRRRRRRRRRRRRCRRRRRRRRRR{RRRRRRRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs      \     H      #   7                cBs eZdZdZdZRS(sGAbstract ParserElement subclass, for defining atomic matching patterns.cCstt|idtdS(NR/(RR'R{R(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{}scCs,tt|i|}d|i|_|S(Ns Expected (RR'R3RR)(RyRRD((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR3s(RpRqRR{R3(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR'{s cBseZdZdZRS(s"An empty token, will always match.cCs2tt|id|_t|_t|_dS(NR(RRR{RRR#RR((Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s  (RpRqRR{(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRscBs#eZdZdZedZRS(sA token that will never match.cCs;tt|id|_t|_t|_d|_dS(NRsUnmatchable token( RRR{RRR#RR(R)(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s    cCs%|i}||_||_|dS(N(RRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs   (RpRqRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs cBs#eZdZdZedZRS(s*Token to exactly match a specified string.cCstt|i||_t||_y|d|_Wn2tj o&ti dt ddt |_ nXdt |i|_d|i|_t|_t|_dS(Nis2null string passed to Literal; use Empty() insteadRis"%s"s Expected (RRR{tmatchRtmatchLentfirstMatchCharRjRRRRt __class__RiRR)RR#R((Ryt matchString((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s    cCst|||ijo;|idjp|i|i|o||i|ifS|i}||_||_|dS(Ni(RRt startswithRRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs&   (RpRqRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs cBsQeZdZedZeedZedZdZ dZ e e Z RS(sjToken to exactly match a specified string as a keyword, that is, it must be immediately followed by a non-keyword character. Compare with Literal:: Literal("if") will match the leading 'if' in 'ifAndOnlyIf'. Keyword("if") will not; it will only match the leading 'if in 'if x=1', or 'if(y==2)' Accepts two optional constructor arguments in addition to the keyword string: identChars is a string of characters that would be valid identifier characters, defaulting to all alphanumerics + "_" and "$"; caseless allows case-insensitive matching, default is False. s_$cCstt|i||_t||_y|d|_Wn)tj oti dt ddnXd|i|_ d|i |_ t |_t |_||_|o|i|_|i}nt||_dS(Nis2null string passed to Keyword; use Empty() insteadRis"%s"s Expected (RR R{RRRRRjRRRRR)RR#R(tcaselesstuppert caselessmatchRnt identChars(RyRRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s"     cCs{|io||||i!i|ijo{|t||ijp!|||ii|ijo@|djp||di|ijo||i|ifSn|||ijo|idjp|i|i|oo|t||ijp|||i|ijo:|djp||d|ijo||i|ifS|i }||_ ||_ |dS(Nii( RRRRRRRRRRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs $;+&5%   cCs%tt|i}ti|_|S(N(RR RtDEFAULT_KEYWORD_CHARSR(RyRm((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs cCs |t_dS(s,Overrides the default Keyword chars N(R R(R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytsetDefaultKeywordCharss( RpRqRR/RRR{RRgRRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s     cBs#eZdZdZedZRS(sToken to match a specified string, ignoring case of letters. Note: the matched results will always be in the case of the given match string, NOT the case of the input text. cCsItt|i|i||_d|i|_d|i|_dS(Ns'%s's Expected (RRR{Rt returnStringRR)(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s cCs^||||i!i|ijo||i|ifS|i}||_||_|dS(N(RRRRRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs $   (RpRqRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs cBs#eZeidZedZRS(cCs#tt|i||dtdS(NR(RRR{R(RyRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{scCs||||i!i|ijoP|t||ijp!|||ii|ijo||i|ifS|i}||_||_|dS(N( RRRRRRRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs$;   (RpRqR RR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRscBs;eZdZddddedZedZdZRS(sToken for matching words composed of allowed character sets. Defined with string containing all allowed initial characters, an optional string containing allowed body characters (if omitted, defaults to the initial character set), and an optional minimum, maximum, and/or exact length. The default value for min is 1 (a minimum value < 1 is not valid); the default values for max and exact are 0, meaning no maximum or exact length restriction. iicCs:tt|i||_t||_|o||_t||_n||_t||_|dj|_|djot dn||_ |djo ||_ n t |_ |djo||_ ||_ nt ||_d|i|_t|_||_d|i|ijo |djo|djo|djo|i|ijodt|i|_nht|idjo,dti|it|if|_n&dt|it|if|_|iod |id |_nyti|i|_Wq6d|_q6XndS( NiisZcannot specify a minimum length < 1; use Optional(Word()) if zero-length word is permitteds Expected t s[%s]+s%s[%s]*s [%s][%s]*s\b(RR+R{t initCharsOrigRnt initCharst bodyCharsOrigt bodyCharst maxSpecifiedRtminLentmaxLenRRiRR)RR(t asKeywordt_escapeRegexRangeCharstreStringRR,RtcompileRx(RyRRtmintmaxtexactR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{.sL             >  c Cs|io^|ii||}|p%|i}||_||_|n|i}||ifS|||ijo%|i}||_||_|n|}|d7}t|}|i }||i } t | |} x-|| jo|||jo|d7}qWt } |||i jo t} n|io(||jo|||jo t} n|ioN|djo||d|jp||jo|||jo t} qn| o%|i}||_||_|n||||!fS(Nii(R,RRRtRvtendtgroupRRRRRRRRRR( RyRRtR9tresultRtstartRet bodycharstmaxloctthrowException((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgasJ               (  @    cCsytt|iSWnnX|idjo_d}|i|ijo)d||i||if|_qd||i|_n|iS(NcSs(t|djo |d dS|SdS(Nis...(R(RD((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt charsAsStrs s W:(%s,%s)sW:(%s)(RR+RRRxRR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs )N( RpRqRRxRR{RRgR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR+%s3 -cBs/eZdZddZedZdZRS(sToken for matching strings that match a given regular expression. Defined with string specifying the regular expression in a form recognized by the inbuilt Python re module. icCstt|it|djotidtddn||_||_y+t i |i|i|_ |i|_ Wn3t i j o$tid|tddnXt||_d|i|_t|_t|_dS(sThe parameters pattern and flags are passed to the re.compile() function as-is. See the Python re module for an explanation of the acceptable patterns and flags.is0null string passed to Regex; use Empty() insteadRis$invalid pattern (%s) passed to Regexs Expected N(RR"R{RRRRtpatterntflagsR,RRt sre_constantsterrorRiRR)RR(RR#(RyRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s"      c Cs|ii||}|p%|i}||_||_|n|i}|i}t|i}|o#x |D]}|||| same as quoteChar) is$quoteChar cannot be the empty stringRis'endQuoteChar cannot be the empty strings %s(?:[^%s%s]Rss%s(?:[^%s\n\r%s]is|(?:s)|(?:is%s[^%s]t)s|(?:%s)s|(?:%s.)s(.)s)*%ss$invalid pattern (%s) passed to Regexs Expected N('RR R{RRRRRt SyntaxErrorRxt quoteChart quoteCharLentfirstQuoteChart endQuoteChartendQuoteCharLentescChartescQuotetunquoteResultsR,t MULTILINEtDOTALLRRRRRRtescCharReplacePatternRRRRRiRR)RR(RR#( RyRRRt multilineRRRlR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{sd             + 'x   cCs|||ijo|ii||pd}|p%|i}||_||_|n|i}|i}|i ox||i |i !}t |t oP|ioti|id|}n|io|i|i|i}qqn||fS(Ns\g<1>(RR,RRxRRtRvRRRRRRRRRRRtreplaceR(RyRRtR9RRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg+s 0         $cCsUytt|iSWnnX|idjod|i|if|_n|iS(Ns.quoted string, starting with %s ending with %s(RR RRRxRR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRFsN( RpRqRRxRRR{RgR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR sJ cBs5eZdZddddZedZdZRS(swToken for matching words composed of characters *not* in a given set. Defined with string containing all disallowed characters, and an optional minimum, maximum, and/or exact length. The default value for min is 1 (a minimum value < 1 is not valid); the default values for max and exact are 0, meaning no maximum or exact length restriction. iicCstt|it|_||_|djotdn||_|djo ||_n t |_|djo||_||_nt ||_ d|i |_ |idj|_ t|_dS(Nisfcannot specify a minimum length < 1; use Optional(CharsNotIn()) if zero-length char group is permittedis Expected (RRR{RR tnotCharsRRRRRiRR)R#R((RyRRRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{Ys           cCs|||ijo%|i}||_||_|n|}|d7}|i}t||it|}x-||jo|||jo|d7}qqW|||ijo%|i}||_||_|n||||!fS(Ni(RRRtRvRRRR(RyRRtR9RRtnotcharstmaxlen((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgrs&           cCszytt|iSWnnX|idjoBt|idjod|id |_qsd|i|_n|iS(Nis !W:(%s...)s!W:(%s)(RRRRRxRR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs(RpRqRR{RRgR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRRs cBsXeZdZhdd6dd6dd6dd6d d 6Zd d d d dZedZRS(s}Special matching class for matching whitespace. Normally, whitespace is ignored by pyparsing grammars. This class is included when some whitespace structures are significant. Define with a string containing the whitespace characters to be matched; default is " \t\n". Also takes optional min, max, and exact arguments, as defined for the Word class.sRss ss ss ss s iicCstt|i||_|idig}|iD]!}||ijo ||q6q6~dig}|iD]}|ti|qx~|_t |_ d|i|_ ||_ |djo ||_ n t|_ |djo||_ ||_ ndS(NRss Expected i(RR*R{t matchWhiteRRR!t whiteStrsRRR#R)RRR(RytwsRRRRlRmt_[2]((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s H7       cCs|||ijo%|i}||_||_|n|}|d7}||i}t|t|}x0||jo"|||ijo|d7}qnW|||ijo%|i}||_||_|n||||!fS(Ni(RRRtRvRRRR(RyRRtR9RRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs$      !    (RpRqRRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR*s t_PositionTokencBseZdZRS(cCs8tt|i|ii|_t|_t|_ dS(N( RRR{RRpRRR#RR((Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s (RpRqR{(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRscBs,eZdZdZdZedZRS(sXToken to advance to a specific column of input text; useful for tabular report scraping.cCs tt|i||_dS(N(RR R{R5(Rytcolno((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{scCst|||ijoyt|}|io|i||}nxJ||jo8||io't|||ijo|d7}qHWn|S(Ni(R5RR%Rctisspace(RyRRtRe((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRfs  7cCs`t||}||ijot||d|n||i|}|||!}||fS(NsText not in expected column(R5R(RyRRtR9tthiscoltnewlocR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs  (RpRqRR{RfRRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s  cBs,eZdZdZdZedZRS(sQMatches if current position is at the beginning of a line within the parse stringcCs-tt|i|idd|_dS(Ns sExpected start of line(RRR{RR)(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s cCs>tt|i||}||djo|d7}n|S(Ns i(RRRf(RyRRtRl((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRfscCsj|djp+||i|djp||ddjp%|i}||_||_|n|gfS(Niis (RfRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs     (RpRqRR{RfRRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs  cBs#eZdZdZedZRS(sKMatches if current position is at the end of a line within the parse stringcCs-tt|i|idd|_dS(Ns sExpected end of line(RRR{RR)(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ s cCs|t|joE||djo|ddfS|i}||_||_|nD|t|jo|dgfS|i}||_||_|dS(Ns i(RRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs       (RpRqRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s cBs#eZdZdZedZRS(sCMatches if current position is at the beginning of the parse stringcCs tt|id|_dS(NsExpected start of text(RR%R{R)(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{&scCsY|djoB||i|djo%|i}||_||_|qOn|gfS(Ni(RfRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg+s    (RpRqRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR%$s cBs#eZdZdZedZRS(s=Matches if current position is at the end of the parse stringcCs tt|id|_dS(NsExpected end of text(RR$R{R)(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{8scCs|t|jo%|i}||_||_|nb|t|jo|dgfS|t|jo |gfS|i}||_||_|dS(Ni(RRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg=s        (RpRqRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR$6s cBs&eZdZedZedZRS(shMatches if the current position is at the beginning of a Word, and is not preceded by any character in a given set of wordChars (default=printables). To emulate the  behavior of regular expressions, use WordStart(alphanums). WordStart will also match at the beginning of the string being parsed, or at the beginning of a line. cCs/tt|it||_d|_dS(NsNot at the start of a word(RR-R{Rnt wordCharsR)(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{UscCsl|djoU||d|ijp|||ijo%|i}||_||_|qbn|gfS(Nii(RRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgZs    (RpRqRRTR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR-Ns cBs&eZdZedZedZRS(sRMatches if the current position is at the end of a Word, and is not followed by any character in a given set of wordChars (default=printables). To emulate the  behavior of regular expressions, use WordEnd(alphanums). WordEnd will also match at the end of the string being parsed, or at the end of a line. cCs8tt|it||_t|_d|_dS(NsNot at the end of a word(RR,R{RnRRR R)(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ks cCst|}|djob||joU|||ijp||d|ijo%|i}||_||_|q{n|gfS(Nii(RRRRtRv(RyRRtR9ReR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgqs    (RpRqRRTR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR,ds cBsheZdZedZdZdZdZdZdZ dZ edZ gd Z RS( sTAbstract subclass of ParserElement, for combining and post-processing parsed tokens.cCsrtt|i|t|to ||_n3t|tot|g|_n |g|_t|_ dS(N( RRR{RRtexprsRRRR-(RyRR/((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s  cCs |i|S(N(R(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRscCs|ii|d|_|S(N(RRRxR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs cCsXt|_g}|iD]}||iq~|_x|iD]}|iq@W|S(sxExtends leaveWhitespace defined in base class, and also invokes leaveWhitespace on all contained expressions.(RR RRR(RyRlRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs  - cCst|toV||ijoBtt|i|x)|iD]}|i|idq@Wqn?tt|i|x%|iD]}|i|idqW|S(Ni(RR&R%RRRR(RyRRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs   cCs^ytt|iSWnnX|idjo&d|iit|if|_n|iS(Ns%s:(%s)( RRRRRxRRpRiR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs&cCsptt|ix|iD]}|iqWt|idjo%|id}t||ior|i og|idjoW|i oL|i|idg|_d|_ |i |i O_ |i |i O_ n|id}t||ioo|i od|idjoT|i oI|id |i|_d|_ |i |i O_ |i |i O_ qln|S(Niiii(RRR{RRRRRRRxR&RR#R((RyRaR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s0         cCstt|i||}|S(N(RRR6(RyRR4R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR6scCs@||g}x|iD]}|i|qW|igdS(N(RRR(RyRRHRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs  ( RpRqRRR{RRRRRR{R6R(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR~s   cBspeZdZdefdYZee_eiiedZedZ dZ dZ dZ RS(sRequires all given ParseExpressions to be found in the given order. Expressions may be separated by whitespace. May be constructed using the '+' operator. RcBseZdZRS(cOs tiiS(N(RRtinstance(RRR[((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs(RpRqR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRscCstt|i||t|_x)|iD]}|ipt|_Pq,q,W|i|di|di |_ t|_ dS(Ni( RRR{RR#RRRR!R R-(RyRR/Ra((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{s     c Cs3|idi|||dt\}}t}x|idD]}|tiijo t}q<n|oy|i|||\}}Wqtj o}t|qt j o-} tt |t ||i |qXn|i|||\}}|p |i o||7}q<q<W||fS(NiR:i(RR>RRRRRRRRjRRR)R( RyRRtR9t resultlistt errorStopRat exprtokensRtie((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgs$(-cCs-t|tot|}n|i|S(N(RRRR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR scCsB||g}x-|iD]"}|i||ipPqqWdS(N(RRR#(RyRtsubRecCheckListRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s    cCsqt|do|iS|idjoBddig}|iD]}|t|q?~d|_n|iS(NRt{Rt}(R2RRRxRRRi(RyRlRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s B( RpRqRRRRRRR{RgRRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRs     cBsAeZdZedZedZdZdZdZ RS(sRequires that at least one ParseExpression is found. If two expressions match, the expression that matches the longest string will be used. May be constructed using the '^' operator. cCsRtt|i||t|_x)|iD]}|iot|_Pq,q,WdS(N(RRR{RR#RR(RyRR/Ra((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{# s    c Cs7d}d}d}x|iD]}y|i||}Wntj o,} | i|jo| }| i}qqtj oHt||jo.t|t||i|}t|}qqX||jo|}|} qqW|djo0|dj o |q$t||d|n| i|||S(Niis no defined alternatives to match( RxRRrRRtRjRR)R>( RyRRtR9t maxExcLoct maxMatchLoct maxExceptionRatloc2Rot maxMatchExp((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg+ s.     cCs-t|tot|}n|i|S(N(RRRR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__ixor__G scCsqt|do|iS|idjoBddig}|iD]}|t|q?~d|_n|iS(NRR s ^ R (R2RRRxRRRi(RyRlRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRL s BcCs3||g}x|iD]}|i|qWdS(N(RR(RyRR Ra((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRU s ( RpRqRRR{RRgRRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s     cBsAeZdZedZedZdZdZdZ RS(sRequires that at least one ParseExpression is found. If two expressions match, the first one listed is the one that will match. May be constructed using the '|' operator. cCsftt|i|||o9t|_x6|iD]}|iot|_Pq3q3Wn t|_dS(N(RRR{RR#RR(RyRR/Ra((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{` s     c Csd}d}x|iD]}y|i|||}|SWqtj o,}|i|jo|}|i}qqtj oHt||jo.t|t||i|}t|}qqXqW|dj o |nt||d|dS(Nis no defined alternatives to match(RxRR>RRtRjRR)( RyRRtR9R RRaRRo((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgk s$   cCs-t|tot|}n|i|S(N(RRRR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt__ior__ scCsqt|do|iS|idjoBddig}|iD]}|t|q?~d|_n|iS(NRR s | R (R2RRRxRRRi(RyRlRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s BcCs3||g}x|iD]}|i|qWdS(N(RR(RyRR Ra((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s ( RpRqRRR{RRgRRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR[ s    cBs8eZdZedZedZdZdZRS(sRequires all given ParseExpressions to be found, but in any order. Expressions may be separated by whitespace. May be constructed using the '&' operator. cCsdtt|i||t|_x)|iD]}|ipt|_Pq,q,Wt|_t|_dS(N( RRR{RR#RRR tinitExprGroups(RyRR/Ra((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ s      cs|iog}|iD]$}t|to||iqq~|_g}|iD]$}t|to||iqVqV~|_g}|iD]$}t|to||iqq~|_ g}|iD]*}t|tttfp ||qq~|_ |i |i 7_ t |_n|} |i } |ig} t } x| o| |i|i } g}x| D]}y|i || } Wn tj o|i|q|X| i||| jo| i|q||joi|q|q|Wt|t| jo t } qPqPW| oJdig}| D]}|t|qH~}t||d|n| tfd|iD7} g}x6| D].}|i|||\}}|i|qWtg}x|D]}h}xY|iD]K}||ijo2t||}|t||7}||| s (RRRRRt optionalsR.tmultioptionalsRt multirequiredtrequiredRRRrRRtremoveRRRiRR>RRR(RyRRtR9RlRaRt_[3]t_[4]ttmpLocttmpReqdt matchOrdert keepMatchingttmpExprstfailedt_[5]tmissingRtresultst finalResultstrtdupsRRHR((Rs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg sj >>>D      0#   cCsqt|do|iS|idjoBddig}|iD]}|t|q?~d|_n|iS(NRR s & R (R2RRRxRRRi(RyRlRa((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s BcCs3||g}x|iD]}|i|qWdS(N(RR(RyRR Ra((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s (RpRqRRR{RgRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s  8 cBs_eZdZedZedZdZdZdZ dZ gdZ dZ RS( sTAbstract subclass of ParserElement, for combining and post-processing parsed tokens.cCstt|i|t|tot|}n||_d|_|dj oc|i |_ |i |_ |i |i |i |_ |i|_|i|_|ii|indS(N(RRR{RRRRRxRR(R#RR!R RR-R%textend(RyRR/((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ s        cCsI|idj o|ii|||dtStd||i|dS(NR:Rs(RRxR>RRR)(RyRRtR9((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg scCs@t|_|ii|_|idj o|iin|S(N(RR RRRxR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s  cCst|toY||ijoEtt|i||idj o|ii|idqeqnBtt|i||idj o|ii|idn|S(Ni(RR&R%RRRRRx(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s#cCs8tt|i|idj o|iin|S(N(RRR{RRx(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ scCsZ||jot||gn||g}|idj o|ii|ndS(N(R!RRxR(RyRR ((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s  cCsC||g}|idj o|ii|n|igdS(N(RRxRR(RyRRH((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR# scCsnytt|iSWnnX|idjo6|idj o&d|iit|if|_n|iS(Ns%s:(%s)( RRRRRxRRRpRi(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR) s &( RpRqRRR{RRgRRR{RRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s      cBs#eZdZdZedZRS(sLookahead matching of the given parse expression. FollowedBy does *not* advance the parsing position within the input string, it only verifies that the specified parse expression matches at the current position. FollowedBy always returns a null token list.cCs#tt|i|t|_dS(N(RR R{RR#(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{9 scCs|ii|||gfS(N(RRr(RyRRtR9((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg= s(RpRqRR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR 4 s cBs,eZdZdZedZdZRS(sLookahead to disallow matching with the given parse expression. NotAny does *not* advance the parsing position within the input string, it only verifies that the specified parse expression does *not* match at the current position. Also, NotAny does *not* skip over leading whitespace. NotAny always returns a null token list. May be constructed using the '~' operator.cCsBtt|i|t|_t|_dt|i|_ dS(NsFound unwanted token, ( RRR{RR RR#RiRR)(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{H s  cCs^y|ii||Wnttfj on#X|i}||_||_||gfS(N(RRrRRjRRtRv(RyRRtR9R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgP s   cCsMt|do|iS|idjodt|id|_n|iS(NRs~{R (R2RRRxRiR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR] s (RpRqRR{RRgR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRB s  cBs8eZdZdZedZdZedZRS(s<Optional repetition of zero or more of the given expression.cCs#tt|i|t|_dS(N(RR.R{RR#(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{i sc Csg}y|ii|||dt\}}t|idj}xf|o|i||}n|}|ii|||\}}|p |io||7}qEqEWnttfj onX||fS(NR:i( RR>RRR%RcRRRj(RyRRtR9RnthasIgnoreExprsRlt tmptokens((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRgm s$cCsMt|do|iS|idjodt|id|_n|iS(NRRs]...(R2RRRxRiR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s cCs(tt|i||}t|_|S(N(RR.R6RR(RyRR4R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR6 s ( RpRqRR{RRgRRR6(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR.g s    cBs/eZdZedZdZedZRS(s2Repetition of one or more of the given expression.cCs|ii|||dt\}}yt|idj}xf|o|i||}n|}|ii|||\}}|p |io||7}q?q?Wnttfj onX||fS(NR:i( RR>RRR%RcRRRj(RyRRtR9RnR+RlR,((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg s$cCsMt|do|iS|idjodt|id|_n|iS(NRR s}...(R2RRRxRiR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s cCs(tt|i||}t|_|S(N(RRR6RR(RyRR4R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR6 s (RpRqRRRgRRR6(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s  t _NullTokencBs eZdZeZdZRS(cCstS(N(R(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR scCsdS(NRs((Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s(RpRqRRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR- s cBs/eZdZedZedZdZRS(sOptional matching of the given expression. A default return string can also be specified, if the optional expression is not found. cCs2tt|i|dt||_t|_dS(NR/(RRR{RRRR#(RyRtdefault((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ s c Csy(|ii|||dt\}}Wnuttfj oc|itj oF|iio)t|ig}|i||iiRRRjRt_optionalNotMatchedRR(RyRRtR9Rn((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg s(  cCsMt|do|iS|idjodt|id|_n|iS(NRRR(R2RRRxRiR(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s (RpRqRR/R{RRgR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s  cBs)eZdZeddZedZRS(s)Token for skipping over all undefined text until the matched expression is found. If include is set to true, the matched expression is also consumed. The ignore argument is used to define grammars (typically quoted strings and comments) that might contain false matches. cCstt|i||dj o&|ii|_|ii|nt|_t |_ ||_ t |_ dt |i|_dS(NsNo match found for (RR#R{RxRRRRR#RR(t includeMatchRRiR)(RyRtincludeR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ s     c Cs5|}t|}|i}x||joy|i||}|i||dtdt|ioj|||!}|i|||dt\}}|o$t|} | |7} || gfS||gfSn||||!gfSWqttfj o|d7}qXqW|i } || _ || _ | dS(NR9R:i( RRRcR>RR0RRRjRRtRv( RyRRtR9tstartLocReRtskipTexttmattskipResR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRg s.     !     N(RpRqRRRxR{RRg(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR# s cBsSeZdZddZdZdZdZgdZdZ dZ RS( sForward declaration of an expression to be defined later - used for recursive grammars, such as algebraic infix notation. When the expression is known, it is assigned to the Forward variable using the '<<' operator. Note: take care when assigning to Forward not to overlook precedence of operators. Specifically, '|' has a lower precedence than '<<', so that:: fwdExpr << a | b | c will actually be evaluated as:: (fwdExpr << a) | b | c thereby leaving b and c out as parseable alternatives. It is recommended that you explicitly group the values inserted into the Forward:: fwdExpr << (a | b | c) cCs tt|i|dtdS(NR/(RR R{R(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ scCst|tot|}n||_|i|_d|_|ii|_|ii|_|i|ii |ii |_ |ii |_ |i i |ii dS(N(RRRRR#RxRR(RR!R RR%R*(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt __lshift__ s   cCs t|_|S(N(RR (Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR% s cCs<|ip.t|_|idj o|iiq8n|S(N(R'RRRxR{(Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{) s   cCsT||jo6||g}|idj o|ii|qCn|igdS(N(RRxRR(RyRRH((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR0 s  cCsct|do|iSt|_z-|idj ot|i}nd}Wdt|_Xd|S(NRRxs Forward: (R2Rt_ForwardNoRecurseRRRxRiR (Ryt retString((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR7 s   cCs=|idj ott|iSt}||>|SdS(N(RRxRR R(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRE s  N( RpRqRRxR{R6RR{RRR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR  s       R7cBseZdZRS(cCsdS(Ns...((Ry((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRN s(RpRqR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR7M scBseZdZedZRS(sDAbstract subclass of ParseExpression, for converting parsed results.cCs#tt|i|t|_dS(N(RR(R{RR(RyRR/((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{S s(RpRqRRR{(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR(Q scBs eZdZdZdZRS(s,Converter to upper case all matching tokens.cGs0tt|i|tidtdddS(NsAUpcase class is deprecated, use upcaseTokens parse action insteadRi(RR)R{RRtDeprecationWarning(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{Y s cCsttti|S(N(RRYtstringR(RyRRtRh((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRi^ s(RpRqRR{Ri(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR)W s cBs/eZdZdedZdZdZRS(sConverter to concatenate all matching tokens to a single string. By default, the matching patterns must also be contiguous in the input string; this can be disabled by specifying 'adjacent=False' in the constructor. RscCsJtt|i||o|in||_t|_||_dS(N(RRR{RtadjacentRR t joinString(RyRR<R;((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{g s   cCs8|ioti||ntt|i||S(N(R;RRRR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRp s cCst|i}|2|tdi|i|igd|i7}|io!t|idjo|gS|SdS(NRsRi( RRRRR<R*RRR(RyRRtRhtretToks((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRiw s  1#(RpRqRRR{RRi(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRb s cBs eZdZdZdZRS(swConverter to return the matched tokens as a list - useful for returning tokens of ZeroOrMore and OneOrMore expressions.cCs#tt|i|t|_dS(N(RR R{RR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ scCs|gS(N((RyRRtRh((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRi s(RpRqRR{Ri(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR s cBs eZdZdZdZRS(sConverter to return a repetitive expression as a list, but also as a dictionary. Each element can also be referenced using the first token in the expression as its key. Useful for tabular report scraping when the first column can be used as a item key. cCs#tt|i|t|_dS(N(RRR{RR(RyR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR{ scCscxFt|D]8\}}t|djoq n|d}t|tot|di}nt|djotd|||>entering %s(line: '%s', %d, %s) s<gS(Ni(RR RR?(RDRERFR(Rt arrayExpr(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytcountFieldParseAction s/tarrayLenR.(R R+RPR3R\R(RRR((RRQs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR8 s cCsIt|tj o|gS|gjo|St|dt|dS(Nii(RIRt_flatten(tL((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRT s  cs/tfd}|i|dtS(s0Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:: first = Word(nums) second = matchPreviousLiteral(first) matchExpr = first + ":" + second will match "1:1", but not "1:2". Because this matches a previous literal, will also match the leading "1:1" in "1:10". If this is not desired, use matchPreviousExpr. Do *not* use with packrat parsing enabled. cs~|oht|djo|d>qzt|i}tg}|D]}|t|qM~>n t>dS(Nii(RRTRRRR(RDRERFttflatRlttt(trep(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytcopyTokenToRepeater s 3R.(R R]R(RRY((RXs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRM s  csCt|i}|>fd}|i|dtS(sXHelper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' of a previous expression. For example:: first = Word(nums) second = matchPreviousExpr(first) matchExpr = first + ":" + second will match "1:1", but not "1:2". Because this matches by expressions, will *not* match the leading "1:1" in "1:10"; the expressions are evaluated first, and then compared, so "1" is compared with "10". Do *not* use with packrat parsing enabled. cs8t|ifd}i|dtdS(Ncs9t|i}|jotdddndS(NRsi(RTRR(RDRERFt theseTokens(t matchTokens(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytmustMatchTheseTokens) s R.(RTRR\R(RDRERFR\(RX(R[s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRY' sR.(R RR]R(Rte2RY((RXs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRL s  cCsUx$dD]}|i|d|}qW|idd}|idd}t|S(Ns\^-]s\s s\ns s\t(RRi(RDRm((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR1 s c CsB|od}d}t}nd}d}t}t|ttfo |}n7t|to|i}ntidt ddd}x|t |d jo||}xt ||d D]j\} } || |o||| d =Pq||| o*||| d =|i || | }PqqW|d 7}qW| o|oyt |t d i |jo9td d i g} |D]} | t| q~ Std i g} |D]} | ti| q~ SWqtid t ddqXntg}|D]} ||| q%~S(scHelper to quickly define a set of alternative Literals, and makes sure to do longest-first testing when there is a conflict, regardless of the input order, but returns a MatchFirst for best performance. Parameters: - strs - a string of space-delimited literals, or a list of string literals - caseless - (default=False) - treat all literals as caseless - useRegex - (default=True) - as an optimization, will generate a Regex object; otherwise, will generate a MatchFirst object (if caseless=True, or if creating a Regex raises an exception) cSs|i|ijS((R(Rtb((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRF scSs|ii|iS((RR(RR^((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRG scSs ||jS(((RR^((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRJ scSs |i|S((R(RR^((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRK ss2Invalid argument to oneOf, expected string or listRiiiRss[%s]t|s7Exception creating Regex for oneOf, building MatchFirst(RRRRRRtsplitRRRRRRRR"RR,RR(tstrsRtuseRegextisequaltmaskstparseElementClasstsymbolsRtcurRRRltsymRR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRQ9 sJ            "9; cCsttt||S(sHelper to easily and clearly define a dictionary by specifying the respective patterns for the key and value. Takes care of defining the Dict, ZeroOrMore, and Group tokens in the proper order. The key pattern can include delimiting markers or punctuation, as long as they are suppressed, thereby leaving the significant key text. The value pattern can include named results, so that the Dict results can include named token fields. (RR.R (RR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR=t ss\[]-*.$+^?()~ RcCs |ddS(ii((RDRERF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR ss\]t0xcCstt|ddS(ii(tunichrR(RDRERF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR st0t01234567cCstt|ddS(ii(RjR(RDRERF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR sit-Rt^tnegatetbodyRcCsft|toRdig}tt|dt|ddD]}|t|qB~p|S(Rsii(RRRRtordRj(tpRlRm((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR sc CsMy>dig}ti|iD]}|t|q ~SWndSXdS(sHelper to easily define string ranges for use in Word construction. Borrows syntax from regexp '[]' string range definitions:: srange("[0-9]") -> "0123456789" srange("[a-z]") -> "abcdefghijklmnopqrstuvwxyz" srange("[a-z$_]") -> "abcdefghijklmnopqrstuvwxyz$_" The input string must be enclosed in []'s, and the returned string is the expanded character set joined into a single string. The values enclosed in the []'s may be:: a single character an escaped character with a leading backslash (such as \- or \]) an escaped hex character with a leading '\0x' (\0x21, which is a '!' character) an escaped octal character with a leading '\0' (\041, which is a '!' character) a range of any of the above, separated by a dash ('a-z', etc.) any combination of the above ('aeiouy', 'a-zA-Z0-9_$', etc.) RsN(Rt_reBracketExprR~Rpt _expanded(RDRltpart((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR] s>csfd}|S(srHelper method for defining parse actions that require matching at a specific column in the input text. cs4t||jot||dndS(Nsmatched token not at column %d(R5R(RktlocnR(R(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt verifyCol s((RRw((Rs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRK scsfd}|S(sHelper method for common parse actions that simply return a literal value. Especially useful when used with transformString(). csgS(N((R(treplStr(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt _replFunc s((RxRy((Rxs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRZ scCs|ddd!S(sHelper parse action for removing quotation marks from parsed quoted strings. To use, add this parse action to quoted string using:: quotedString.setParseAction( removeQuotes ) iii((RDRERF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRX scCs.g}tt|D]}||iq~S(s4Helper parse action to convert tokens to upper case.(RYRiR(RDRERFRlRW((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRb scCs.g}tt|D]}||iq~S(s4Helper parse action to convert tokens to lower case.(RYRitlower(RDRERFRlRW((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR> scCsNy t}Wntj otdnX|2|t|||!7}|S(saHelper parse action to preserve original parsed text, overriding any nested parse actions.sJincorrect usage of keepOriginalText - may only be called as a parse action(R@RRR(RDR2RFR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRD s c Csoddk}|i}zLxE|dD]-}|ddjo|did}|Sq&WtdWd~XdS( siMethod to be called from within a parse action to determine the end location of the parsed tokens.iNiiRqiRtsRincorrect usage of getTokensEndLoc - may only be called from within a parse action(tinspecttstacktf_localsR(R{tfstackRGR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR@ s    c CsDt|to|}t|d| }n |i}tttd}|otii t }t d|t t t|t d|tddtgidi dt d }nd ig}tD]}|d jo ||qq~}tii t t|B}t d|t t t|i ttt d|tddtgidi d t d }ttd |d } |id d i|iddiiid|}| idd i|iddiiid|} || fS(sRInternal helper to construct opening and closing tag expressions, given a tag nameRs_-:Rt=t/R.R?cSs|ddjS(iR((RDRERF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR sRRscSs|ddjS(iR((RDRERF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR ssRs(RRR RR+R0R/R:RR\RXR&RR.R RRR6RRTRWR>Rt_LRttitleR`R3( ttagStrRtresnamet tagAttrNamet tagAttrValuetopenTagRlRmtprintablesLessRAbracktcloseTag((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt _makeTags s j;uAAcCs t|tS(sRHelper to construct opening and closing tag expressions for HTML, given a tag name(RR(R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRI scCs t|tS(sQHelper to construct opening and closing tag expressions for XML, given a tag name(RR(R((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRJ scs^|o |n |ig}D]\}}|||fq)~fd}|S(s`Helper to create a validating parse action to be used with start tags created with makeXMLTags or makeHTMLTags. Use withAttribute to qualify a starting tag with a required attribute value, to avoid false matches on common tags such as or
. Call withAttribute with a series of attribute names and values. Specify the list of filter attributes names and values as: - keyword arguments, as in (class="Customer",align="right"), or - a list of name-value tuples, as in ( ("ns1:class", "Customer"), ("ns2:align","right") ) For attribute names with a namespace prefix, you must use the second form. Attribute names are matched insensitive to upper/lower case. To verify that the attribute exists, but without specifying a value, pass withAttribute.ANY_VALUE as the value. csxD]{\}}||jot||d|n|tijo8|||jo't||d||||fqqWdS(Nsno matching attribute s+attribute '%s' has value '%s', must be '%s'(RRct ANY_VALUE(RDRERntattrNamet attrValue(tattrs(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytpa s  ! (R(RtattrDictRlRRR((Rs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRc s   -cCs/t}|td|tdB}xt|D]\}}|d d \}}}} |djo@|d jpt|djotdn|\} } nt} |tijo|djo(t||t |t |} q|djoe|d j o0t|||t |t ||} qt||t |t |} q|djo:t|| || |t || || |} qtdn8|ti jo|djoEt |t pt |}nt|i| t || } q|djoe|d j o0t||| t |t || } qt|| t |t | } q|djo:t|| | | | t || | | | } qtdn td | o| i| n| | |B>| }q4W||>|S( s#Helper method for constructing grammars of expressions made up of operators working in a precedence hierarchy. Operators may be unary or binary, left- or right-associative. Parse actions can also be attached to operator expressions. Parameters: - baseExpr - expression representing the most basic element for the nested - opList - list of tuples, one for each operator precedence level in the expression grammar; each tuple is of the form (opExpr, numTerms, rightLeftAssoc, parseAction), where: - opExpr is the pyparsing expression for the operator; may also be a string, which will be converted to a Literal; if numTerms is 3, opExpr is a tuple of two expressions, for the two operators separating the 3 terms - numTerms is the number of terms for this operator (must be 1, 2, or 3) - rightLeftAssoc is the indicator whether the operator is right or left associative, using the pyparsing-defined constants opAssoc.RIGHT and opAssoc.LEFT. - parseAction is the parse action to be associated with expressions matching this operator expression (the parse action tuple member may be omitted) t(Riiis@if numterms=3, opExpr must be a tuple or list of two expressionsis6operator must be unary (1), binary (2), or ternary (3)s2operator must indicate right or left associativityN(N(R R&RRxRRRRtLEFTR R RtRIGHTRRRR\(tbaseExprtopListRtlastExprRtoperDeftopExprtaritytrightLeftAssocRtopExpr1topExpr2tthisExprt matchExpr((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRS& sR      (  0( ! %  0( !   s4"(?:[^"\n\r\\]|(?:"")|(?:\\x[0-9a-fA-F]+)|(?:\\.))*"s string enclosed in double quotess4'(?:[^'\n\r\\]|(?:'')|(?:\\x[0-9a-fA-F]+)|(?:\\.))*'s string enclosed in single quotessq(?:"(?:[^"\n\r\\]|(?:"")|(?:\\x[0-9a-fA-F]+)|(?:\\.))*")|(?:'(?:[^'\n\r\\]|(?:'')|(?:\\x[0-9a-fA-F]+)|(?:\\.))*')s*quotedString using single or double quotestuRRcCsJ||jotdn|djot|tot|tov|dj o>tt|t||tiddi d}qt t||tii d}qtdnt }|dj o4|t t |t||B|Bt |>n-|t t |t||Bt |>|S(sHelper method for defining nested lists enclosed in opening and closing delimiters ("(" and ")" are the default). Parameters: - opener - opening character for a nested list (default="("); can also be a pyparsing expression - closer - closing character for a nested list (default=")"); can also be a pyparsing expression - content - expression for items within the nested lists (default=None) - ignoreExpr - expression for ignoring opening and closing delimiters (default=quotedString) If an expression is not provided for the content argument, the nested expression will capture all whitespace-delimited content between delimiters as a list of separate values. Use the ignoreExpr argument to define expressions that may contain opening or closing characters that should not be treated as opening or closing characters for nesting, such as quotedString or a comment expression. Specify multiple expressions using an Or or MatchFirst. The default is quotedString, but if no expressions are to be ignored, then pass None for this argument. s.opening and closing strings cannot be the sameRicSs|diS(i(R(RF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR scSs|diS(i(R(RF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR ssOopening and closing arguments must be strings if no content expression is givenN(RRxRRRRRRRR\R?R R R&R.(topenertclosertcontentt ignoreExprR((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRNr s     $+  4,c sfd}fd}fd}ttidi}tti|}ti|}ti|} |oFtt|t||t|t|t|| } n1tt|t|t|t|} |i dt| S(sHelper method for defining space-delimited indentation blocks, such as those used to define block statements in Python source code. Parameters: - blockStatementExpr - expression defining syntax of statement that is repeated within the indented block - indentStack - list created by caller to manage indentation stack (multiple statementWithIndentedBlock expressions within a single grammar should share a common indentStack) - indent - boolean indicating whether block must be indented beyond the the current level; set to False for block of left-most statements (default=True) A valid block must contain at least one blockStatement. csy|t|jodSt||}|djo=|djot||dnt||dndS(Nisillegal nestingsnot a peer entry(RR5RR(RDRERFtcurCol(t indentStack(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytcheckPeerIndent scsGt||}|djoi|nt||ddS(Nisnot a subentry(R5RR(RDRERFR(R(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pytcheckSubIndent scst|t|jodSt||}o|djo|djpt||dnidS(Niisnot an unindent(RR5RR(RDRERFR(R(s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt checkUnindent s )s s\( RRRRRR\R RR R( tblockStatementExprRRRRRtNLtINDENTtPEERtUNDENTtsmExpr((Rs:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyRd sC $s#[\0xc0-\0xd6\0xd8-\0xf6\0xf8-\0xff]s[\0xa1-\0xbf\0xd7\0xf7]s_:t&sgt lt amp nbsp quottentityt;s><& 'cCs"|itjot|ipdS(N(Rt_htmlEntityMapRx(RF((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyR ss/\*(?:[^*]*\*+)+?/sC style commentss.*s \/\/(\\\n|.)*s // comments:/(?:\*(?:[^*]*\*+)+?/|/[^\n]*(?:\n[^\n]*)*?(?:(?s tokens = stokens.columns = stokens.tables = tSQLRiRn(( t simpleSQLR~RRetcolumnsttablesRRRRER|(t teststringRnRhRo((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyttest s   tselecttfroms_$REROt*RRsSELECT * from XYZZY, ABCsselect * from SYS.XYZZYsSelect A from Sys.dualsSelect AA,BB,CC from Sys.dualsSelect A, B, C from Sys.dualsXelect A, B, C from Sys.dualsSelect A, B, C frox Sys.dualtSelectsSelect ^^^ frox Sys.duals'Select A, B, C from Sys.dual, Table2 (Rt __version__t__versionTime__t __author__R:tweakrefRRRRGRR,Rtxml.sax.saxutilsRt__all__t version_infoRRJtmaxsizeRReRRtmaxintRiRnRRot lowercaset uppercaseR0tascii_lowercasetascii_uppercasetdigitsRPRAR/t_bslashRRlt printableRmt whitespaceRTRtRRRRR!RRR5RHRERRRRORR'RRRRR RRR+R"R RR*RR RRR%R$R-R,RRRRRRR RR.RR-R/RR#R R7R(R)RR RR&RR`R<R8RTRMRLRRQR=R3R?RGRFR_R^R\t _escapedPuncRt_printables_less_backslasht_escapedHexChart_escapedOctChart _singleChart _charRangeR6RsRtR]RKRZRXRbR>RDR@RRIRJRcRRRRRRSR:R\RWRaRxRNRdR1RUR3R2R7RjtzipR`RRYR4RBRR[R;R9RCRVRt _noncommaR{t _commasepitemR6RpRt selectTokent fromTokentidentt columnNametcolumnNameListt tableNamet tableNameListR(((s:/usr/lib64/python2.6/site-packages/matplotlib/pyparsing.pyt;s              A. `      >9tG:]C=;VH%'" ",G  "       ; !;,+@                G( 4  )  ;8%