Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
¾ÜË]ë� ã @ sš d Z dZdZdZddlZddlmZ ddlZddl Z ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlmZ yddlmZ W n ek
r¨ ddlmZ Y nX ydd l
mZ W n> ek
rø ydd lmZ W n ek
rò dZY nX Y nX d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrgiZee jƒdds… Zed dskZe�r"e jZe Z!e"Z#e Z$e%e&e'e(e)ee*e+e,e-e.gZ/nbe j0Ze1Z2dtdu„ Z$g Z/ddl3Z3xBdvj4ƒ D ]6Z5ye/j6e7e3e5ƒƒ W n e8k
�r| �wJY nX �qJW e9dwdx„ e2dyƒD ƒƒZ:dzd{„ Z;G d|d}„ d}e<ƒZ=ej>ej? Z@d~ZAeAd ZBe@eA ZCe"d€ƒZDd�jEd‚dx„ ejFD ƒƒZGG dƒd!„ d!eHƒZIG d„d#„ d#eIƒZJG d…d%„ d%eIƒZKG d†d'„ d'eKƒZLG d‡d*„ d*eHƒZMG dˆd‰„ d‰e<ƒZNG dŠd&„ d&e<ƒZOe
jPjQeOƒ d‹d=„ ZRdŒdN„ ZSd�dK„ ZTdŽd�„ ZUd�d‘„ ZVd’d“„ ZWd”dU„ ZX�d/d–d—„ZYG d˜d(„ d(e<ƒZZG d™d0„ d0eZƒZ[G dšd„ de[ƒZ\G d›d„ de[ƒZ]G dœd„ de[ƒZ^e^Z_e^eZ_`G d�d„ de[ƒZaG džd„ de^ƒZbG dŸd„ deaƒZcG d dp„ dpe[ƒZdG d¡d3„ d3e[ƒZeG d¢d+„ d+e[ƒZfG d£d)„ d)e[ƒZgG d¤d
„ d
e[ƒZhG d¥d2„ d2e[ƒZiG d¦d§„ d§e[ƒZjG d¨d„ dejƒZkG d©d„ dejƒZlG dªd„ dejƒZmG d«d.„ d.ejƒZnG d¬d-„ d-ejƒZoG dd5„ d5ejƒZpG d®d4„ d4ejƒZqG d¯d$„ d$eZƒZrG d°d
„ d
erƒZsG d±d „ d erƒZtG d²d„ derƒZuG d³d„ derƒZvG d´d"„ d"eZƒZwG dµd„ dewƒZxG d¶d„ dewƒZyG d·d¸„ d¸ewƒZzG d¹d„ dezƒZ{G dºd6„ d6ezƒZ|G d»d¼„ d¼e<ƒZ}e}ƒ Z~G d½d„ dewƒZG d¾d,„ d,ewƒZ€G d¿d„ dewƒZ�G dÀdÁ„ dÁe�ƒZ‚G dÂd1„ d1ewƒZƒG dÃd„ deƒƒZ„G dÄd„ deƒƒZ…G dÅd„ deƒƒZ†G dÆd/„ d/eƒƒZ‡G dÇd„ de<ƒZˆdÈdf„ Z‰�d0dËdD„ZŠ�d1dÌd@„Z‹dÍd΄ ZŒdÏdS„ Z�dÐdR„ ZŽdÑdÒ„ Z��d2dÔdW„Z�dÕdE„ Z‘�d3dÖdk„Z’d×dl„ Z“dØdn„ Z”e\ƒ j•dGƒZ–elƒ j•dMƒZ—emƒ j•dLƒZ˜enƒ j•deƒZ™eoƒ j•ddƒZšeeeDdÙd•dÚ�j›dÛdÜ„ ƒZœefd݃j›dÞdÜ„ ƒZ�efd߃j›dàdÜ„ ƒZžeœe�B ežB eeeGdádydâ�B efdãejŸƒB Z e…e e‡däƒ e ƒZ¡e^dåƒedæƒj¢dçƒ e…e{e¡e B ƒƒj¢dèƒ dé Z£dêdc„ Z¤dëdQ„ Z¥dìd`„ Z¦díd^„ Z§dîdq„ Z¨e¨dïdÜ„ ƒZ©e¨dðdÜ„ ƒZªdñdò„ Z«dódO„ Z¬dôdP„ Zdõdi„ Z®e<ƒ e®_¯�d4dödo„Z°e=ƒ Z±e<ƒ e±_²e<ƒ e±_³e‡d÷ƒe‡døƒfdùdm„Z´e´Zµe„efdúƒdû ƒj•düƒZ¶e„efdýƒdþ ƒj•dÿƒZ·e„efdúƒdû efdýƒdþ B ƒj•�d ƒZ¸e„e_�dƒe¸jƒ ƒj•�dƒZ¹d÷døde¸jƒ f�ddT„Zº�d5�ddj„Z»e¤�dƒZ¼e¤�dƒZ½e¬eee@eC�d ƒj•�dƒƒ\Z¾Z¿eÀeÁ�d j4ƒ �d
ƒƒZÂef�d�djEeÂjà ƒ �d
ƒj•�dƒZÄ�dd_„ ZÅe„ef�dƒ�d ƒj•�dƒZÆef�dƒj•�dƒZÇef�dƒjȃ j•�dƒZÉef�dƒj•�dƒZÊe„ef�dƒ�d eÊB ƒj•�dƒZËeËZÌef�dƒj•�dƒZÍe„e{eeeGdÉ�d�eee�dƒe^dɃ emƒ ƒ ƒƒj΃ j•�dƒZÏeŠee¸jƒ eÏB d��d�ƒj•d>ƒZÐG �d dr„ drƒZÑeÒ�d!k�r–eb�d"ƒZÓeb�d#ƒZÔeee@eC�d$ ƒZÕeŠeÕ�d%dÓ�d&�j›e©ƒZÖe…eŠeÖƒƒj•�d'ƒZ×�d(e×B ZØeŠeÕ�d%dÓ�d&�j›e©ƒZÙe…eŠeÙƒƒj•�d)ƒZÚeÓ�d*ƒeØ�d'ƒ eÔ eÚ�d)ƒ ZÛeÛjÜ�d+ƒ eÑjÝjÜ�d,ƒ eÑjÞjÜ�d,ƒ eÑjßjÜ�d-ƒ ddlàZàeÑjàj›e¨eàjჃ eÑjàjÜ�d.ƒ dS (6 aS
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
C{", !"}), built up using L{Word}, L{Literal}, and L{And} elements
(L{'+'} operator gives L{And} expressions, strings are auto-converted to
L{Literal} expressions)::
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 L{ParseResults} object returned from L{ParserElement.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
z2.1.10z07 Oct 2016 01:31 UTCz*Paul McGuire é N)Úref)Údatetime)ÚRLock)ÚOrderedDictÚAndÚCaselessKeywordÚCaselessLiteralÚ
CharsNotInÚCombineÚDictÚEachÚEmptyÚ
FollowedByÚForwardÚ
GoToColumnÚGroupÚKeywordÚLineEndÚ LineStartÚLiteralÚ
MatchFirstÚNoMatchÚNotAnyÚ OneOrMoreÚOnlyOnceÚOptionalÚOrÚParseBaseExceptionÚParseElementEnhanceÚParseExceptionÚParseExpressionÚParseFatalExceptionÚParseResultsÚParseSyntaxExceptionÚ
ParserElementÚQuotedStringÚRecursiveGrammarExceptionÚRegexÚSkipToÚ StringEndÚStringStartÚSuppressÚTokenÚTokenConverterÚWhiteÚWordÚWordEndÚ WordStartÚ
ZeroOrMoreÚ alphanumsÚalphasÚ
alphas8bitÚanyCloseTagÚ
anyOpenTagÚ
cStyleCommentÚcolÚcommaSeparatedListÚcommonHTMLEntityÚcountedArrayÚcppStyleCommentÚdblQuotedStringÚdblSlashCommentÚ
delimitedListÚdictOfÚdowncaseTokensÚemptyÚhexnumsÚhtmlCommentÚjavaStyleCommentÚlineÚlineEndÚ lineStartÚlinenoÚmakeHTMLTagsÚmakeXMLTagsÚmatchOnlyAtColÚmatchPreviousExprÚmatchPreviousLiteralÚ
nestedExprÚnullDebugActionÚnumsÚoneOfÚopAssocÚoperatorPrecedenceÚ
printablesÚpunc8bitÚpythonStyleCommentÚquotedStringÚremoveQuotesÚreplaceHTMLEntityÚreplaceWithÚ
restOfLineÚsglQuotedStringÚsrangeÚ stringEndÚstringStartÚtraceParseActionÚ
unicodeStringÚupcaseTokensÚ
withAttributeÚ
indentedBlockÚoriginalTextForÚungroupÚ
infixNotationÚlocatedExprÚ withClassÚ
CloseMatchÚtokenMapÚpyparsing_commoné c C s` t | tƒr| S yt| ƒS tk
rZ t| ƒjtjƒ dƒ}tdƒ}|jdd„ ƒ |j |ƒS X dS )a Drop-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 | ... >.
Úxmlcharrefreplacez\d+;c S s$ dt t| d dd… ƒƒdd … S )Nz\ur é é éÿÿÿÿ)ÚhexÚint)Út© rw ú/usr/lib/python3.6/pyparsing.pyÚ” s z_ustr..N)
Ú
isinstanceZunicodeÚstrÚUnicodeEncodeErrorÚencodeÚsysÚgetdefaultencodingr' ÚsetParseActionÚtransformString)ÚobjÚretZ
xmlcharrefrw rw rx Ú_ustrƒ s
r„ z6sum len sorted reversed list tuple set any all min maxc c s | ]
}|V qd S )Nrw )Ú.0Úyrw rw rx ú s r‡ rr c C s> d}dd„ dj ƒ D ƒ}x"t||ƒD ]\}}| j||ƒ} q"W | S )z/Escape &, <, >, ", ', etc. in a string of data.z&><"'c s s | ]}d | d V qdS )ú&ú;Nrw )r… Úsrw rw rx r‡ § s z_xml_escape..zamp gt lt quot apos)ÚsplitÚzipÚreplace)ÚdataZfrom_symbolsZ
to_symbolsZfrom_Zto_rw rw rx Ú_xml_escape¢ s
r� c @ s e Zd ZdS )Ú
_ConstantsN)Ú__name__Ú
__module__Ú__qualname__rw rw rw rx r� ¬ s r� Ú
0123456789ZABCDEFabcdefé\ Ú c c s | ]}|t jkr|V qd S )N)ÚstringZ
whitespace)r… Úcrw rw rx r‡ ´ s c @ sP e Zd ZdZddd„Zedd„ ƒZdd „ Zd
d„ Zdd
„ Z ddd„Z
dd„ ZdS )r z7base exception class for all parsing runtime exceptionsr Nc C s> || _ |d kr|| _d| _n|| _|| _|| _|||f| _d S )Nr– )ÚlocÚmsgÚpstrÚ
parserElementÚargs)Úselfr› r™ rš Úelemrw rw rx Ú__init__º s zParseBaseException.__init__c C s | |j |j|j|jƒS )z
internal factory method to simplify creating one type of ParseException
from another - avoids having __init__ signature conflicts among subclasses
)r› r™ rš rœ )ÚclsÚperw rw rx Ú_from_exceptionÅ s z"ParseBaseException._from_exceptionc C sN |dkrt | j| jƒS |dkr,t| j| jƒS |dkrBt| j| jƒS t|ƒ‚dS )z÷supported 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
rJ r9 ÚcolumnrG N)r9 r¤ )rJ r™ r› r9 rG ÚAttributeError)rž Zanamerw rw rx Ú__getattr__Í s zParseBaseException.__getattr__c C s d| j | j| j| jf S )Nz"%s (at char %d), (line:%d, col:%d))rš r™ rJ r¤ )rž rw rw rx Ú__str__Ü s zParseBaseException.__str__c C s t | ƒS )N)r„ )rž rw rw rx Ú__repr__ß s zParseBaseException.__repr__ú>!