ok

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/
Upload File :
Current File : //proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyc

�
�Rect@s�dZdZdZdZddlZddlmZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlmZddlmZddlZdd	lmZdd
lmZyddlmZWn!ek
r#ddlmZnXydd
lmZWn!ek
r[dd
lmZnXy*ddlm Z ddlm!Z!m"Z"Wn7ek
r�ddl
m Z ddl
m!Z!m"Z"nXyddl
m#Z$Wn?ek
ryddl%m#Z$Wnek
re&Z$nXnXyddlm'Z'Wn$ek
rPdfd��YZ'nXe'�Z(de(_e)e(_*e'�Z+de+_e,e+_-e,e+_.e,e+_/e,e+_0e,e+_1ge2e+�D]*Z3e3j4d�p�e3j4d�r�e3^q�e+_5d�Z6e6e+_7dddddddd 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`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dd�d�d�d�d�d�d�d�d�d�d�d�d�gtZ8e9e	j:�d� Z;e;d�d�kZ<e<r�e	j=Z>e?Z@eAZBe?ZCe?ZDeEeFeGeHeIe9eJeKeLeMeNgZOnre	jPZ>eQZRd��ZDgZOddlSZSxEd�jT�D]7ZUyeOjVeWeSeU��WneXk
r@q
nXq
WeYd��eRd��D��ZZd��Z[ej\ej]Z^d�Z_e_d�Z`e^e_ZaeAd��Zbd�jcd��ejdD��Zee&e,d��Zfd6egfd���YZhd8ehfd���YZid:ehfd���YZjd<ejfd���YZkd?egfd���YZld�emfd���YZnd;emfd���YZoe!jpeo�d��Zqd��Zrd��Zsd��Ztd��Zud��Zvd��Zwd�d��Zxd=emfd���YZyd�eyfd���YZzdEeyfd���YZ{d%e{fd���YZ|d0e{fd���YZ}d-e{fd���YZ~d�e~fd���YZe~Z�e~ey_�d*e{fd���YZ�d e~fd���YZ�de�fd���YZ�d�e{fd���YZ�dHe{fd���YZ�d�e�fd���YZ�dLe�fd���YZ�d@e{fd���YZ�d>e{fd���YZ�d!e{fd���YZ�dGe{fd���YZ�d�e{fd���YZ�d(e�fd���YZ�d,e�fd���YZ�d+e�fd���YZ�dCe�fd���YZ�dBe�fd���YZ�dJe�fd���YZ�dIe�fd���YZ�d9eyfd���YZ�de�fd���YZ�d5e�fd���YZ�d/e�fd���YZ�d$e�fd���YZ�d7eyfd���YZ�d&e�fd���YZ�d.e�fd���YZ�d1e�fd���YZ�d�e�fd���YZ�d2e�fd���YZ�dKe�fd���YZ�d�emfd���YZ�d4e�fd���YZ�dAe�fd���YZ�d'e�fd���YZ�dFe�fd���YZ�d"e�fd���YZ�d)e�fd���YZ�d#e�fd���YZ�dDe�fd���YZ�d3emfd���YZ�d��Z�d�e,d��Z�e&d��Z�d��Z�d��Z�d��Z�d��Z�e,e)e,d��Z�d��Z�e)d��Z�d��Z�d��Z�e|�j�d]�Z�e��j�dc�Z�e��j�db�Z�e��j�d{�Z�e��j�dz�Z�e�ebd�d�d��j�d���Z�e�d��j�d���Z�e�d��j�d���Z�e�e�Be�Be�d�d�d��BZ�e�e�e�d��e��Z�e~d��e�d��j�d��e�e�e�e�B��j�d��d�Z�d��Z�d��Z�d��Z�d��Z�d�Z�e�d��Z�e�d��Z�e�d�e�d�d�Z�d�Z�d�Z�d�Z�em�e�_�d�d	�Z�e'�Z�em�e�_�em�e�_�e�d
�e�d�d�Z�e�Z�e�e�d
�d�j�d�Z�e�e�d�d�j�d�Z�e�e�d
�de�d�dB�j�d�Z�e�e�d�e�j��j�d�Z�d
de&e�j�d�Z�e)d�Z�e�d�Z�e�d�Z�e�e�e^ead�j�d��\Z�Z�e�e�djT�d��Z�e�ddjce�j���d �j�d!�Z�d"�Z�e�e�d#�d$�j�d%�Z�e�d&�j�d'�Z�e�d(�j��j�d)�Z�e�d*�j�d+�Z�e�e�d#�d$e�B�j�d,�Z�e�Z�e�d-�j�d.�Z�e�e�e�eed/d��e�e�d0�e~d��e�����j��j�d1�Z�e�e�e�j�e�Bd2d���j�dT�Z�d�fd3��YZ�d4emfd5��YZ�d�emfd6��YZ�d�e�fd7��YZ�e�j�j�j�e�j�j�j�e�j�j�j�e�j�_�e<rRe�e�d8e�j��e�e�d9e�j��e�e�d:e�j��e�e�d;e�j��e�e�d<e�j�e�e�d=e�j��e�e�j�d>e�j�j��e�e�j�d?e�j�j��e�e�j�d@e�j�j��e�e�dAe�j�e�e�dBe�j�e�e�dCe�j�ndDfdE��YZedFkr�e�dG�Ze�dH�Ze�e^eadI�Ze�edJdKe)�j�e��Z	e�e�e	��j�dL�Z
dMe
BZe�edJdKe)�j�e��Ze�e�e��j�dN�Z
edO�edL�ee
dN�ZejdP�e�jjdQ�e�jjdQ�e�jjdR�ddlZe�jj�e�ej��e�jjdS�ndS(Ts�

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
``"<salutation>, <addressee>!"``), built up using :class:`Word`,
:class:`Literal`, and :class:`And` elements
(the :class:`'+'<ParserElement.__add__>` operators create :class:`And` expressions,
and the strings are auto-converted to :class:`Literal` expressions)::

    from pip._vendor.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 :class:`ParseResults` object returned from
:class:`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


Getting Started -
-----------------
Visit the classes :class:`ParserElement` and :class:`ParseResults` to
see the base classes that most other pyparsing
classes inherit from. Use the docstrings for examples of how to:

 - construct literal match expressions from :class:`Literal` and
   :class:`CaselessLiteral` classes
 - construct character word-group expressions using the :class:`Word`
   class
 - see how to create repetitive expressions using :class:`ZeroOrMore`
   and :class:`OneOrMore` classes
 - use :class:`'+'<And>`, :class:`'|'<MatchFirst>`, :class:`'^'<Or>`,
   and :class:`'&'<Each>` operators to combine simple expressions into
   more complex ones
 - associate names with your parsed results using
   :class:`ParserElement.setResultsName`
 - access the parsed data, which is returned as a :class:`ParseResults`
   object
 - find some helpful expression short-cuts like :class:`delimitedList`
   and :class:`oneOf`
 - find more useful common expressions in the :class:`pyparsing_common`
   namespace class
s2.4.7s30 Mar 2020 00:43 UTCs*Paul McGuire <ptmcg@users.sourceforge.net>i����N(tref(tdatetime(t
itemgetter(twraps(tcontextmanager(tfilterfalse(tifilterfalse(tRLock(tIterable(tMutableMappingtMapping(tOrderedDict(tSimpleNamespaceRcBseZRS((t__name__t
__module__(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ssA
    A cross-version compatibility configuration for pyparsing features that will be
    released in a future version. By setting values in this configuration to True,
    those features can be enabled in prior versions for compatibility development
    and testing.

     - collect_all_And_tokens - flag to enable fix for Issue #63 that fixes erroneous grouping
       of results names when an And expression is nested within an Or or MatchFirst; set to
       True to enable bugfix released in pyparsing 2.3.0, or False to preserve
       pre-2.3.0 handling of named results
s�
Diagnostic configuration (all default to False)
     - warn_multiple_tokens_in_named_alternation - flag to enable warnings when a results
       name is defined on a MatchFirst or Or expression with one or more And subexpressions
       (only warns if __compat__.collect_all_And_tokens is False)
     - warn_ungrouped_named_tokens_in_collection - flag to enable warnings when a results
       name is defined on a containing expression with ungrouped subexpressions that also
       have results names
     - warn_name_set_on_empty_Forward - flag to enable warnings whan a Forward is defined
       with a results name, but has no contents defined
     - warn_on_multiple_string_args_to_oneof - flag to enable warnings whan oneOf is
       incorrectly called with multiple str arguments
     - enable_debug_on_named_expressions - flag to auto-enable debug on all subsequent
       calls to ParserElement.setName()
tenable_twarn_cCs(tt_tt_tt_tt_dS(N(tTruet__diag__t)warn_multiple_tokens_in_named_alternationt)warn_ungrouped_named_tokens_in_collectiontwarn_name_set_on_empty_Forwardt%warn_on_multiple_string_args_to_oneof(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_enable_all_warnings�s			t__version__t__versionTime__t
__author__t
__compat__RtAndtCaselessKeywordtCaselessLiteralt
CharsNotIntCombinetDicttEachtEmptyt
FollowedBytForwardt
GoToColumntGrouptKeywordtLineEndt	LineStarttLiteralt
PrecededByt
MatchFirsttNoMatchtNotAnyt	OneOrMoretOnlyOncetOptionaltOrtParseBaseExceptiontParseElementEnhancetParseExceptiontParseExpressiontParseFatalExceptiontParseResultstParseSyntaxExceptiont
ParserElementtQuotedStringtRecursiveGrammarExceptiontRegextSkipTot	StringEndtStringStarttSuppresstTokentTokenConvertertWhitetWordtWordEndt	WordStartt
ZeroOrMoretChart	alphanumstalphast
alphas8bittanyCloseTagt
anyOpenTagt
cStyleCommenttcoltcommaSeparatedListtcommonHTMLEntitytcountedArraytcppStyleCommenttdblQuotedStringtdblSlashCommentt
delimitedListtdictOftdowncaseTokenstemptythexnumsthtmlCommenttjavaStyleCommenttlinetlineEndt	lineStarttlinenotmakeHTMLTagstmakeXMLTagstmatchOnlyAtColtmatchPreviousExprtmatchPreviousLiteralt
nestedExprtnullDebugActiontnumstoneOftopAssoctoperatorPrecedencet
printablestpunc8bittpythonStyleCommenttquotedStringtremoveQuotestreplaceHTMLEntitytreplaceWitht
restOfLinetsglQuotedStringtsranget	stringEndtstringStartttraceParseActiont
unicodeStringtupcaseTokenst
withAttributet
indentedBlocktoriginalTextFortungroupt
infixNotationtlocatedExprt	withClasst
CloseMatchttokenMaptpyparsing_commontpyparsing_unicodetunicode_settconditionAsParseActiontreiicCs}t|t�r|Syt|�SWnUtk
rxt|�jtj�d�}td�}|jd��|j	|�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 | ... >.
        txmlcharrefreplaces&#\d+;cSs#dtt|ddd!��dS(Ns\uiii����(thextint(tt((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt<lambda>�tN(
t
isinstancetunicodetstrtUnicodeEncodeErrortencodetsystgetdefaultencodingR>tsetParseActionttransformString(tobjtrett
xmlcharref((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_ustr�s
s6sum len sorted reversed list tuple set any all min maxccs|]}|VqdS(N((t.0ty((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>sicCsRd}d�dj�D�}x/t||�D]\}}|j||�}q,W|S(s/Escape &, <, >, ", ', etc. in a string of data.s&><"'css|]}d|dVqdS(t&t;N((R�ts((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>ssamp gt lt quot apos(tsplittziptreplace(tdatatfrom_symbolst
to_symbolstfrom_tto_((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_xml_escapes
t
0123456789tABCDEFabcdefi\R�ccs$|]}|tjkr|VqdS(N(tstringt
whitespace(R�tc((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>scs[|dk	r|nd�|r$tnt�t���t�����fd��}|S(Nsfailed user-defined conditioncs1t�|||��s-�||���ndS(N(tbool(R�tlR�(texc_typetfntmsg(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytpa%s(tNoneR8R6t_trim_arityR(R�tmessagetfatalR�((R�R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR� s
!cBs_eZdZdd
d
d�Zed��Zd�Zd�Zd�Z	dd�Z
d	�ZRS(s7base exception class for all parsing runtime exceptionsicCs[||_|dkr*||_d|_n||_||_||_|||f|_dS(NR�(tlocR�R�tpstrt
parserElementtargs(tselfR�R�R�telem((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__init__0s					cCs||j|j|j|j�S(s�
        internal factory method to simplify creating one type of ParseException
        from another - avoids having __init__ signature conflicts among subclasses
        (R�R�R�R�(tclstpe((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_from_exception;scCsm|dkrt|j|j�S|dkr>t|j|j�S|dkr]t|j|j�St|��dS(s�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
        RbRQtcolumnR_N(RQR�(RbR�R�RQR_tAttributeError(R�taname((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__getattr__CscCs�|jrW|jt|j�kr*d}q]d|j|j|jd!jdd�}nd}d|j||j|j|jfS(Ns, found end of texts
, found %ris\\s\R�s%%s%s  (at char %d), (line:%d, col:%d)(R�R�tlenR�R�RbR�(R�tfoundstr((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__str__Rs		-cCs
t|�S(N(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__repr__\ss>!<cCsI|j}|jd}|r?dj|| |||f�}n|j�S(s�Extracts the exception line from the input string, and marks
           the location of the exception with a special symbol.
        iR�(R_R�tjointstrip(R�tmarkerStringtline_strtline_column((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
markInputline^s	

cCsdj�tt|��S(Nslineno col line(R�tdirttype(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__dir__hsN(R
Rt__doc__R�R�tclassmethodR�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR4,s		
	
cBs eZdZedd��ZRS(s:
    Exception thrown when parse expressions don't match class;
    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

    Example::

        try:
            Word(nums).setName("integer").parseString("ABC")
        except ParseException as pe:
            print(pe)
            print("column: {}".format(pe.col))

    prints::

       Expected integer (at char 0), (line:1, col:1)
        column: 1

    icCsddl}|dkr'tj�}ng}t|t�rk|j|j�|jd|jdd�n|jdj	t
|�j|��|dkr�|j|j
d|�}t�}x=t||�D]'\}}|d}|jjd	d�}	t|	t�rn|jjdkrq�n|	|kr0q�n|j|	�t
|	�}
|jdj	|
j|
j|	��nq|	dk	r�t
|	�}
|jd
j	|
j|
j��n7|j}|jdkr�q�n|jdj	|j��|d8}|s�Pq�q�Wndj|�S(sp
        Method to take an exception and translate the Python internal traceback into a list
        of the pyparsing expressions that caused the exception to be raised.

        Parameters:

         - exc - exception raised during parsing (need not be a ParseException, in support
           of Python exceptions that might be raised in a parse action)
         - depth (default=16) - number of levels back in the stack trace to list expression
           and function names; if None, the full stack trace names will be listed; if 0, only
           the failing input line, marker, and exception string will be shown

        Returns a multi-line string listing the ParserElements and/or function names in the
        exception's stack trace.

        Note: the diagnostic output will include string representations of the expressions
        that failed to parse. These representations will be more helpful if you use `setName` to
        give identifiable names to your expressions. Otherwise they will use the default string
        forms, which may be cryptic to read.

        explain() is only supported under Python 3.
        i����Nt it^s{0}: {1}itcontextR�t	parseImplt
_parseNoCaches
{0}.{1} - {2}s{0}.{1}twrappers<module>s{0}s
(R�R�(R�s<module>(tinspectR�R�tgetrecursionlimitR�R4tappendR_RQtformatR�R
tgetinnerframest
__traceback__tsett	enumeratetf_localstgetR;tf_codetco_nametaddRR�(texctdepthR�R�tcallerstseentitfftfrmtf_selft	self_typetcode((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytexplain�sH"	


	
(R
RR�tstaticmethodR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR6kscBseZdZRS(snuser-throwable exception thrown when inconsistent parse content
       is found; stops all parsing immediately(R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR8�scBseZdZRS(s�just like :class:`ParseFatalException`, but thrown internally
    when an :class:`ErrorStop<And._ErrorStop>` ('-' operator) indicates
    that parsing is to stop immediately because an unbacktrackable
    syntax error has been found.
    (R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR:�scBs eZdZd�Zd�ZRS(siexception thrown by :class:`ParserElement.validate` if the
    grammar could be improperly recursive
    cCs
||_dS(N(tparseElementTrace(R�tparseElementList((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCsd|jS(NsRecursiveGrammarException: %s(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR=�s	t_ParseResultsWithOffsetcBs,eZd�Zd�Zd�Zd�ZRS(cCs||f|_dS(N(ttup(R�tp1tp2((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs|j|S(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__getitem__�scCst|jd�S(Ni(treprR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs|jd|f|_dS(Ni(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	setOffset�s(R
RR�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s			cBs	eZdZd.d.eed�Zd.d.eeed�Zd�Zed�Z	d�Z
d�Zd�Zd�Z
e
Zd	�Zd
�Zd�Zd�Zd
�Zer�eZeZeZn-eZeZeZd�Zd�Zd�Zd�Zd�Zd.d�Zd�Zd�Zd�Z d�Z!d�Z"d�Z#d�Z$d�Z%d�Z&d�Z'dd�Z(d �Z)d!�Z*d"�Z+d.e,ded#�Z-d$�Z.d%�Z/deed&d'�Z0d(�Z1d)�Z2d*�Z3d+�Z4d,�Z5e6d.d-��Z7RS(/sSStructured parse results, to provide multiple means of access to
    the parsed data:

       - as a list (``len(results)``)
       - by list index (``results[0], results[1]``, etc.)
       - by attribute (``results.<resultsName>`` - see :class:`ParserElement.setResultsName`)

    Example::

        integer = Word(nums)
        date_str = (integer.setResultsName("year") + '/'
                        + integer.setResultsName("month") + '/'
                        + integer.setResultsName("day"))
        # equivalent form:
        # date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

        # parseString returns a ParseResults object
        result = date_str.parseString("1999/12/31")

        def test(s, fn=repr):
            print("%s -> %s" % (s, fn(eval(s))))
        test("list(result)")
        test("result[0]")
        test("result['month']")
        test("result.day")
        test("'month' in result")
        test("'minutes' in result")
        test("result.dump()", str)

    prints::

        list(result) -> ['1999', '/', '12', '/', '31']
        result[0] -> '1999'
        result['month'] -> '12'
        result.day -> '31'
        'month' in result -> True
        'minutes' in result -> False
        result.dump() -> ['1999', '/', '12', '/', '31']
        - day: 31
        - month: 12
        - year: 1999
    cCs/t||�r|Stj|�}t|_|S(N(R�tobjectt__new__Rt_ParseResults__doinit(R�ttoklisttnametasListtmodaltretobj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR!s
	cCs�|jr�t|_d|_d|_i|_||_||_|dkrTg}n||t�rp||_	n-||t
�r�t|�|_	n|g|_	t�|_n|dk	r�|r�|s�d|j|<n||t
�r�t|�}n||_||td�ttf�o+|ddgfks�||t�rI|g}n|r�||t�r}tt|j	�d�||<ntt|d�d�||<|||_q�y|d||<Wq�tttfk
r�|||<q�Xq�ndS(NiR�(RtFalseR�t_ParseResults__namet_ParseResults__parentt_ParseResults__accumNamest_ParseResults__asListt_ParseResults__modaltlistt_ParseResults__toklistt_generatorTypetdictt_ParseResults__tokdictR�R�R�t
basestringR9R�tKeyErrort	TypeErrort
IndexError(R�RRRRR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�*sB								
	3cCsnt|ttf�r |j|S||jkrB|j|ddStg|j|D]}|d^qS�SdS(Ni����i(R�R�tsliceRRRR9(R�R�tv((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Qs
cCs�||t�rB|jj|t��|g|j|<|d}n`||ttf�rm||j|<|}n5|jj|t��t|d�g|j|<|}||t�r�t|�|_	ndS(Ni(
R�RR�RR�RRR9twkrefR
(R�tkRR�tsub((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__setitem__Zs&

	/c
Cst|ttf�rt|j�}|j|=t|t�rl|dkrV||7}nt||d�}ntt|j|���}|j�x{|j	j
�D]]\}}xN|D]F}x=t|�D]/\}\}}	t||	|	|k�||<q�Wq�Wq�Wn
|j	|=dS(Nii(
R�R�RR�RRtrangetindicestreverseRtitemsR�R�(
R�R�tmylentremovedRtoccurrencestjRtvaluetposition((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__delitem__gs



,cCs
||jkS(N(R(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__contains__|scCs
t|j�S(N(R�R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__len__scCs	|jS(N(R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__bool__�scCs
t|j�S(N(titerR(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__iter__�scCst|jddd��S(Ni����(R+R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__reversed__�scCs0t|jd�r|jj�St|j�SdS(Ntiterkeys(thasattrRR.R+(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	_iterkeys�s
cs�fd��j�D�S(Nc3s|]}�|VqdS(N((R�R(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s(R0(R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_itervalues�scs�fd��j�D�S(Nc3s|]}|�|fVqdS(N((R�R(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s(R0(R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
_iteritems�scCst|j��S(sVReturns all named result keys (as a list in Python 2.x, as an iterator in Python 3.x).(RR.(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytkeys�scCst|j��S(sXReturns all named result values (as a list in Python 2.x, as an iterator in Python 3.x).(Rt
itervalues(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytvalues�scCst|j��S(sfReturns all named result key-values (as a list of tuples in Python 2.x, as an iterator in Python 3.x).(Rt	iteritems(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR �scCs
t|j�S(s�Since keys() returns an iterator, this method is helpful in bypassing
           code that looks for the existence of any defined results names.(R�R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pythaskeys�scOs�|sdg}nxI|j�D];\}}|dkrJ|d|f}qtd|��qWt|dt�s�t|�dks�|d|kr�|d}||}||=|S|d}|SdS(s�
        Removes and returns item at specified index (default= ``last``).
        Supports both ``list`` and ``dict`` semantics for ``pop()``. If
        passed no argument or an integer argument, it will use ``list``
        semantics and pop tokens from the list of parsed tokens. If passed
        a non-integer argument (most likely a string), it will use ``dict``
        semantics and pop the corresponding value from any defined results
        names. A second default return value argument is supported, just as in
        ``dict.pop()``.

        Example::

            def remove_first(tokens):
                tokens.pop(0)
            print(OneOrMore(Word(nums)).parseString("0 123 321")) # -> ['0', '123', '321']
            print(OneOrMore(Word(nums)).addParseAction(remove_first).parseString("0 123 321")) # -> ['123', '321']

            label = Word(alphas)
            patt = label("LABEL") + OneOrMore(Word(nums))
            print(patt.parseString("AAB 123 321").dump())

            # Use pop() in a parse action to remove named result (note that corresponding value is not
            # removed from list form of results)
            def remove_LABEL(tokens):
                tokens.pop("LABEL")
                return tokens
            patt.addParseAction(remove_LABEL)
            print(patt.parseString("AAB 123 321").dump())

        prints::

            ['AAB', '123', '321']
            - LABEL: AAB

            ['AAB', '123', '321']
        i����tdefaultis-pop() got an unexpected keyword argument '%s'iN(R RR�R�R�(R�R�tkwargsRRtindexR�tdefaultvalue((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytpop�s%


cCs||kr||S|SdS(s[
        Returns named result matching the given key, or if there is no
        such name, then returns the given ``defaultValue`` or ``None`` if no
        ``defaultValue`` is specified.

        Similar to ``dict.get()``.

        Example::

            integer = Word(nums)
            date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

            result = date_str.parseString("1999/12/31")
            print(result.get("year")) # -> '1999'
            print(result.get("hour", "not specified")) # -> 'not specified'
            print(result.get("hour")) # -> None
        N((R�tkeytdefaultValue((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCsw|jj||�x]|jj�D]L\}}x=t|�D]/\}\}}t||||k�||<q<Wq#WdS(s
        Inserts new element at location index in the list of parsed tokens.

        Similar to ``list.insert()``.

        Example::

            print(OneOrMore(Word(nums)).parseString("0 123 321")) # -> ['0', '123', '321']

            # use a parse action to insert the parse location in the front of the parsed results
            def insert_locn(locn, tokens):
                tokens.insert(0, locn)
            print(OneOrMore(Word(nums)).addParseAction(insert_locn).parseString("0 123 321")) # -> [0, '0', '123', '321']
        N(RtinsertRR R�R�(R�R:tinsStrRR#RR%R&((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR?scCs|jj|�dS(s�
        Add single element to end of ParseResults list of elements.

        Example::

            print(OneOrMore(Word(nums)).parseString("0 123 321")) # -> ['0', '123', '321']

            # use a parse action to compute the sum of the parsed integers, and add it to the end
            def append_sum(tokens):
                tokens.append(sum(map(int, tokens)))
            print(OneOrMore(Word(nums)).addParseAction(append_sum).parseString("0 123 321")) # -> ['0', '123', '321', 444]
        N(RR�(R�titem((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR� s
cCs3t|t�r|j|�n|jj|�dS(s	
        Add sequence of elements to end of ParseResults list of elements.

        Example::

            patt = OneOrMore(Word(alphas))

            # use a parse action to append the reverse of the matched strings, to make a palindrome
            def make_palindrome(tokens):
                tokens.extend(reversed([t[::-1] for t in tokens]))
                return ''.join(tokens)
            print(patt.addParseAction(make_palindrome).parseString("lskdj sdlkjf lksd")) # -> 'lskdjsdlkjflksddsklfjkldsjdksl'
        N(R�R9t__iadd__Rtextend(R�titemseq((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRC/scCs|j2|jj�dS(s7
        Clear all elements and results names.
        N(RRtclear(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyREBscCs%y||SWntk
r dSXdS(NR�(R(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Is
cCs|j�}||7}|S(N(tcopy(R�totherR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__add__Os
c	s�|jr�t|j���fd�}|jj�}g|D]<\}}|D])}|t|d||d��f^qMq=}xJ|D]?\}}|||<t|dt�r�t|�|d_q�q�Wn|j|j7_|j	j
|j	�|S(Ncs|dkr�S|�S(Ni((ta(toffset(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�WR�ii(RR�RR R�R�R9RR
Rtupdate(R�RGt	addoffsett
otheritemsRtvlistRtotherdictitems((RJs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRBTs	F
cCs1t|t�r%|dkr%|j�S||SdS(Ni(R�R�RF(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__radd__ds
cCs dt|j�t|j�fS(Ns(%s, %s)(R�RR(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�lscCs"ddjd�|jD��dS(Nt[s, css6|],}t|t�r$t|�n	t|�VqdS(N(R�R9R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>pst](R�R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�osR�cCsog}xb|jD]W}|r2|r2|j|�nt|t�rT||j�7}q|jt|��qW|S(N(RR�R�R9t
_asStringListR�(R�tseptoutRA((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRSrscCs5g|jD]'}t|t�r+|j�n|^q
S(sx
        Returns the parse results as a nested list of matching tokens, all converted to strings.

        Example::

            patt = OneOrMore(Word(alphas))
            result = patt.parseString("sldkj lsdkj sldkj")
            # even though the result prints in string-like form, it is actually a pyparsing ParseResults
            print(type(result), result) # -> <class 'pyparsing.ParseResults'> ['sldkj', 'lsdkj', 'sldkj']

            # Use asList() to create an actual list
            result_list = result.asList()
            print(type(result_list), result_list) # -> <class 'list'> ['sldkj', 'lsdkj', 'sldkj']
        (RR�R9R(R�tres((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR}scsGtr|j}n	|j}�fd��t�fd�|�D��S(s�
        Returns the named parse results as a nested dictionary.

        Example::

            integer = Word(nums)
            date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

            result = date_str.parseString('12/31/1999')
            print(type(result), repr(result)) # -> <class 'pyparsing.ParseResults'> (['12', '/', '31', '/', '1999'], {'day': [('1999', 4)], 'year': [('12', 0)], 'month': [('31', 2)]})

            result_dict = result.asDict()
            print(type(result_dict), repr(result_dict)) # -> <class 'dict'> {'day': '1999', 'year': '12', 'month': '31'}

            # even though a ParseResults supports dict-like access, sometime you just need to have a dict
            import json
            print(json.dumps(result)) # -> Exception: TypeError: ... is not JSON serializable
            print(json.dumps(result.asDict())) # -> {"month": "31", "day": "1999", "year": "12"}
        csMt|t�rE|j�r%|j�Sg|D]}�|�^q,Sn|SdS(N(R�R9R7tasDict(R�R(ttoItem(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRX�s

 c3s'|]\}}|�|�fVqdS(N((R�RR(RX(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s(tPY_3R R6R(R�titem_fn((RXs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRW�s
		cCsVt|j�}t|jj��|_|j|_|jj|j�|j|_|S(sG
        Returns a new copy of a :class:`ParseResults` object.
        (	R9RRRR R
RRKR	(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRF�scCs�d}g}td�|jj�D��}|d}|sPd}d}d}nd	}	|d	k	rk|}	n|jr�|j}	n|	s�|r�dSd}	n|||d|	dg7}x	t|j�D]�\}
}t|t�rI|
|kr||j	||
|o|d	k||�g7}q�||j	d	|o6|d	k||�g7}q�d	}|
|krh||
}n|s�|rzq�q�d}nt
t|��}
|||d|d|
d|dg	7}q�W|||d|	dg7}dj|�S(
s�
        (Deprecated) Returns the parse results as XML. Tags are created for tokens and lists that have defined results names.
        s
css2|](\}}|D]}|d|fVqqdS(iN((R�RRNR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s	s  R�tITEMt<t>s</N(
RRR R�R	R�RR�R9tasXMLR�R�R�(R�tdoctagtnamedItemsOnlytindentt	formattedtnlRUt
namedItemstnextLevelIndenttselfTagR�RVtresTagtxmlBodyText((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR^�sT
				
	cCsKxD|jj�D]3\}}x$|D]\}}||kr#|Sq#WqWdS(N(RR R�(R�RRRNRR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__lookup�s
cCs�|jr|jS|jr?|j�}|r8|j|�SdSnmt|�dkr�t|j�dkr�tt|jj���dddkr�tt|jj	���SdSdS(s
        Returns the results name for this token expression. Useful when several
        different expressions might match at a particular location.

        Example::

            integer = Word(nums)
            ssn_expr = Regex(r"\d\d\d-\d\d-\d\d\d\d")
            house_number_expr = Suppress('#') + Word(nums, alphanums)
            user_data = (Group(house_number_expr)("house_number")
                        | Group(ssn_expr)("ssn")
                        | Group(integer)("age"))
            user_info = OneOrMore(user_data)

            result = user_info.parseString("22 111-22-3333 #221B")
            for item in result:
                print(item.getName(), ':', item[0])

        prints::

            age : 22
            ssn : 111-22-3333
            house_number : 221B
        iii����N(ii����(
R	R
t_ParseResults__lookupR�R�RtnextR+R5R3(R�tpar((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytgetNames		
)icCsg}d}|r2|j|t|j���n
|jd�|r|j�r+td�|j�D��}x�|D]�\}}	|r�|j|�n|jd|d||f�t|	t�r|	r�|j|	jd|d|d|d	|d
��q$|jt|	��qt|jt	|	��qtWqt
d�|D��r|}	x�t|	�D]�\}
}t|t�r�|jd|d||
|d|d
|jd|d|d|d	|d
�f�qT|jd|d||
|d|d
t|�f�qTWqndj|�S(
sF
        Diagnostic method for listing out the contents of
        a :class:`ParseResults`. Accepts an optional ``indent`` argument so
        that this string can be embedded in a nested display of other data.

        Example::

            integer = Word(nums)
            date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

            result = date_str.parseString('12/31/1999')
            print(result.dump())

        prints::

            ['12', '/', '31', '/', '1999']
            - day: 1999
            - month: 31
            - year: 12
        s
R�css'|]\}}t|�|fVqdS(N(R�(R�RR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>Gss
%s%s- %s: s  Ratfulltinclude_listt_depthicss|]}t|t�VqdS(N(R�R9(R�tvv((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>Sss
%s%s[%d]:
%s%s%s(
R�R�RR7tsortedR R�R9tdumpR�tanyR�R�(R�RaRnRoRpRUtNLR RRR�Rq((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRs)sJ 
2cOstj|j�||�dS(s#
        Pretty-printer for parsed results as a list, using the
        `pprint <https://docs.python.org/3/library/pprint.html>`_ module.
        Accepts additional positional or keyword args as defined for
        `pprint.pprint <https://docs.python.org/3/library/pprint.html#pprint.pprint>`_ .

        Example::

            ident = Word(alphas, alphanums)
            num = Word(nums)
            func = Forward()
            term = ident | num | Group('(' + func + ')')
            func <<= ident + Group(Optional(delimitedList(term)))
            result = func.parseString("fna a,b,(fnb c,d,200),100")
            result.pprint(width=40)

        prints::

            ['fna',
             ['a',
              'b',
              ['(', 'fnb', ['c', 'd', '200'], ')'],
              '100']]
        N(tpprintR(R�R�R9((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRvjscCsC|j|jj�|jdk	r-|j�p0d|j|jffS(N(RRRFR
R�RR	(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__getstate__�s
cCsm|d|_|d\|_}}|_i|_|jj|�|dk	r`t|�|_n	d|_dS(Nii(RRR	RRKR�RR
(R�tstateRltinAccumNames((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__setstate__�s
	cCs|j|j|j|jfS(N(RR	RR
(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__getnewargs__�scCs tt|��t|j��S(N(R�R�RR3(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��sc	Cs�d�}|g�}xj|j�D]\\}}t|t�rY||j|d|�7}q"|||gd|d||��7}q"W|dk	r�||gd|�}n|S(s�
        Helper classmethod to construct a ParseResults from a dict, preserving the
        name-value relations as results names. If an optional 'name' argument is
        given, a nested ParseResults will be returned
        cSsOyt|�Wntk
r"tSXtr=t|ttf�St|t�SdS(N(R+t	ExceptionRRYR�R�tbytesR(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytis_iterable�s
RRN(R R�R
t	from_dictR�(R�RGRR~R�RR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s	)N(8R
RR�R�RRR�R�R�RR'R(R)R*t__nonzero__R,R-R0R1R2RYR3R5R R.R4R6R7R<R�R?R�RCRER�RHRBRPR�R�RSRRWRFRR^RjRmRsRvRwRzR{R�R�R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR9�sl*	'		
														7												$	=		(A			
		cCsW|}d|ko#t|�knr@||ddkr@dS||jdd|�S(s�Returns current column within a string, counting newlines as line separators.
   The first column is number 1.

   Note: the default parsing behavior is to expand tabs in the input string
   before starting the parsing process.  See
   :class:`ParserElement.parseString` for more
   information on parsing strings containing ``<TAB>`` 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.
   iis
(R�trfind(R�tstrgR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRQ�scCs|jdd|�dS(s�Returns 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 :class:`ParserElement.parseString`
    for more information on parsing strings containing ``<TAB>`` 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(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRb�s
cCsR|jdd|�}|jd|�}|dkrB||d|!S||dSdS(sfReturns the line of text containing loc within a string, counting newlines as line separators.
       s
iiN(R�tfind(R�R�tlastCRtnextCR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR_�s
cCsAdt|�dt|�dt||�t||�fGHdS(NsMatch s at loc s(%d,%d)(R�RbRQ(tinstringR�texpr((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_defaultStartDebugAction�scCs'dt|�dt|j��GHdS(NsMatched s -> (R�R�R(R�tstartloctendlocR�ttoks((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_defaultSuccessDebugAction�scCsdt|�GHdS(NsException raised:(R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_defaultExceptionDebugAction�scGsdS(sG'Do-nothing' debug action, to suppress debugging output during parsing.N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRi�sics�tkr�fd�Sdg�tg�td dkrVdd�}dd��ntj}tj�d}|d	d�d
}|d|d|f�������fd�}d
}y"t�dt�d�j�}Wntk
r�t	��}nX||_|S(Ncs
�|�S(N((R�R�R�(tfunc(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�R�iiiicSsBtd	krdnd}tjd||d�|}|d gS(
Niiii����i����tlimitii(iii(tsystem_versiont	tracebackt
extract_stack(R�RJt
frame_summary((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�scSs*tj|d|�}|d}|d gS(NR�i����i(R�t
extract_tb(ttbR�tframesR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s
iR�i����ics�x�y&�|�d�}t�d<|SWqtk
r��drI�nYz:tj�d}�|dd�dd �ks��nWdy~Wntk
r�nXX�d�kr��dcd7<qn�qXqWdS(Nii����R�ii(RRR�texc_infot	NameError(R�R�R�(R�t
foundArityR�R�tmaxargstpa_call_line_synth(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�!s(


 

s<parse action>R
t	__class__(ii(
tsingleArgBuiltinsRR�R�R�R�tgetattrR
R|R�(R�R�R�t	LINE_DIFFt	this_lineR�t	func_name((R�R�R�R�R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s*
					
	cBsDeZdZdZeZed��Zed��Ze	d��Z
ed�Zd�Zd�Z
ed�Zed	�Zed
�Zd�Zd�Zd
�Zd�Zd�Zd�Zed�Zd�Zeed�Zd�Zd�Zdefd��YZedJk	r.defd��YZ!ndefd��YZ!iZ"e#�Z$ddgZ%eed�Z&eZ'ed��Z(eZ)edd��Z*ed �Z+e,ed!�Z-d"�Z.e,d#�Z/e,ed$�Z0d%�Z1d&�Z2d'�Z3d(�Z4d)�Z5d*�Z6d+�Z7d,�Z8d-�Z9d.�Z:d/�Z;d0�Z<d1�Z=d2�Z>d3�Z?dJd4�Z@d5�ZAd6�ZBd7�ZCd8�ZDd9�ZEd:�ZFed;�ZGd<�ZHd=�ZId>�ZJd?�ZKdJd@�ZLedA�ZMdB�ZNdC�ZOdD�ZPdE�ZQdF�ZRedG�ZSedHeeedJdJdI�ZTRS(Ks)Abstract base level parser element class.s 
	
cCs
|t_dS(s�
        Overrides the default whitespace chars

        Example::

            # default whitespace chars are space, <TAB> and newline
            OneOrMore(Word(alphas)).parseString("abc def\nghi jkl")  # -> ['abc', 'def', 'ghi', 'jkl']

            # change to just treat newline as significant
            ParserElement.setDefaultWhitespaceChars(" \t")
            OneOrMore(Word(alphas)).parseString("abc def\nghi jkl")  # -> ['abc', 'def']
        N(R;tDEFAULT_WHITE_CHARS(tchars((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsetDefaultWhitespaceCharsLscCs
|t_dS(sh
        Set class to be used for inclusion of string literals into a parser.

        Example::

            # default literal class used is Literal
            integer = Word(nums)
            date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

            date_str.parseString("1999/12/31")  # -> ['1999', '/', '12', '/', '31']


            # change to Suppress
            ParserElement.inlineLiteralsUsing(Suppress)
            date_str = integer("year") + '/' + integer("month") + '/' + integer("day")

            date_str.parseString("1999/12/31")  # -> ['1999', '12', '31']
        N(R;t_literalStringClass(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytinlineLiteralsUsing\scCsx|jr|j}qW|S(N(ttb_next(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_trim_tracebackrs
cCs�t�|_d|_d|_d|_||_t|_t	t
j�|_t|_
t|_t|_t�|_t|_t|_t|_d|_t|_d|_d|_t|_t|_dS(NR�(NNN(RtparseActionR�t
failActiontstrReprtresultsNamet
saveAsListRtskipWhitespaceR�R;R�t
whiteCharstcopyDefaultWhiteCharsRtmayReturnEmptytkeepTabstignoreExprstdebugtstreamlinedt
mayIndexErrorterrmsgtmodalResultstdebugActionsR�tcallPreparset
callDuringTry(R�tsavelist((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�xs(																cCsEtj|�}|j|_|j|_|jrAtj|_n|S(s/
        Make a copy of this :class:`ParserElement`.  Useful for defining
        different parse actions for the same parsing pattern, using copies of
        the original parse element.

        Example::

            integer = Word(nums).setParseAction(lambda toks: int(toks[0]))
            integerK = integer.copy().addParseAction(lambda toks: toks[0] * 1024) + Suppress("K")
            integerM = integer.copy().addParseAction(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")

            print(OneOrMore(integerK | integerM | integer).parseString("5K 100 640K 256M"))

        prints::

            [5120, 100, 655360, 268435456]

        Equivalent form of ``expr.copy()`` is just ``expr()``::

            integerM = integer().addParseAction(lambda toks: toks[0] * 1024 * 1024) + Suppress("M")
        (RFR�R�R�R;R�R�(R�tcpy((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRF�s

	cCs3||_d|j|_tjr/|j�n|S(s_
        Define name for this expression, makes debugging and exception messages clearer.

        Example::

            Word(nums).parseString("ABC")  # -> Exception: Expected W:(0123...) (at char 0), (line:1, col:1)
            Word(nums).setName("integer").parseString("ABC")  # -> Exception: Expected integer (at char 0), (line:1, col:1)
        s	Expected (RR�Rt!enable_debug_on_named_expressionstsetDebug(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsetName�s
			
cCs|j||�S(sO
        Define name for referencing matching tokens as a nested attribute
        of the returned parse results.
        NOTE: this returns a *copy* of the original :class:`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.

        You can also set results names using the abbreviated syntax,
        ``expr("name")`` in place of ``expr.setResultsName("name")``
        - see :class:`__call__`.

        Example::

            date_str = (integer.setResultsName("year") + '/'
                        + integer.setResultsName("month") + '/'
                        + integer.setResultsName("day"))

            # equivalent form:
            date_str = integer("year") + '/' + integer("month") + '/' + integer("day")
        (t_setResultsName(R�RtlistAllMatches((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsetResultsName�scCsE|j�}|jd�r.|d }t}n||_||_|S(Nt*i����(RFtendswithRR�R�(R�RR�tnewself((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
		
csa|r9|j�tt�fd�}�|_||_n$t|jd�r]|jj|_n|S(s�Method to invoke the Python pdb debugger when this element is
           about to be parsed. Set ``breakFlag`` to True to enable, False to
           disable.
        cs)ddl}|j��||||�S(Ni����(tpdbt	set_trace(R�R�t	doActionstcallPreParseR�(t_parseMethod(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytbreaker�s
t_originalParseMethod(t_parseRR�R/(R�t	breakFlagR�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsetBreak�s		cOs}t|�dgkr!g|_nXtd�|D��sFtd��ntttt|���|_|jdt�|_	|S(s�
        Define one or more actions 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 :class:`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.

        If None is passed as the parse action, all previously added parse actions for this
        expression are cleared.

        Optional keyword arguments:
        - callDuringTry = (default= ``False``) indicate if parse action should be run during lookaheads and alternate testing

        Note: the default parsing behavior is to expand tabs in the input string
        before starting the parsing process.  See :class:`parseString for more
        information on parsing strings containing ``<TAB>`` 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.

        Example::

            integer = Word(nums)
            date_str = integer + '/' + integer + '/' + integer

            date_str.parseString("1999/12/31")  # -> ['1999', '/', '12', '/', '31']

            # use parse action to convert to ints at parse time
            integer = Word(nums).setParseAction(lambda toks: int(toks[0]))
            date_str = integer + '/' + integer + '/' + integer

            # note that integer fields are now ints, not strings
            date_str.parseString("1999/12/31")  # -> [1999, '/', 12, '/', 31]
        css|]}t|�VqdS(N(tcallable(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>ssparse actions must be callableR�N(
RR�R�tallRtmapR�R�RR�(R�tfnsR9((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(cOsF|jtttt|���7_|jp<|jdt�|_|S(s�
        Add one or more parse actions to expression's list of parse actions. See :class:`setParseAction`.

        See examples in :class:`copy`.
        R�(R�RR�R�R�R�R(R�R�R9((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytaddParseActions$c
OsjxE|D]=}|jjt|d|jd�d|jdt���qW|jp`|jdt�|_|S(s�Add a boolean predicate function to expression's list of parse actions. See
        :class:`setParseAction` for function call signatures. Unlike ``setParseAction``,
        functions passed to ``addCondition`` need to return boolean success/fail of the condition.

        Optional keyword arguments:
        - message = define a custom message to be used in the raised exception
        - fatal   = if True, will raise ParseFatalException to stop parsing immediately; otherwise will raise ParseException

        Example::

            integer = Word(nums).setParseAction(lambda toks: int(toks[0]))
            year_int = integer.copy()
            year_int.addCondition(lambda toks: toks[0] >= 2000, message="Only support years 2000 and later")
            date_str = year_int + '/' + integer + '/' + integer

            result = date_str.parseString("1999/12/31")  # -> Exception: Only support years 2000 and later (at char 0), (line:1, col:1)
        R�R�R�(R�R�R�R�RR�(R�R�R9R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytaddCondition)s

!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 :class:`ParseFatalException`
           if it is desired to stop parsing immediately.(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
setFailActionBs
	cCsnt}xa|rit}xN|jD]C}y)x"|j||�\}}t}q+WWqtk
raqXqWq	W|S(N(RRR�R�R6(R�R�R�t
exprsFoundtetdummy((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_skipIgnorablesOs	
cCsp|jr|j||�}n|jrl|j}t|�}x-||krh|||krh|d7}q?Wn|S(Ni(R�R�R�R�R�(R�R�R�twttinstrlen((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytpreParse\s			cCs
|gfS(N((R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�hscCs|S(N((R�R�R�t	tokenlist((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	postParseksc	Cspd\}}}|j}|s'|jrt|j|rN|j||||�ny�|ru|jru|j||�}	n|}	|	}
|js�|	t|�kr�y|j||	|�\}}Wqtk
r�t	|t|�|j
|��qXn|j||	|�\}}Wq.tk
rp}|j|rH|j|||
||�n|jrj|j||
||�n�q.Xn�|r�|jr�|j||�}	n|}	|	}
|js�|	t|�kry|j||	|�\}}Wq.tk
rt	|t|�|j
|��q.Xn|j||	|�\}}|j|||�}t
||jd|jd|j�}
|jr0|s|jr0|r~y�x�|jD]�}y|||
|
�}Wn.tk
r�}t	d�}||_|�nX|dk	r�||
k	r�t
||jd|jo!t|t
tf�d|j�}
q�q�WWq-tk
rz}|j|rt|j|||
||�n�q-Xq0x�|jD]�}y|||
|
�}Wn.tk
r�}t	d�}||_|�nX|dk	r�||
k	r�t
||jd|jot|t
tf�d|j�}
q�q�Wn|rf|j|rf|j|||
|||
�qfn||
fS(NiiiRRs exception raised in parse action(iii(R�R�R�R�R�R�R�R�RR6R�R|R�R9R�R�R�R�R�t	__cause__R�R�R(R�R�R�R�R�tTRYtMATCHtFAILt	debuggingtprelocttokensStartttokensterrt	retTokensR�tparse_action_excR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�os�	

%
	

%$	
	

	
	
#cCsNy|j||dt�dSWn)tk
rIt|||j|��nXdS(NR�i(R�RR8R6R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyttryParse�s
cCs7y|j||�Wnttfk
r.tSXtSdS(N(R�R6RRR(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytcanParseNext�s
t_UnboundedCachecBseZd�ZRS(cs�i�t�|_���fd�}�fd�}�fd�}�fd�}tj||�|_tj||�|_tj||�|_tj||�|_dS(Ncs�j|��S(N(R�(R�R=(tcachetnot_in_cache(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scs|�|<dS(N((R�R=R%(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scs�j�dS(N(RE(R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRE�scs
t��S(N(R�(R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	cache_len�s(RR�ttypest
MethodTypeR�R�RER)(R�R�R�RER�((R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��st
_FifoCachecBseZd�ZRS(cs�t�|_�t����fd�}��fd�}�fd�}�fd�}tj||�|_tj||�|_tj||�|_tj||�|_dS(Ncs�j|��S(N(R�(R�R=(R�R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scsL|�|<x;t���krGy�jt�Wq
tk
rCq
Xq
WdS(N(R�tpopitemRR(R�R=R%(R�tsize(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s

cs�j�dS(N(RE(R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRE�scs
t��S(N(R�(R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(	RR�t_OrderedDictR�R�R�R�RER)(R�R�R�R�RER�((R�R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	(R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scBseZd�ZRS(cs�t�|_�i�tjg�����fd�}���fd�}��fd�}�fd�}tj||�|_tj||�|_tj||�|_tj||�|_	dS(Ncs�j|��S(N(R�(R�R=(R�R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�scsJ|�|<x,t���kr8�j�j�d�q
W�j|�dS(N(R�R<tpopleftR�R�(R�R=R%(R�tkey_fifoR�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s
cs�j��j�dS(N(RE(R�(R�R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyREs
cs
t��S(N(R�(R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s(
RR�tcollectionstdequeR�R�R�R�RER)(R�R�R�R�RER�((R�R�R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�	s(R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�sic	Cs.d\}}|||||f}tj��tj}|j|�}	|	|jkr�tj|cd7<y|j||||�}	Wn2tk
r�}
|j||
j	|
j
���q$X|j||	d|	dj�f�|	SnCtj|cd7<t|	t
�r|	�n|	d|	dj�fSWdQXdS(Nii(ii(R;tpackrat_cache_lockt
packrat_cacheR�R�tpackrat_cache_statsR�R4R�R�R�RFR�R|(R�R�R�R�R�tHITtMISStlookupR�R%R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_parseCache+s$
	$	cCs+tjj�dgttj�tj(dS(Ni(R;R�RER�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
resetCacheDs
i�cCsUtjsQtt_|dkr0tj�t_ntj|�t_tjt_ndS(s�Enables "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.

           Parameters:

           - cache_size_limit - (default= ``128``) - if an integer value is provided
             will limit the size of the packrat cache; if None is passed, then
             the cache size will be unbounded; if 0 is passed, the cache will
             be effectively disabled.

           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 :class:`ParserElement.enablePackrat`.
           For best results, call ``enablePackrat()`` immediately after
           importing pyparsing.

           Example::

               from pip._vendor import pyparsing
               pyparsing.ParserElement.enablePackrat()
        N(	R;t_packratEnabledRR�R�R�R�RR�(tcache_size_limit((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
enablePackratJs		cCstj�|js |j�nx|jD]}|j�q*W|jsV|j�}nyW|j|d�\}}|r�|j||�}t	�t
�}|j||�nWnXtk
r}tjr��qt
|dd�dk	r�|j|j�|_n|�nX|SdS(s�
        Execute the parse expression with the given string.
        This is the main interface to the client code, once the complete
        expression has been built.

        Returns the parsed data as a :class:`ParseResults` object, which may be
        accessed as a list, or as a dict or object with attributes if the given parser
        includes results names.

        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 :class:`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``

        Example::

            Word('a').parseString('aaaaabaaa')  # -> ['aaaaa']
            Word('a').parseString('aaaaabaaa', parseAll=True)  # -> Exception: Expected end of text
        iR�N(R;RR�t
streamlineR�R�t
expandtabsR�R�R#R@R4tverbose_stacktraceR�R�R�R�(R�R�tparseAllR�R�R�tseR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytparseStringms(!
	
		
ccs�|js|j�nx|jD]}|j�q W|jsRt|�j�}nt|�}d}|j}|j}t	j
�d}	y�x�||kra|	|kray.|||�}
|||
dt�\}}Wntk
r�|
d}q�X||krT|	d7}	||
|fV|rK|||�}
|
|kr>|}qQ|d7}q^|}q�|
d}q�WWnXt
k
r�}t	jr��q�t|dd�dk	r�|j|j�|_n|�nXdS(sq
        Scan 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.  If
        ``overlap`` is specified, then overlapping matches will be reported.

        Note that the start and end locations are reported relative to the string
        being parsed.  See :class:`parseString` for more information on parsing
        strings with embedded tabs.

        Example::

            source = "sldjf123lsdjjkf345sldkjf879lkjsfd987"
            print(source)
            for tokens, start, end in Word(alphas).scanString(source):
                print(' '*start + '^'*(end-start))
                print(' '*start + tokens[0])

        prints::

            sldjf123lsdjjkf345sldkjf879lkjsfd987
            ^^^^^
            sldjf
                    ^^^^^^^
                    lsdjjkf
                              ^^^^^^
                              sldkjf
                                       ^^^^^^
                                       lkjsfd
        iR�iR�N(R�RR�R�R�R	R�R�R�R;RRR6R4R
R�R�R�R�(R�R�t
maxMatchestoverlapR�R�R�t
preparseFntparseFntmatchesR�tnextLocR�tnextlocR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
scanString�sF	
			


	
		c	CsUg}d}t|_y�x�|j|�D]}\}}}|j|||!�|r�t|t�rs||j�7}q�t|t�r�||7}q�|j|�n|}q(W|j||�g|D]}|r�|^q�}djt	t
t|���SWnXtk
rP}t
jr�qQt|dd�dk	rG|j|j�|_n|�nXdS(s[
        Extension to :class:`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.

        Example::

            wd = Word(alphas)
            wd.setParseAction(lambda toks: toks[0].title())

            print(wd.transformString("now is the winter of our discontent made glorious summer by this sun of york."))

        prints::

            Now Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York.
        iR�R�N(RR�RR�R�R9RRR�R�R�t_flattenR4R;R
R�R�R�R�(	R�R�RUtlastER�R�R�toR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s,	

 	cCs�y6tg|j||�D]\}}}|^q�SWnXtk
r�}tjrW�q�t|dd�dk	r�|j|j�|_n|�nXdS(s�
        Another extension to :class:`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.

        Example::

            # a capitalized word starts with an uppercase letter, followed by zero or more lowercase letters
            cap_word = Word(alphas.upper(), alphas.lower())

            print(cap_word.searchString("More than Iron, more than Lead, more than Gold I need Electricity"))

            # the sum() builtin can be used to merge results into a single ParseResults object
            print(sum(cap_word.searchString("More than Iron, more than Lead, more than Gold I need Electricity")))

        prints::

            [['More'], ['Iron'], ['Lead'], ['Gold'], ['I'], ['Electricity']]
            ['More', 'Iron', 'Lead', 'Gold', 'I', 'Electricity']
        R�N(	R9RR4R;R
R�R�R�R�(R�R�RR�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsearchString!s6	c	csfd}d}xJ|j|d|�D]3\}}}|||!V|rO|dVn|}q"W||VdS(sR
        Generator method to split a string using the given expression as a separator.
        May be called with optional ``maxsplit`` argument, to limit the number of splits;
        and the optional ``includeSeparators`` argument (default= ``False``), if the separating
        matching text should be included in the split results.

        Example::

            punc = oneOf(list(".,;:/-!?"))
            print(list(punc.split("This, this?, this sentence, is badly punctuated!")))

        prints::

            ['This', ' this', '', ' this sentence', ' is badly punctuated', '']
        iRN(R(	R�R�tmaxsplittincludeSeparatorstsplitstlastR�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�As%
cCsz|tkrt|�St|t�r7|j|�}nt|t�sjtjdt|�t	dd�dSt||g�S(s[
        Implementation of + operator - returns :class:`And`. Adding strings to a ParserElement
        converts them to :class:`Literal`s by default.

        Example::

            greet = Word(alphas) + "," + Word(alphas) + "!"
            hello = "Hello, World!"
            print (hello, "->", greet.parseString(hello))

        prints::

            Hello, World! -> ['Hello', ',', 'World', '!']

        ``...`` may be used as a parse expression as a short form of :class:`SkipTo`.

            Literal('start') + ... + Literal('end')

        is equivalent to:

            Literal('start') + SkipTo('end')("_skipped*") + Literal('end')

        Note that the skipped text is returned with '_skipped' as a results name,
        and to support having multiple skips in the same parser, the value returned is
        a list of all skipped text.
        s4Cannot combine element of type %s with ParserElementt
stackleveliN(tEllipsist_PendingSkipR�RR�R;twarningstwarnR�t
SyntaxWarningR�R(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRHZs

cCs||tkr t|�d�|St|t�rA|j|�}nt|t�sttjdt|�t	dd�dS||S(s`
        Implementation of + operator when left operand is not a :class:`ParserElement`
        s	_skipped*s4Cannot combine element of type %s with ParserElementRiN(RR?R�RR�R;R!R"R�R#R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRP�s
cCsft|t�r!|j|�}nt|t�sTtjdt|�tdd�dS|t	j
�|S(sT
        Implementation of - operator, returns :class:`And` with error stop
        s4Cannot combine element of type %s with ParserElementRiN(R�RR�R;R!R"R�R#R�Rt
_ErrorStop(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__sub__�s
cCs\t|t�r!|j|�}nt|t�sTtjdt|�tdd�dS||S(s`
        Implementation of - operator when left operand is not a :class:`ParserElement`
        s4Cannot combine element of type %s with ParserElementRiN(	R�RR�R;R!R"R�R#R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__rsub__�s
cs�|tkrd}n;t|t�rP|d tfkrPd
|ddd }nt|t�ro|d}}nCt|t�r�td�|D��}|dd }|ddkr�d|df}nt|dt�r5|ddkr5|ddkrt��S|ddkrt��S�|dt��Sq�t|dt�rtt|dt�rt|\}}||8}q�tdt|d�t|d���ntdt|���|dkr�t	d��n|dkr�t	d��n||ko�dknrt	d	��n|r��fd
��|rp|dkrP��|�}q|t
�g|��|�}q��|�}n(|dkr��}nt
�g|�}|S(s�
        Implementation of * operator, allows use of ``expr * 3`` in place of
        ``expr + expr + expr``.  Expressions may also me multiplied by a 2-integer
        tuple, similar to ``{min, max}`` multipliers in regular expressions.  Tuples
        may also include ``None`` as in:
         - ``expr*(n, None)`` or ``expr*(n, )`` is equivalent
              to ``expr*n + ZeroOrMore(expr)``
              (read as "at least n instances of ``expr``")
         - ``expr*(None, n)`` is equivalent to ``expr*(0, n)``
              (read as "0 to n instances of ``expr``")
         - ``expr*(None, None)`` is equivalent to ``ZeroOrMore(expr)``
         - ``expr*(1, None)`` is equivalent to ``OneOrMore(expr)``

        Note that ``expr*(None, n)`` does not raise an exception if
        more than n exprs exist in the input stream; that is,
        ``expr*(None, n)`` does not enforce a maximum number of expr
        occurrences.  If this behavior is desired, then write
        ``expr*(None, n) + ~expr``
        iiicss'|]}|tk	r|ndVqdS(N(RR�(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�ss8cannot multiply 'ParserElement' and ('%s', '%s') 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)cs2|dkr$t��|d��St��SdS(Ni(R2(tn(tmakeOptionalListR�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR(�sN(iN(i(N(NN(RR�R�ttupleR�RIR0RR�t
ValueErrorR(R�RGtminElementstoptElementsR�((R(R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__mul__�sN	"#

&
) 	cCs
|j|�S(N(R-(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__rmul__�scCs�|tkrt|dt�St|t�r=|j|�}nt|t�sptjdt	|�t
dd�dSt||g�S(sL
        Implementation of | operator - returns :class:`MatchFirst`
        t	must_skips4Cannot combine element of type %s with ParserElementRiN(
RR RR�RR�R;R!R"R�R#R�R-(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__or__�s
cCs\t|t�r!|j|�}nt|t�sTtjdt|�tdd�dS||BS(s`
        Implementation of | operator when left operand is not a :class:`ParserElement`
        s4Cannot combine element of type %s with ParserElementRiN(	R�RR�R;R!R"R�R#R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__ror__	s
cCsdt|t�r!|j|�}nt|t�sTtjdt|�tdd�dSt	||g�S(sD
        Implementation of ^ operator - returns :class:`Or`
        s4Cannot combine element of type %s with ParserElementRiN(
R�RR�R;R!R"R�R#R�R3(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__xor__	s
cCs\t|t�r!|j|�}nt|t�sTtjdt|�tdd�dS||AS(s`
        Implementation of ^ operator when left operand is not a :class:`ParserElement`
        s4Cannot combine element of type %s with ParserElementRiN(	R�RR�R;R!R"R�R#R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__rxor__	s
cCsdt|t�r!|j|�}nt|t�sTtjdt|�tdd�dSt	||g�S(sF
        Implementation of & operator - returns :class:`Each`
        s4Cannot combine element of type %s with ParserElementRiN(
R�RR�R;R!R"R�R#R�R"(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__and__'	s
cCs\t|t�r!|j|�}nt|t�sTtjdt|�tdd�dS||@S(s`
        Implementation of & operator when left operand is not a :class:`ParserElement`
        s4Cannot combine element of type %s with ParserElementRiN(	R�RR�R;R!R"R�R#R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__rand__3	s
cCs
t|�S(sH
        Implementation of ~ operator - returns :class:`NotAny`
        (R/(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
__invert__?	scCstd|jj��dS(Ns%r object is not iterable(RR�R
(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR,E	scCs�y)t|t�r|f}nt|�Wntk
rH||f}nXt|�dkr�tjdj|d t|�dkr�djt|��nd��n|t|d �}|S(s�
        use ``[]`` indexing notation as a short form for expression repetition:
         - ``expr[n]`` is equivalent to ``expr*n``
         - ``expr[m, n]`` is equivalent to ``expr*(m, n)``
         - ``expr[n, ...]`` or ``expr[n,]`` is equivalent
              to ``expr*n + ZeroOrMore(expr)``
              (read as "at least n instances of ``expr``")
         - ``expr[..., n]`` is equivalent to ``expr*(0, n)``
              (read as "0 to n instances of ``expr``")
         - ``expr[...]`` and ``expr[0, ...]`` are equivalent to ``ZeroOrMore(expr)``
         - ``expr[1, ...]`` is equivalent to ``OneOrMore(expr)``
         ``None`` may be used in place of ``...``.

        Note that ``expr[..., n]`` and ``expr[m, n]``do not raise an exception
        if more than ``n`` ``expr``s exist in the input stream.  If this behavior is
        desired, then write ``expr[..., n] + ~expr``.
       is.only 1 or 2 index arguments supported ({0}{1})is	... [{0}]R�(	R�R�R+RR�R!R"R�R)(R�R=R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�J	s
4cCs'|dk	r|j|�S|j�SdS(s�
        Shortcut for :class:`setResultsName`, with ``listAllMatches=False``.

        If ``name`` is given with a trailing ``'*'`` character, then ``listAllMatches`` will be
        passed as ``True``.

        If ``name` is omitted, same as calling :class:`copy`.

        Example::

            # these are equivalent
            userdata = Word(alphas).setResultsName("name") + Word(nums + "-").setResultsName("socsecno")
            userdata = Word(alphas)("name") + Word(nums + "-")("socsecno")
        N(R�R�RF(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__call__n	s
cCs
t|�S(s�
        Suppresses the output of this :class:`ParserElement`; useful to keep punctuation from
        cluttering up returned output.
        (RB(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsuppress�	scCs
t|_|S(s
        Disables the skipping of whitespace before matching the characters in the
        :class:`ParserElement`'s defined pattern.  This is normally only used internally by
        the pyparsing module, but may be needed in some whitespace-sensitive grammars.
        (RR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytleaveWhitespace�	s	cCst|_||_t|_|S(s8
        Overrides the default whitespace chars
        (RR�R�RR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsetWhitespaceChars�	s			cCs
t|_|S(s�
        Overrides default behavior to expand ``<TAB>``s to spaces before parsing the input string.
        Must be called before ``parseString`` when the input grammar contains elements that
        match ``<TAB>`` characters.
        (RR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
parseWithTabs�	s	cCsrt|t�rt|�}nt|t�rR||jkrn|jj|�qnn|jjt|j���|S(s�
        Define expression to be ignored (e.g., comments) while doing pattern
        matching; may be called repeatedly, to define multiple comment or other
        ignorable patterns.

        Example::

            patt = OneOrMore(Word(alphas))
            patt.parseString('ablaj /* comment */ lskjd') # -> ['ablaj']

            patt.ignore(cStyleComment)
            patt.parseString('ablaj /* comment */ lskjd') # -> ['ablaj', 'lskjd']
        (R�RRBR�R�RF(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytignore�	scCs1|p	t|pt|ptf|_t|_|S(sT
        Enable display of debugging messages while doing pattern matching.
        (R�R�R�R�RR�(R�tstartActiont
successActiontexceptionAction((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsetDebugActions�	s
			cCs)|r|jttt�n	t|_|S(s�
        Enable display of debugging messages while doing pattern matching.
        Set ``flag`` to True to enable, False to disable.

        Example::

            wd = Word(alphas).setName("alphaword")
            integer = Word(nums).setName("numword")
            term = wd | integer

            # turn on debugging for wd
            wd.setDebug()

            OneOrMore(term).parseString("abc 123 xyz 890")

        prints::

            Match alphaword at loc 0(1,1)
            Matched alphaword -> ['abc']
            Match alphaword at loc 3(1,4)
            Exception raised:Expected alphaword (at char 4), (line:1, col:5)
            Match alphaword at loc 7(1,8)
            Matched alphaword -> ['xyz']
            Match alphaword at loc 11(1,12)
            Exception raised:Expected alphaword (at char 12), (line:1, col:13)
            Match alphaword at loc 15(1,16)
            Exception raised:Expected alphaword (at char 15), (line:1, col:16)

        The output shown is that produced by the default debug actions - custom debug actions can be
        specified using :class:`setDebugActions`. Prior to attempting
        to match the ``wd`` expression, the debugging message ``"Match <exprname> at loc <n>(<line>,<col>)"``
        is shown. Then if the parse succeeds, a ``"Matched"`` message is shown, or an ``"Exception raised"``
        message is shown. Also note the use of :class:`setName` to assign a human-readable name to the expression,
        which makes debugging and exception messages easier to understand - for instance, the default
        name created for the :class:`Word` expression without calling ``setName`` is ``"W:(ABCD...)"``.
        (R@R�R�R�RR�(R�tflag((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��	s%	cCs|jS(N(R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��	scCs
t|�S(N(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��	scCst|_d|_|S(N(RR�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�	s		cCsdS(N((R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytcheckRecursion�	scCs|jg�dS(sj
        Check defined expressions for valid structure, check for infinite recursive definitions.
        N(RB(R�t
validateTrace((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytvalidate�	scCs�y|j�}Wn5tk
rGt|d��}|j�}WdQXnXy|j||�SWnXtk
r�}tjr}�q�t|dd�dk	r�|j	|j
�|_
n|�nXdS(s�
        Execute 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.
        trNR�(treadR�topenR
R4R;R
R�R�R�R�(R�tfile_or_filenameRt
file_contentstfR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	parseFile
s
	cCsU||krtSt|t�r,|j|�St|t�rQt|�t|�kStS(N(RR�RRR;tvarsR(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__eq__
s
cCs||kS(N((R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__ne__$
scCs
t|�S(N(tid(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__hash__'
scCs
||kS(N((R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__req__*
scCs||kS(N((R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__rne__-
scCs:y!|jt|�d|�tSWntk
r5tSXdS(s�
        Method for quick testing of a parser against a test string. Good for simple
        inline microtests of sub expressions while building up larger parser.

        Parameters:
         - testString - to test against this expression for a match
         - parseAll - (default= ``True``) - flag to pass to :class:`parseString` when running tests

        Example::

            expr = Word(nums)
            assert expr.matches("100")
        RN(R
R�RR4R(R�t
testStringR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR0
s

t#c	Cs�t|t�r6tttj|j�j���}nt|t�rTt|�}n|dkrlt
j}n|j}	g}
g}t
}td�jtd��jt�}
d}x�|D]�}|dk	r�|j|t�s�|r�|r�|j|�q�n|sq�n|r!ddj|�nd|g}g}y1|
j|j|��}|j|d|�}Wn�tk
r*}t|t�r�dnd}d|kr�|jt|j|��|jdt|j|�dd	|�n|jd|jd	|�|jd
t|��|o|}|}n5tk
re}|jdt|��|oY|}|}n�X|op|}|dk	rFym|||�}|dk	r�t|t�r�|j|j ��q�|jt|��n|j|j ��Wq_tk
rB}|j|j d|��|jd
j!|j"t#|�j"|��q_Xn|j|j d|��|r�|r{|jd�n|	dj|��n|
j||f�q�W||
fS(ss

        Execute the parse expression on a series of test strings, showing each
        test, the parsed results or where the parse failed. Quick and easy way to
        run a parse expression against a list of sample strings.

        Parameters:
         - tests - a list of separate test strings, or a multiline string of test strings
         - parseAll - (default= ``True``) - flag to pass to :class:`parseString` when running tests
         - comment - (default= ``'#'``) - expression for indicating embedded comments in the test
              string; pass None to disable comment filtering
         - fullDump - (default= ``True``) - dump results as list followed by results names in nested outline;
              if False, only dump nested list
         - printResults - (default= ``True``) prints test output to stdout
         - failureTests - (default= ``False``) indicates if these tests are expected to fail parsing
         - postParse - (default= ``None``) optional callback for successful parse results; called as
              `fn(test_string, parse_results)` and returns a string to be added to the test output
         - file - (default=``None``) optional file-like object to which test output will be written;
              if None, will default to ``sys.stdout``

        Returns: a (success, results) tuple, where success indicates that all tests succeeded
        (or failed if ``failureTests`` is True), and the results contain a list of lines of each
        test's output

        Example::

            number_expr = pyparsing_common.number.copy()

            result = number_expr.runTests('''
                # unsigned integer
                100
                # negative integer
                -100
                # float with scientific notation
                6.02e23
                # integer with scientific notation
                1e-12
                ''')
            print("Success" if result[0] else "Failed!")

            result = number_expr.runTests('''
                # stray character
                100Z
                # missing leading digit before '.'
                -.100
                # too many '.'
                3.14.159
                ''', failureTests=True)
            print("Success" if result[0] else "Failed!")

        prints::

            # unsigned integer
            100
            [100]

            # negative integer
            -100
            [-100]

            # float with scientific notation
            6.02e23
            [6.02e+23]

            # integer with scientific notation
            1e-12
            [1e-12]

            Success

            # stray character
            100Z
               ^
            FAIL: Expected end of text (at char 3), (line:1, col:4)

            # missing leading digit before '.'
            -.100
            ^
            FAIL: Expected {real number with scientific notation | real number | signed integer} (at char 0), (line:1, col:1)

            # too many '.'
            3.14.159
                ^
            FAIL: Expected end of text (at char 4), (line:1, col:5)

            Success

        Each test string must be on a single line. If you want to test a string that spans multiple
        lines, create a test like this::

            expr.runTest(r"this is a test\n of strings that spans \n 3 lines")

        (Note that this is a raw string literal, you must include the leading 'r'.)
        s\ns
uR�Rs(FATAL)R�iR�sFAIL: sFAIL-EXCEPTION: Rns{0} failed: {1}: {2}N($R�RRR�R�R�trstript
splitlinesR+R�R�tstdouttwriteRR�RtR<RqRRR�R�R�tlstripR
R4R8R_R�RQR|R9RsR�R
R�(R�ttestsRtcommenttfullDumptprintResultstfailureTestsR�tfiletprint_t
allResultstcommentstsuccessRutBOMR�RUtresultR�R�R�tpp_valueR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytrunTestsD
sn`'	$
+
%,	

/N(UR
RR�R�RR
R�R�R�R�R�R�RFR�R�R�RR�R�R�R�R�R�R�R�R�R�R�R�RR�R�R�R�R�RR�R�RR�RRRR
t_MAX_INTRR�RR�RHRPR%R&R-R.R0R1R2R3R4R5R6R,R�R7R8R9R:R;R<R@R�R�R�RRBRDRKRMRNRPRQRRRRg(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR;Gs�				1	
		
	
		W			":J	0 	&				J										$									
+										R cBs/eZed�Zd�Zd�Zd�ZRS(cCsWtt|�j�t|t��jdd�|_|j|_||_||_	dS(NR#s...(
tsuperR R�R�R#R�R�RtanchorR/(R�R�R/((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��
s
"	csvt|�jd�d�}�jrgd�}�fd�}�j|�j|�|�j|�B|S�j||S(Ns...s	_skipped*cSs@|js"|jj�dgkr<|d=|jdd�ndS(NR�it_skipped(RkRR<R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR/�
s"csM|jj�ddgkrI|jd�}dt�j�d|d<ndS(Ni����R�Rks	missing <R](RkRR<R�Rj(R�tskipped(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	show_skip�
s(R?R�R/RjR�(R�RGtskipperR/Rm((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRH�
s		cCs|jS(N(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�scGstd��dS(NsBuse of `...` expression without following SkipTo target expression(R|(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s(R
RRR�RHR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR �
s		cBseZdZd�ZRS(sYAbstract :class:`ParserElement` subclass, for defining atomic
    matching patterns.
    cCstt|�jdt�dS(NR�(RiRCR�R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRCscBseZdZd�ZRS(s'An empty token, will always match.
    cCs2tt|�j�d|_t|_t|_dS(NR#(RiR#R�RRR�RR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s		(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR#scBs#eZdZd�Zed�ZRS(s#A token that will never match.
    cCs;tt|�j�d|_t|_t|_d|_dS(NR.sUnmatchable token(	RiR.R�RRR�RR�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s
			cCst|||j|��dS(N(R6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�$s(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR.s	cBs#eZdZd�Zed�ZRS(s�Token to exactly match a specified string.

    Example::

        Literal('blah').parseString('blah')  # -> ['blah']
        Literal('blah').parseString('blahfooblah')  # -> ['blah']
        Literal('blah').parseString('bla')  # -> Exception: Expected "blah"

    For case-insensitive matching, use :class:`CaselessLiteral`.

    For keyword matching (force word break before and after the matched string),
    use :class:`Keyword` or :class:`CaselessKeyword`.
    cCs�tt|�j�||_t|�|_y|d|_Wn0tk
rntj	dt
dd�t|_nXdt
|j�|_d|j|_t|_t|_|jdkr�t|�tkr�t|_ndS(Nis2null string passed to Literal; use Empty() insteadRis"%s"s	Expected i(RiR+R�tmatchR�tmatchLentfirstMatchCharRR!R"R#R#R�R�RR�RR�R�R�t_SingleCharLiteral(R�tmatchString((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�6s	
	

		!cCsX|||jkr<|j|j|�r<||j|jfSt|||j|��dS(N(Rqt
startswithRoRpR6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Js((R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR+(s
	RrcBseZed�ZRS(cCs@|||jkr$|d|jfSt|||j|��dS(Ni(RqRoR6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Ps(R
RRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRrOscBsKeZdZedZded�Zed�Z	d�Z
ed��ZRS(s�Token to exactly match a specified string as a keyword, that is,
    it must be immediately followed by a non-keyword character.  Compare
    with :class:`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``.

    Example::

        Keyword("start").parseString("start")  # -> ['start']
        Keyword("start").parseString("starting")  # -> Exception

    For case-insensitive matching, use :class:`CaselessKeyword`.
    s_$cCs�tt|�j�|dkr+tj}n||_t|�|_y|d|_Wn't	k
r}t
jdtdd�nXd|j|_
d|j
|_t|_t|_||_|r�|j�|_|j�}nt|�|_dS(Nis2null string passed to Keyword; use Empty() insteadRis"%s"s	Expected (RiR(R�R�tDEFAULT_KEYWORD_CHARSRoR�RpRqRR!R"R#RR�RR�R�tcaselesstuppert
caselessmatchR�t
identChars(R�RsRyRv((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ss&	
				cCse|jr�||||j!j�|jkrI|t|�|jkse|||jj�|jkrI|dks�||dj�|jkrI||j|jfSn�|||jkrI|jdks�|j|j|�rI|t|�|jks|||j|jkrI|dks2||d|jkrI||j|jfSnt	|||j
|��dS(Nii(RvRpRwRxR�RyRoRqRtR6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	# $#cCs%tt|�j�}tj|_|S(N(RiR(RFRuRy(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRF�scCs
|t_dS(s,Overrides the default Keyword chars
        N(R(Ru(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsetDefaultKeywordChars�sN(
R
RR�RKRuR�RR�RR�RFR�Rz(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR(Xs
	cBs#eZdZd�Zed�ZRS(sfToken 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.

    Example::

        OneOrMore(CaselessLiteral("CMD")).parseString("cmd CMD Cmd10") # -> ['CMD', 'CMD', 'CMD']

    (Contrast with example for :class:`CaselessKeyword`.)
    cCsItt|�j|j��||_d|j|_d|j|_dS(Ns'%s's	Expected (RiRR�RwtreturnStringRR�(R�Rs((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	cCsS||||j!j�|jkr7||j|jfSt|||j|��dS(N(RpRwRoR{R6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s#(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s
	cBseZdZdd�ZRS(s�
    Caseless version of :class:`Keyword`.

    Example::

        OneOrMore(CaselessKeyword("CMD")).parseString("cmd CMD Cmd10") # -> ['CMD', 'CMD']

    (Contrast with example for :class:`CaselessLiteral`.)
    cCs#tt|�j||dt�dS(NRv(RiRR�R(R�RsRy((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��sN(R
RR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s	cBs&eZdZdd�Zed�ZRS(s�A variation on :class:`Literal` which matches "close" matches,
    that is, strings with at most 'n' mismatching characters.
    :class:`CloseMatch` takes parameters:

     - ``match_string`` - string to be matched
     - ``maxMismatches`` - (``default=1``) maximum number of
       mismatches allowed to count as a match

    The results from a successful parse will contain the matched text
    from the input string and the following named results:

     - ``mismatches`` - a list of the positions within the
       match_string where mismatches were found
     - ``original`` - the original match_string used to compare
       against the input string

    If ``mismatches`` is an empty list, then the match was an exact
    match.

    Example::

        patt = CloseMatch("ATCATCGAATGGA")
        patt.parseString("ATCATCGAAXGGA") # -> (['ATCATCGAAXGGA'], {'mismatches': [[9]], 'original': ['ATCATCGAATGGA']})
        patt.parseString("ATCAXCGAAXGGA") # -> Exception: Expected 'ATCATCGAATGGA' (with up to 1 mismatches) (at char 0), (line:1, col:1)

        # exact match
        patt.parseString("ATCATCGAATGGA") # -> (['ATCATCGAATGGA'], {'mismatches': [[]], 'original': ['ATCATCGAATGGA']})

        # close match allowing up to 2 mismatches
        patt = CloseMatch("ATCATCGAATGGA", maxMismatches=2)
        patt.parseString("ATCAXCGAAXGGA") # -> (['ATCAXCGAAXGGA'], {'mismatches': [[4, 9]], 'original': ['ATCATCGAATGGA']})
    icCs]tt|�j�||_||_||_d|j|jf|_t|_t|_	dS(Ns&Expected %r (with up to %d mismatches)(
RiR�R�Rtmatch_stringt
maxMismatchesR�RR�R�(R�R|R}((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s				cCs|}t|�}|t|j�}||kr�|j}d}g}	|j}
x�tt|||!|��D]J\}}|\}}
||
krl|	j|�t|	�|
kr�Pq�qlqlW|d}t|||!g�}||d<|	|d<||fSnt|||j|��dS(Niitoriginalt
mismatches(	R�R|R}R�R�R�R9R6R�(R�R�R�R�tstartR�tmaxlocR|tmatch_stringlocRR}ts_mtsrctmattresults((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(		)




(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s 	cBs>eZdZddddedd�Zed�Zd�ZRS(sX	Token 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. An optional ``excludeChars`` parameter can
    list characters that might be found in the input ``bodyChars``
    string; useful to define a word of all printables except for one or
    two characters, for instance.

    :class:`srange` is useful for defining custom character set strings
    for defining ``Word`` expressions, using range notation from
    regular expression character sets.

    A common mistake is to use :class:`Word` to match a specific literal
    string, as in ``Word("Address")``. Remember that :class:`Word`
    uses the string argument to define *sets* of matchable characters.
    This expression would match "Add", "AAA", "dAred", or any other word
    made up of the characters 'A', 'd', 'r', 'e', and 's'. To match an
    exact literal string, use :class:`Literal` or :class:`Keyword`.

    pyparsing includes helper strings for building Words:

     - :class:`alphas`
     - :class:`nums`
     - :class:`alphanums`
     - :class:`hexnums`
     - :class:`alphas8bit` (alphabetic characters in ASCII range 128-255
       - accented, tilded, umlauted, etc.)
     - :class:`punc8bit` (non-alphabetic characters in ASCII range
       128-255 - currency, symbols, superscripts, diacriticals, etc.)
     - :class:`printables` (any non-whitespace character)

    Example::

        # a word composed of digits
        integer = Word(nums) # equivalent to Word("0123456789") or Word(srange("0-9"))

        # a word with a leading capital, and zero or more lowercase
        capital_word = Word(alphas.upper(), alphas.lower())

        # hostnames are alphanumeric, with leading alpha, and '-'
        hostname = Word(alphas, alphanums + '-')

        # roman numeral (not a strict parser, accepts invalid mix of characters)
        roman = Word("IVXLCDM")

        # any string of non-whitespace characters, except for ','
        csv_value = Word(printables, excludeChars=",")
    iics�tt|�j��rot���dj�fd�|D��}|rodj�fd�|D��}qon||_t|�|_|r�||_t|�|_n||_t|�|_|dk|_	|dkr�t
d��n||_|dkr||_n	t
|_|dkr5||_||_nt|�|_d|j|_t|_||_d|j|jkr�|dkr�|dkr�|dkr�|j|jkr�d	t|j�|_net|j�dkrd
tj|j�t|j�f|_n%dt|j�t|j�f|_|jrPd|jd|_nytj|j�|_Wntk
r�d|_q�X|jj|_t|_ndS(
NR�c3s!|]}|�kr|VqdS(N((R�R�(texcludeChars(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>Hsc3s!|]}|�kr|VqdS(N((R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>JsiisZcannot specify a minimum length < 1; use Optional(Word()) if zero-length word is permitteds	Expected R�s[%s]+s%s[%s]*s	[%s][%s]*s\b( RiRFR�R�R�t
initCharsOrigt	initCharst
bodyCharsOrigt	bodyCharstmaxSpecifiedR*tminLentmaxLenRhR�RR�RR�t	asKeywordt_escapeRegexRangeCharstreStringR�R�tescapetcompileR|R�Rotre_matcht
_WordRegexR�(R�R�R�tmintmaxtexactR�R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�DsV%								:	

c	Cso|||jkr.t|||j|��n|}|d7}t|�}|j}||j}t||�}x*||kr�|||kr�|d7}qrWt}|||jkr�t	}n|j
r�||kr�|||kr�t	}nQ|jr=|dkr||d|ks1||kr=|||kr=t	}q=n|r^t|||j|��n||||!fS(Nii(R�R6R�R�R�R�R�RR�RR�R�(	R�R�R�R�R�R�t	bodycharsR�tthrowException((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�}s,
	
	%		 cCs�ytt|�j�SWntk
r*nX|jdkr�d�}|j|jkr}d||j�||j�f|_q�d||j�|_n|jS(NcSs&t|�dkr|d dS|SdS(Nis...(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
charsAsStr�ss
W:(%s, %s)sW:(%s)(RiRFR�R|R�R�R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
	(N(	R
RR�R�RR�RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRFs49R�cBseZed�ZRS(cCsO|j||�}|s3t|||j|��n|j�}||j�fS(N(R�R6R�tendtgroup(R�R�R�R�Re((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
(R
RRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scBseZdZedd�ZRS(s�A short-cut class for defining ``Word(characters, exact=1)``,
    when defining a match of any single character in a string of
    characters.
    cCs�tt|�j|ddd|d|�dtdj|j��|_|r`d|j|_ntj|j�|_|jj	|_
dS(NR�iR�R�s[%s]R�s\b%s\b(RiRJR�R�R�R�R�R�R�RoR�(R�tcharsetR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(N(R
RR�RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRJ�scBsVeZdZdeed�Zed�Zed�Zed�Zd�Z	d�Z
RS(shToken for matching strings that match a given regular
    expression. Defined with string specifying the regular expression in
    a form recognized by the stdlib Python  `re module <https://docs.python.org/3/library/re.html>`_.
    If the given regex contains named groups (defined using ``(?P<name>...)``),
    these will be preserved as named parse results.

    If instead of the Python stdlib re module you wish to use a different RE module
    (such as the `regex` module), you can replace it by either building your
    Regex object with a compiled RE that was compiled using regex:

    Example::

        realnum = Regex(r"[+-]?\d+\.\d*")
        date = Regex(r'(?P<year>\d{4})-(?P<month>\d\d?)-(?P<day>\d\d?)')
        # ref: https://stackoverflow.com/questions/267399/how-do-you-match-only-valid-roman-numerals-with-a-regular-expression
        roman = Regex(r"M{0,4}(CM|CD|D?{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})")

        # use regex module instead of stdlib re module to construct a Regex using
        # a compiled regular expression
        import regex
        parser = pp.Regex(regex.compile(r'[0-9]'))

    icCs�tt|�j�t|t�r�|sAtjdtdd�n||_||_	y+t
j|j|j	�|_
|j|_Wqt
jk
r�tjd|tdd��qXnRt|d�r�t|d�r�||_
|j|_|_||_	ntd��|j
j|_t|�|_d|j|_t|_|jd	�d
k	|_||_||_|jr�|j|_n|jr�|j|_nd
S(sThe parameters ``pattern`` and ``flags`` are passed
        to the ``re.compile()`` function as-is. See the Python
        `re module <https://docs.python.org/3/library/re.html>`_ module for an
        explanation of the acceptable patterns and flags.
        s0null string passed to Regex; use Empty() insteadRis$invalid pattern (%s) passed to RegextpatternRosCRegex may only be constructed with a string or a compiled RE objects	Expected R�N(RiR>R�R�RR!R"R#R�tflagsR�R�R�t
sre_constantsterrorR/RRoR�R�RR�RR�R�R�tasGroupListtasMatchtparseImplAsGroupListR�tparseImplAsMatch(R�R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s<			


						c	Cs�|j||�}|s3t|||j|��n|j�}t|j��}|j�}|r�x'|j�D]\}}|||<qpWn||fS(N(R�R6R�R�R9R�t	groupdictR (	R�R�R�R�ReR�tdRR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�
scCsU|j||�}|s3t|||j|��n|j�}|j�}||fS(N(R�R6R�R�tgroups(R�R�R�R�ReR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�
scCsO|j||�}|s3t|||j|��n|j�}|}||fS(N(R�R6R�R�(R�R�R�R�ReR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�!
scCsZytt|�j�SWntk
r*nX|jdkrSdt|j�|_n|jS(NsRe:(%s)(RiR>R�R|R�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�*
s
cs��jr+tjdtdd�t��n�jrbt��rbtjdtdd�t��n�jr}�fd�}n��fd�}�j|�S(s�
        Return Regex with an attached parse action to transform the parsed
        result as if called using `re.sub(expr, repl, string) <https://docs.python.org/3/library/re.html#re.sub>`_.

        Example::

            make_html = Regex(r"(\w+):(.*?):").sub(r"<\1>\2</\1>")
            print(make_html.transformString("h1:main title:"))
            # prints "<h1>main title</h1>"
        s-cannot use sub() with Regex(asGroupList=True)Ris9cannot use sub() with a callable with Regex(asMatch=True)cs|dj��S(Ni(texpand(R�(trepl(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�K
scs�jj�|d�S(Ni(R�R(R�(R�R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�N
s(R�R!R"R#tSyntaxErrorR�R�R�(R�R�R�((R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR5
s		
	
	(R
RR�RR�RR�R�R�R�R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR>�s-
			cBs>eZdZddeeded�Zed�Zd�ZRS(s&
    Token for matching strings that are delimited by quoting characters.

    Defined with the following parameters:

        - quoteChar - string of one or more characters defining the
          quote delimiting string
        - escChar - character to escape quotes, typically backslash
          (default= ``None``)
        - escQuote - special quote sequence to escape an embedded quote
          string (such as SQL's ``""`` to escape an embedded ``"``)
          (default= ``None``)
        - multiline - boolean indicating whether quotes can span
          multiple lines (default= ``False``)
        - unquoteResults - boolean indicating whether the matched text
          should be unquoted (default= ``True``)
        - endQuoteChar - string of one or more characters defining the
          end of the quote delimited string (default= ``None``  => same as
          quoteChar)
        - convertWhitespaceEscapes - convert escaped whitespace
          (``'\t'``, ``'\n'``, etc.) to actual whitespace
          (default= ``True``)

    Example::

        qs = QuotedString('"')
        print(qs.searchString('lsjdf "This is the quote" sldjf'))
        complex_qs = QuotedString('{{', endQuoteChar='}}')
        print(complex_qs.searchString('lsjdf {{This is the "quote"}} sldjf'))
        sql_qs = QuotedString('"', escQuote='""')
        print(sql_qs.searchString('lsjdf "This is the quote with ""embedded"" quotes" sldjf'))

    prints::

        [['This is the quote']]
        [['This is the "quote"']]
        [['This is the quote with "embedded" quotes']]
    c	s-tt��j�|j�}|sGtjdtdd�t��n|dkr\|}n4|j�}|s�tjdtdd�t��n|�_	t
|��_|d�_|�_
t
|��_|�_|�_|�_|�_|rTtjtjB�_dtj�j	�t�j
d�|dk	rDt|�pGdf�_nPd�_dtj�j	�t�j
d�|dk	r�t|�p�df�_t
�j
�d	kr�jd
dj�fd�tt
�j
�d	dd
�D��d7_n|r*�jdtj|�7_n|rh�jdtj|�7_tj�j�d�_n�jdtj�j
�7_y:tj�j�j��_�j�_�jj�_ Wn4t!j"k
r�tjd�jtdd��nXt#���_$d�j$�_%t&�_'t(�_)dS(Ns$quoteChar cannot be the empty stringRis'endQuoteChar cannot be the empty stringis%s(?:[^%s%s]R�s%s(?:[^%s\n\r%s]is|(?:s)|(?:c3s<|]2}dtj�j| �t�j|�fVqdS(s%s[^%s]N(R�R�tendQuoteCharR�(R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�
si����t)s|(?:%s)s|(?:%s.)s(.)s)*%ss$invalid pattern (%s) passed to Regexs	Expected (*RiR<R�R�R!R"R#R�R�t	quoteCharR�tquoteCharLentfirstQuoteCharR�tendQuoteCharLentescChartescQuotetunquoteResultstconvertWhitespaceEscapesR�t	MULTILINEtDOTALLR�R�R�R�R�RtescCharReplacePatternR�R�RoR�R�R�R�RR�RR�RR�(R�R�R�R�t	multilineR�R�R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�y
sd		
					(	%E
	c	CsQ|||jkr%|j||�p(d}|sLt|||j|��n|j�}|j�}|jrG||j|j	!}t
|t�rGd|kr�|jr�idd6dd6dd6dd	6}x/|j
�D]\}}|j||�}q�Wn|jrtj|jd
|�}n|jrD|j|j|j�}qDqGn||fS(Ns\s	s\ts
s\nss\fs
s\rs\g<1>(R�R�R�R6R�R�R�R�R�R�R�RR�R R�R�R�RR�R�R�(	R�R�R�R�ReR�tws_maptwslittwschar((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��
s*+	
		!cCs]ytt|�j�SWntk
r*nX|jdkrVd|j|jf|_n|jS(Ns.quoted string, starting with %s ending with %s(RiR<R�R|R�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��
s
N(	R
RR�R�RRR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR<R
s
&	@#cBs5eZdZdddd�Zed�Zd�ZRS(s�Token for matching words composed of characters *not* in a given
    set (will include whitespace in matched characters if not listed in
    the provided exclusion set - see example). 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.

    Example::

        # define a comma-separated-value as anything that is not a ','
        csv_value = CharsNotIn(',')
        print(delimitedList(csv_value).parseString("dkls,lsdkjf,s12 34,@!#,213"))

    prints::

        ['dkls', 'lsdkjf', 's12 34', '@!#', '213']
    iicCs�tt|�j�t|_||_|dkr@td��n||_|dkra||_n	t	|_|dkr�||_||_nt
|�|_d|j|_|jdk|_
t|_dS(Nisfcannot specify a minimum length < 1; use Optional(CharsNotIn()) if zero-length char group is permittedis	Expected (RiRR�RR�tnotCharsR*R�R�RhR�RR�R�R�(R�R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��
s 					cCs�|||jkr.t|||j|��n|}|d7}|j}t||jt|��}x*||kr�|||kr�|d7}qfW|||jkr�t|||j|��n||||!fS(Ni(R�R6R�R�R�R�R�(R�R�R�R�R�tnotcharstmaxlen((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s
	cCs�ytt|�j�SWntk
r*nX|jdkryt|j�dkrfd|jd |_qyd|j|_n|jS(Nis
!W:(%s...)s!W:(%s)(RiRR�R|R�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�&s
(R
RR�R�RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�
scBs�eZdZidd6dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6Zd/d0d1d1d2�Zed3�ZRS(4s�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\r\n"``.  Also takes optional ``min``,
    ``max``, and ``exact`` arguments, as defined for the
    :class:`Word` class.
    s<SP>R�s<TAB>s	s<LF>s
s<CR>s
s<FF>ss<NBSP>u s<OGHAM_SPACE_MARK>u s<MONGOLIAN_VOWEL_SEPARATOR>u᠎s	<EN_QUAD>u s	<EM_QUAD>u s
<EN_SPACE>u s
<EM_SPACE>u s<THREE-PER-EM_SPACE>u s<FOUR-PER-EM_SPACE>u s<SIX-PER-EM_SPACE>u s<FIGURE_SPACE>u s<PUNCTUATION_SPACE>u s<THIN_SPACE>u s<HAIR_SPACE>u s<ZERO_WIDTH_SPACE>u​s<NNBSP>u s<MMSP>u s<IDEOGRAPHIC_SPACE>u s 	
iics�tt��j�|�_�jdj�fd��jD���djd��jD���_t�_	d�j�_
|�_|dkr�|�_n	t
�_|dkr�|�_|�_ndS(NR�c3s$|]}|�jkr|VqdS(N(t
matchWhite(R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>Yscss|]}tj|VqdS(N(REt	whiteStrs(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>[ss	Expected i(RiRER�R�R:R�R�RRR�R�R�R�Rh(R�twsR�R�R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Vs	)				cCs�|||jkr.t|||j|��n|}|d7}||j}t|t|��}x-||kr�|||jkr�|d7}qcW|||jkr�t|||j|��n||||!fS(Ni(R�R6R�R�R�R�R�(R�R�R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�js

"(R
RR�R�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRE4s6
t_PositionTokencBseZd�ZRS(cCs8tt|�j�|jj|_t|_t|_	dS(N(
RiR�R�R�R
RRR�RR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�{s	(R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�zscBs,eZdZd�Zd�Zed�ZRS(saToken to advance to a specific column of input text; useful for
    tabular report scraping.
    cCs tt|�j�||_dS(N(RiR&R�RQ(R�tcolno((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs�t||�|jkr�t|�}|jrB|j||�}nxE||kr�||j�r�t||�|jkr�|d7}qEWn|S(Ni(RQR�R�R�tisspace(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	7cCs^t||�}||jkr6t||d|��n||j|}|||!}||fS(NsText not in expected column(RQR6(R�R�R�R�tthiscoltnewlocR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
(R
RR�R�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR&�s			cBs#eZdZd�Zed�ZRS(s�Matches if current position is at the beginning of a line within
    the parse string

    Example::

        test = '''\
        AAA this line
        AAA and this line
          AAA but not this one
        B AAA and definitely not this one
        '''

        for t in (LineStart() + 'AAA' + restOfLine).searchString(test):
            print(t)

    prints::

        ['AAA', ' this line']
        ['AAA', ' and this line']

    cCs tt|�j�d|_dS(NsExpected start of line(RiR*R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs;t||�dkr|gfSt|||j|��dS(Ni(RQR6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR*�s	cBs#eZdZd�Zed�ZRS(sTMatches if current position is at the end of a line within the
    parse string
    cCs<tt|�j�|jtjjdd��d|_dS(Ns
R�sExpected end of line(RiR)R�R:R;R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs�|t|�krK||dkr0|ddfSt|||j|��n8|t|�krk|dgfSt|||j|��dS(Ns
i(R�R6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR)�s	cBs#eZdZd�Zed�ZRS(sLMatches if current position is at the beginning of the parse
    string
    cCs tt|�j�d|_dS(NsExpected start of text(RiRAR�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCsL|dkrB||j|d�krBt|||j|��qBn|gfS(Ni(R�R6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRA�s	cBs#eZdZd�Zed�ZRS(sBMatches if current position is at the end of the parse string
    cCs tt|�j�d|_dS(NsExpected end of text(RiR@R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs�|t|�kr-t|||j|��nT|t|�krM|dgfS|t|�kri|gfSt|||j|��dS(Ni(R�R6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR@�s	cBs&eZdZed�Zed�ZRS(syMatches 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|�j�t|�|_d|_dS(NsNot at the start of a word(RiRHR�R�t	wordCharsR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs^|dkrT||d|jks6|||jkrTt|||j|��qTn|gfS(Nii(R�R6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
(R
RR�RnR�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRH�scBs&eZdZed�Zed�ZRS(s_Matches 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|�j�t|�|_t|_d|_dS(NsNot at the end of a word(RiRGR�R�R�RR�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s	cCsvt|�}|dkrl||krl|||jksN||d|jkrlt|||j|��qln|gfS(Nii(R�R�R6R�(R�R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s(R
RR�RnR�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRGscBsheZdZed�Zd�Zd�Zd�Zd�Zd�Z	d
d�Zd�Zed	�Z
RS(s]Abstract subclass of ParserElement, for combining and
    post-processing parsed tokens.
    cstt��j|�t|t�r4t|�}nt|t�r[�j|�g�_n�t|t	�ry|g�_n�t|t
�r�t|�}td�|D��r��fd�|D�}nt|��_n3yt|��_Wntk
r|g�_nXt
�_dS(Ncss|]}t|t�VqdS(N(R�R(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>*sc3s3|])}t|t�r'�j|�n|VqdS(N(R�RR�(R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>+s(RiR7R�R�RRRR�texprsR;RRtRRR�(R�R�R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s"
cCs|jj|�d|_|S(N(R�R�R�R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�4s	cCsPt|_g|jD]}|j�^q|_x|jD]}|j�q8W|S(s�Extends ``leaveWhitespace`` defined in base class, and also invokes ``leaveWhitespace`` on
           all contained expressions.(RR�R�RFR9(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR99s
	%cCs�t|t�rb||jkr�tt|�j|�x(|jD]}|j|jd�q>Wq�n>tt|�j|�x%|jD]}|j|jd�q�W|S(Ni����(R�RBR�RiR7R<R�(R�RGR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR<BscCsfytt|�j�SWntk
r*nX|jdkr_d|jjt|j	�f|_n|jS(Ns%s:(%s)(
RiR7R�R|R�R�R�R
R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Ns
%cCswtt|�j�x|jD]}|j�qWt|j�dkr`|jd}t||j�r�|jr�|jdkr�|j
r�|j|jdg|_d|_|j|jO_|j
|j
O_
n|jd}t||j�r`|jr`|jdkr`|j
r`|jd |j|_d|_|j|jO_|j
|j
O_
q`ndt|�|_|S(Niiii����s	Expected (RiR7RR�R�R�R�R�R�R�R�R�R�R�R�R�(R�R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRXs0


	


	cCsR|dk	r|ng|g}x|jD]}|j|�q*W|jg�dS(N(R�R�RDRB(R�RCttmpR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRDzs cCs>tt|�j�}g|jD]}|j�^q|_|S(N(RiR7RFR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRF�s%cCs�tjrlx`|jD]R}t|t�r|jrtjdjd|t	|�j
|j�dd�qqWntt|�j
||�S(Ns]{0}: setting results name {1!r} on {2} expression collides with {3!r} on contained expressionRRi(RRR�R�R;R�R!R"R�R�R
RiR7R�(R�RR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	N(R
RR�RR�R�R9R<R�RR�RDRFR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR7s					
	"	cBs`eZdZdefd��YZed�Zd�Zed�Zd�Z	d�Z
d�ZRS(	s
    Requires all given :class:`ParseExpression` s to be found in the given order.
    Expressions may be separated by whitespace.
    May be constructed using the ``'+'`` operator.
    May also be constructed using the ``'-'`` operator, which will
    suppress backtracking.

    Example::

        integer = Word(nums)
        name_expr = OneOrMore(Word(alphas))

        expr = And([integer("id"), name_expr("name"), integer("age")])
        # more easily written as:
        expr = integer("id") + name_expr("name") + integer("age")
    R$cBseZd�ZRS(cOs3ttj|�j||�d|_|j�dS(Nt-(RiRR$R�RR9(R�R�R9((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	(R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR$�scCs-t|�}|r�t|kr�g}x�t|�D]�\}}|tkr�|t|�dkr�t�||djd}|jt|�d��q�td��q1|j|�q1W||(nt	t
|�j||�td�|jD��|_
|j|jdj�|jdj|_t|_dS(Nii����s	_skipped*s0cannot construct And with sequence ending in ...css|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�si(RRR�R�R#R�R�R?R|RiRR�R�R�R:R�R�RR�(R�R�R�R�R�R�t
skipto_arg((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s 
cCs%|jr�td�|jd D��r�x�t|jd �D]�\}}|dkrXq:nt|t�r:|jr:t|jdt�r:|jd|j|d|jd<d|j|d<q:q:Wg|jD]}|dk	r�|^q�|_q�ntt|�j	�t
d�|jD��|_|S(Ncss=|]3}t|t�o4|jo4t|jdt�VqdS(i����N(R�R7R�R (R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�si����icss|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s(R�RtR�R�R�R7R RiRRR�R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s		 #1c	Cs?|jdj|||dt�\}}t}x|jdD]�}t|tj�r`t}q<n|r�y|j|||�\}}Wqtk
r��qtk
r�}d|_
tj|��qtk
r�t|t
|�|j|��qXn|j|||�\}}|s$|j�r<||7}q<q<W||fS(NiR�i(R�R�RR�RR$RR:R4R�R�R�RR�R�R7(	R�R�R�R�t
resultlistt	errorStopR�t
exprtokensR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s((
	
%cCs.t|t�r!|j|�}n|j|�S(N(R�RR�R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRB�scCs@||g}x+|jD] }|j|�|jsPqqWdS(N(R�RBR�(R�R�tsubRecCheckListR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRB�s

	cCsVt|d�r|jS|jdkrOddjd�|jD��d|_n|jS(NRt{R�css|]}t|�VqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�st}(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
*(R
RR�R#R$RR�RR�RBRBR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s			cBsVeZdZed�Zd�Zed�Zd�Zd�Z	d�Z
ed�ZRS(s�Requires that at least one :class:`ParseExpression` is found. If
    two expressions match, the expression that matches the longest
    string will be used. May be constructed using the ``'^'``
    operator.

    Example::

        # construct Or using '^' operator

        number = Word(nums) ^ Combine(Word(nums) + '.' + Word(nums))
        print(number.searchString("123 3.1416 789"))

    prints::

        [['123'], ['3.1416'], ['789']]
    cCsNtt|�j||�|jrAtd�|jD��|_n	t|_dS(Ncss|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>s(RiR3R�R�RtR�R(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s	cCs?tt|�j�tjr;td�|jD��|_n|S(Ncss|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>s(RiR3RRtcollect_all_And_tokensRtR�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRs	cCs9d}d}g}x�|jD]�}y|j||�}Wn�tk
rw}	d|	_|	j|kr�|	}|	j}q�qtk
r�t|�|kr�t|t|�|j|�}t|�}q�qX|j	||f�qW|r�|j
dtd�dt�|s'|dd}
|
j
|||�Sd}x�|D]�\}}
||dkrT|Sy|
j
|||�\}}Wn=tk
r�}	d|	_|	j|kr�|	}|	j}q�q4X||kr�||fS||dkr4||f}q4q4W|dkr�|Sn|dk	r |j|_|�nt||d|��dS(	Ni����R=iRis no defined alternatives to match(i����N(i����N(R�R�R�R6R�R�RR�R�R�tsortRRR�R�(R�R�R�R�t	maxExcLoctmaxExceptionRR�tloc2R�t	best_exprtlongesttloc1texpr1R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�sT	
	
	cCs.t|t�r!|j|�}n|j|�S(N(R�RR�R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__ixor__[scCsVt|d�r|jS|jdkrOddjd�|jD��d|_n|jS(NRR�s ^ css|]}t|�VqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>esR�(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�`s
*cCs3||g}x|jD]}|j|�qWdS(N(R�RB(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRBiscCsvtjr]tjr]td�|jD��r]tjdjd|t	|�j
�dd�q]ntt|�j
||�S(Ncss|]}t|t�VqdS(N(R�R(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>qss�{0}: setting results name {1!r} on {2} expression may only return a single token for an And alternative, in future will return the full list of tokensRRi(RR�RRRtR�R!R"R�R�R
RiR3R�(R�RR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ns
	
(R
RR�RR�RRR�R�R�RBR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR3s	=				cBsVeZdZed�Zd�Zed�Zd�Zd�Z	d�Z
ed�ZRS(s�Requires that at least one :class:`ParseExpression` is found. If
    two expressions match, the first one listed is the one that will
    match. May be constructed using the ``'|'`` operator.

    Example::

        # construct MatchFirst using '|' operator

        # watch the order of expressions to match
        number = Word(nums) | Combine(Word(nums) + '.' + Word(nums))
        print(number.searchString("123 3.1416 789")) #  Fail! -> [['123'], ['3'], ['1416'], ['789']]

        # put more selective expression first
        number = Combine(Word(nums) + '.' + Word(nums)) | Word(nums)
        print(number.searchString("123 3.1416 789")) #  Better -> [['123'], ['3.1416'], ['789']]
    cCsNtt|�j||�|jrAtd�|jD��|_n	t|_dS(Ncss|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s(RiR-R�R�RtR�R(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	cCs?tt|�j�tjr;td�|jD��|_n|S(Ncss|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s(RiR-RRR�RtR�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s	c	Cs�d}d}x�|jD]�}y|j|||�}|SWqtk
ro}|j|kr�|}|j}q�qtk
r�t|�|kr�t|t|�|j|�}t|�}q�qXqW|dk	r�|j|_|�nt||d|��dS(Ni����s no defined alternatives to match(	R�R�R�R6R�RR�R�R�(	R�R�R�R�R�R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s$
	cCs.t|t�r!|j|�}n|j|�S(N(R�RR�R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__ior__�scCsVt|d�r|jS|jdkrOddjd�|jD��d|_n|jS(NRR�s | css|]}t|�VqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�sR�(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
*cCs3||g}x|jD]}|j|�qWdS(N(R�RB(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRB�scCsvtjr]tjr]td�|jD��r]tjdjd|t	|�j
�dd�q]ntt|�j
||�S(Ncss|]}t|t�VqdS(N(R�R(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�ss�{0}: setting results name {1!r} on {2} expression may only return a single token for an And alternative, in future will return the full list of tokensRRi(RR�RRRtR�R!R"R�R�R
RiR-R�(R�RR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
	
(R
RR�RR�RRR�R�R�RBR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR-{s					cBsAeZdZed�Zd�Zed�Zd�Zd�ZRS(ssRequires all given :class:`ParseExpression` s to be found, but in
    any order. Expressions may be separated by whitespace.

    May be constructed using the ``'&'`` operator.

    Example::

        color = oneOf("RED ORANGE YELLOW GREEN BLUE PURPLE BLACK WHITE BROWN")
        shape_type = oneOf("SQUARE CIRCLE TRIANGLE STAR HEXAGON OCTAGON")
        integer = Word(nums)
        shape_attr = "shape:" + shape_type("shape")
        posn_attr = "posn:" + Group(integer("x") + ',' + integer("y"))("posn")
        color_attr = "color:" + color("color")
        size_attr = "size:" + integer("size")

        # use Each (using operator '&') to accept attributes in any order
        # (shape and posn are required, color and size are optional)
        shape_spec = shape_attr & posn_attr & Optional(color_attr) & Optional(size_attr)

        shape_spec.runTests('''
            shape: SQUARE color: BLACK posn: 100, 120
            shape: CIRCLE size: 50 color: BLUE posn: 50,80
            color:GREEN size:20 shape:TRIANGLE posn:20,40
            '''
            )

    prints::

        shape: SQUARE color: BLACK posn: 100, 120
        ['shape:', 'SQUARE', 'color:', 'BLACK', 'posn:', ['100', ',', '120']]
        - color: BLACK
        - posn: ['100', ',', '120']
          - x: 100
          - y: 120
        - shape: SQUARE


        shape: CIRCLE size: 50 color: BLUE posn: 50,80
        ['shape:', 'CIRCLE', 'size:', '50', 'color:', 'BLUE', 'posn:', ['50', ',', '80']]
        - color: BLUE
        - posn: ['50', ',', '80']
          - x: 50
          - y: 80
        - shape: CIRCLE
        - size: 50


        color: GREEN size: 20 shape: TRIANGLE posn: 20,40
        ['color:', 'GREEN', 'size:', '20', 'shape:', 'TRIANGLE', 'posn:', ['20', ',', '40']]
        - color: GREEN
        - posn: ['20', ',', '40']
          - x: 20
          - y: 40
        - shape: TRIANGLE
        - size: 20
    cCsTtt|�j||�td�|jD��|_t|_t|_t|_	dS(Ncss|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>s(
RiR"R�R�R�R�RR�tinitExprGroupsR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�
s
		cCs3tt|�j�td�|jD��|_|S(Ncss|]}|jVqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>s(RiR"RR�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRscCs:|jrRtd�|jD��|_g|jD]}t|t�r/|j^q/}g|jD]+}|jr]t|ttf�r]|^q]}|||_	g|jD]}t|t
�r�|j^q�|_g|jD]}t|t�r�|j^q�|_
g|jD]$}t|tt
tf�s|^q|_|j|j
7_t|_n|}|j}|j	}	g}
t}x�|re||	|j|j
}g}
x�|D]�}y|j||�}Wntk
r�|
j|�q�X|
j|jjt|�|��||kr!|j|�q�||	kr�|	j|�q�q�Wt|
�t|�kr{t}q{q{W|r�djd�|D��}t||d|��n|
g|jD]*}t|t�r�|j|	kr�|^q�7}
g}x6|
D].}|j|||�\}}|j|�q�Wt|tg��}||fS(Ncss3|])}t|t�rt|j�|fVqdS(N(R�R2ROR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>ss, css|]}t|�VqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>9ss*Missing one or more required elements (%s)(R�RR�topt1mapR�R2R�R�R>t	optionalsRItmultioptionalsR0t
multirequiredtrequiredRRR�R6R�R�ROtremoveR�R�R�tsumR9(R�R�R�R�R�topt1topt2ttmpLocttmpReqdttmpOptt
matchOrdertkeepMatchingttmpExprstfailedtmissingR�R�tfinalResults((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�sP	.;
117

	

"
>
cCsVt|d�r|jS|jdkrOddjd�|jD��d|_n|jS(NRR�s & css|]}t|�VqdS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>LsR�(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Gs
*cCs3||g}x|jD]}|j|�qWdS(N(R�RB(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRBPs(	R
RR�RR�RR�R�RB(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR"�s8	1		cBs_eZdZed�Zed�Zd�Zd�Zd�Z	d�Z
d	d�Zd�Z
RS(
sfAbstract subclass of :class:`ParserElement`, for combining and
    post-processing parsed tokens.
    cCs�tt|�j|�t|t�rat|jt�rI|j|�}qa|jt|��}n||_	d|_|dk	r�|j|_|j
|_
|j|j�|j|_|j|_|j|_|jj|j�ndS(N(RiR5R�R�Rt
issubclassR�RCR+R�R�R�R�R�R:R�R�R�R�R�RC(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Zs		cCsG|jdk	r+|jj|||dt�Std||j|��dS(NR�R�(R�R�R�RR6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�lscCs>t|_|jj�|_|jdk	r:|jj�n|S(N(RR�R�RFR�R9(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR9rs
	cCs�t|t�rc||jkr�tt|�j|�|jdk	r`|jj|jd�q`q�n?tt|�j|�|jdk	r�|jj|jd�n|S(Ni����(R�RBR�RiR5R<R�R�(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR<ys cCs6tt|�j�|jdk	r2|jj�n|S(N(RiR5RR�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�scCsV||kr"t||g��n||g}|jdk	rR|jj|�ndS(N(R=R�R�RB(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRB�s
cCsV|dkrg}n||g}|jdk	rE|jj|�n|jg�dS(N(R�R�RDRB(R�RCR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRD�s	cCsuytt|�j�SWntk
r*nX|jdkrn|jdk	rnd|jjt	|j�f|_n|jS(Ns%s:(%s)(
RiR5R�R|R�R�R�R�R
R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
%N(R
RR�RR�RR�R9R<RRBR�RDR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR5Vs				cBs#eZdZd�Zed�ZRS(sbLookahead 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. If any results names are defined
    in the lookahead expression, those *will* be returned for access by
    name.

    Example::

        # use FollowedBy to match a label only if it is followed by a ':'
        data_word = Word(alphas)
        label = data_word + FollowedBy(':')
        attr_expr = Group(label + Suppress(':') + OneOrMore(data_word, stopOn=label).setParseAction(' '.join))

        OneOrMore(attr_expr).parseString("shape: SQUARE color: BLACK posn: upper left").pprint()

    prints::

        [['shape', 'SQUARE'], ['color', 'BLACK'], ['posn', 'upper left']]
    cCs#tt|�j|�t|_dS(N(RiR$R�RR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs/|jj||d|�\}}|2||fS(NR�(R�R�(R�R�R�R�t_R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s!(R
RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR$�s	cBs)eZdZdd�Zded�ZRS(spLookbehind matching of the given parse expression.
    ``PrecededBy`` does not advance the parsing position within the
    input string, it only verifies that the specified parse expression
    matches prior to the current position.  ``PrecededBy`` always
    returns a null token list, but if a results name is defined on the
    given expression, it is returned.

    Parameters:

     - expr - expression that must match prior to the current parse
       location
     - retreat - (default= ``None``) - (int) maximum number of characters
       to lookbehind prior to the current parse location

    If the lookbehind expression is a string, Literal, Keyword, or
    a Word or CharsNotIn with a specified exact or maximum length, then
    the retreat parameter is not required. Otherwise, retreat must be
    specified to give a maximum number of characters to look back from
    the current parse position for a lookbehind match.

    Example::

        # VB-style variable names with type prefixes
        int_var = PrecededBy("#") + pyparsing_common.identifier
        str_var = PrecededBy("$") + pyparsing_common.identifier

    cCs-tt|�j|�|j�j�|_t|_t|_t|_	t
|t�rmt|�}t|_	n�t
|t
tf�r�|j}t|_	nZt
|ttf�r�|jtkr�|j}t|_	n!t
|t�r�d}t|_	n||_dt|�|_t|_|jjd��dS(Nisnot preceded by cSs|jtdd��S(N(R'RR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�(RiR,R�R�R9RR�RR�R�R�R�R�R+R(RpRFRR�RhR�tretreatR�R�R�R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s*				$			icCs|jr[||jkr0t|||j��n||j}|jj||�\}}n�|jt�}|td||j�|!}t|||j�}	xttdt	||jd�d�D]I}
y&|j|t
|�|
�\}}Wntk
r}|}	q�XPq�W|	�||fS(Nii(R�R�R6R�R�R�R@R�RR�R�R4(R�R�R�R�R�R�R�t	test_exprtinstring_slicet	last_exprRJtpbe((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s 	
*&
N(R
RR�R�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR,�scBs,eZdZd�Zed�Zd�ZRS(s�Lookahead 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.

    Example::

        AND, OR, NOT = map(CaselessKeyword, "AND OR NOT".split())

        # take care not to mistake keywords for identifiers
        ident = ~(AND | OR | NOT) + Word(alphas)
        boolean_term = Optional(NOT) + ident

        # very crude boolean expression - to support parenthesis groups and
        # operation hierarchy, use infixNotation
        boolean_expr = boolean_term + ZeroOrMore((AND | OR) + boolean_term)

        # integers that are followed by "." are actually floats
        integer = Word(nums) + ~Char(".")
    cCsBtt|�j|�t|_t|_dt|j�|_	dS(NsFound unwanted token, (
RiR/R�RR�RR�R�R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�*s		cCs:|jj||�r0t|||j|��n|gfS(N(R�R�R6R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�1scCsIt|d�r|jS|jdkrBdt|j�d|_n|jS(NRs~{R�(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�6s
(R
RR�R�RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR/s	t_MultipleMatchcBs5eZdd�Zd�Zed�Zed�ZRS(cCsWtt|�j|�t|_|}t|t�rF|j|�}n|j|�dS(N(	RiR�R�RR�R�RR�tstopOn(R�R�R�tender((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�@s	cCsAt|t�r!|j|�}n|dk	r4|nd|_|S(N(R�RR�R�t	not_ender(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�HscCs|jj}|j}|jdk	}|r9|jj}n|rO|||�n||||dt�\}}y�|j}	xo|r�|||�n|	r�|||�}
n|}
|||
|�\}}|s�|j�r~||7}q~q~WWnt	t
fk
rnX||fS(NR�(R�R�R�R�R�R�RR�R7R6R(R�R�R�R�tself_expr_parsetself_skip_ignorablestcheck_endert
try_not_enderR�thasIgnoreExprsR�t	tmptokens((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Ns,	cCs�tjr�xv|jgt|jdg�D]R}t|t�r)|jr)tjdj	d|t
|�j|j�dd�q)q)Wntt
|�j||�S(NR�s]{0}: setting results name {1!r} on {2} expression collides with {3!r} on contained expressionRRi(RRR�R�R�R;R�R!R"R�R�R
RiR�R�(R�RR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ks	&N(	R
RR�R�R�RR�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�?s	cBseZdZd�ZRS(sjRepetition of one or more of the given expression.

    Parameters:
     - expr - expression that must match one or more times
     - stopOn - (default= ``None``) - expression for a terminating sentinel
          (only required if the sentinel would ordinarily match the repetition
          expression)

    Example::

        data_word = Word(alphas)
        label = data_word + FollowedBy(':')
        attr_expr = Group(label + Suppress(':') + OneOrMore(data_word).setParseAction(' '.join))

        text = "shape: SQUARE posn: upper left color: BLACK"
        OneOrMore(attr_expr).parseString(text).pprint()  # Fail! read 'color' as data instead of next label -> [['shape', 'SQUARE color']]

        # use stopOn attribute for OneOrMore to avoid reading label string as part of the data
        attr_expr = Group(label + Suppress(':') + OneOrMore(data_word, stopOn=label).setParseAction(' '.join))
        OneOrMore(attr_expr).parseString(text).pprint() # Better -> [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'BLACK']]

        # could also be written as
        (attr_expr * (1,)).parseString(text).pprint()
    cCsIt|d�r|jS|jdkrBdt|j�d|_n|jS(NRR�s}...(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR0yscBs/eZdZdd�Zed�Zd�ZRS(skOptional repetition of zero or more of the given expression.

    Parameters:
     - expr - expression that must match zero or more times
     - stopOn - (default= ``None``) - expression for a terminating sentinel
          (only required if the sentinel would ordinarily match the repetition
          expression)

    Example: similar to :class:`OneOrMore`
    cCs)tt|�j|d|�t|_dS(NR�(RiRIR�RR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCsEy tt|�j|||�SWnttfk
r@|gfSXdS(N(RiRIR�R6R(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s cCsIt|d�r|jS|jdkrBdt|j�d|_n|jS(NRRQs]...(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
N(R
RR�R�R�RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRI�s
t
_NullTokencBs eZd�ZeZd�ZRS(cCstS(N(R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR*�scCsdS(NR�((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR*R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s	cBs8eZdZe�Zed�Zed�Zd�ZRS(sGOptional matching of the given expression.

    Parameters:
     - expr - expression that must match zero or more times
     - default (optional) - value to be returned if the optional expression is not found.

    Example::

        # US postal code can be a 5-digit zip, plus optional 4-digit qualifier
        zip = Combine(Word(nums, exact=5) + Optional('-' + Word(nums, exact=4)))
        zip.runTests('''
            # traditional ZIP code
            12345

            # ZIP+4 form
            12101-0001

            # invalid ZIP
            98765-
            ''')

    prints::

        # traditional ZIP code
        12345
        ['12345']

        # ZIP+4 form
        12101-0001
        ['12101-0001']

        # invalid ZIP
        98765-
             ^
        FAIL: Expected end of text (at char 5), (line:1, col:6)
    cCsAtt|�j|dt�|jj|_||_t|_dS(NR�(	RiR2R�RR�R�R>RR�(R�R�R8((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	cCs�y(|jj|||dt�\}}Wnrttfk
r�|j|jk	r�|jjr�t|jg�}|j||jj<q�|jg}q�g}nX||fS(NR�(	R�R�RR6RR>t_Optional__optionalNotMatchedR�R9(R�R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(
cCsIt|d�r|jS|jdkrBdt|j�d|_n|jS(NRRQRR(R/RR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
(	R
RR�RRR�RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR2�s
$	cBs,eZdZeddd�Zed�ZRS(s�	Token for skipping over all undefined text until the matched
    expression is found.

    Parameters:
     - expr - target expression marking the end of the data to be skipped
     - include - (default= ``False``) if True, the target expression is also parsed
          (the skipped text and target expression are returned as a 2-element list).
     - ignore - (default= ``None``) used to define grammars (typically quoted strings and
          comments) that might contain false matches to the target expression
     - failOn - (default= ``None``) define expressions that are not allowed to be
          included in the skipped test; if found before the target expression is found,
          the SkipTo is not a match

    Example::

        report = '''
            Outstanding Issues Report - 1 Jan 2000

               # | Severity | Description                               |  Days Open
            -----+----------+-------------------------------------------+-----------
             101 | Critical | Intermittent system crash                 |          6
              94 | Cosmetic | Spelling error on Login ('log|n')         |         14
              79 | Minor    | System slow when running too many reports |         47
            '''
        integer = Word(nums)
        SEP = Suppress('|')
        # use SkipTo to simply match everything up until the next SEP
        # - ignore quoted strings, so that a '|' character inside a quoted string does not match
        # - parse action will call token.strip() for each matched token, i.e., the description body
        string_data = SkipTo(SEP, ignore=quotedString)
        string_data.setParseAction(tokenMap(str.strip))
        ticket_expr = (integer("issue_num") + SEP
                      + string_data("sev") + SEP
                      + string_data("desc") + SEP
                      + integer("days_open"))

        for tkt in ticket_expr.searchString(report):
            print tkt.dump()

    prints::

        ['101', 'Critical', 'Intermittent system crash', '6']
        - days_open: 6
        - desc: Intermittent system crash
        - issue_num: 101
        - sev: Critical
        ['94', 'Cosmetic', "Spelling error on Login ('log|n')", '14']
        - days_open: 14
        - desc: Spelling error on Login ('log|n')
        - issue_num: 94
        - sev: Cosmetic
        ['79', 'Minor', 'System slow when running too many reports', '47']
        - days_open: 47
        - desc: System slow when running too many reports
        - issue_num: 79
        - sev: Minor
    cCs�tt|�j|�||_t|_t|_||_t|_	t
|t�rg|j|�|_
n	||_
dt|j�|_dS(NsNo match found for (RiR?R�t
ignoreExprRR�RR�tincludeMatchR�R�RR�tfailOnR�R�R�(R�RGtincludeR<R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�@s						cCs�|}t|�}|j}|jj}|jdk	rB|jjnd}|jdk	rc|jjnd}	|}
x�|
|kr#|dk	r�|||
�r�Pq�n|	dk	r�x/y|	||
�}
Wq�tk
r�Pq�Xq�Wny|||
dt	dt	�Wn!t
tfk
r|
d7}
qrXPqrWt
|||j|��|
}|||!}t
|�}|jr�||||dt	�\}}
||
7}n||fS(NR�R�i(R�R�R�RR�R�RR�R4RR6RR�R9R(R�R�R�R�R�R�R�t
expr_parsetself_failOn_canParseNexttself_ignoreExpr_tryParsettmploctskiptextt
skipresultR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Ms<	!!

	
N(R
RR�RR�R�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR?s9
cBsheZdZd
d�Zd�Zd�Zd�Zd�Zd
d�Z	d�Z
d�Zed	�Z
RS(s_Forward 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)

    Converting to use the '<<=' operator instead will avoid this problem.

    See :class:`ParseResults.pprint` for an example of a recursive
    parser created using ``Forward``.
    cCs tt|�j|dt�dS(NR�(RiR%R�R(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs�t|t�r!|j|�}n||_d|_|jj|_|jj|_|j|jj	�|jj
|_
|jj|_|jj
|jj�|S(N(R�RR�R�R�R�R�R�R:R�R�R�R�RC(R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
__lshift__�s		cCs||>S(N((R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__ilshift__�scCs
t|_|S(N(RR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR9�s	cCs8|js4t|_|jdk	r4|jj�q4n|S(N(R�RR�R�R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s
		cCse|dkrg}n||krT||g}|jdk	rT|jj|�qTn|jg�dS(N(R�R�RDRB(R�RCR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRD�s	cCs�t|d�r|jS|jdk	r,|jSd|_d}z/|jdk	rct|j�d }nd}Wd|jjd||_X|jS(NRs: ...s...i�R�s: (R/RR�R�R�R�R�R
(R�t	retString((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	
cCs=|jdk	r"tt|�j�St�}||K}|SdS(N(R�R�RiR%RF(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRF�s
	
cCsbtjrI|jdkrItjdjd|t|�j�dd�qInt	t
|�j||�S(NsR{0}: setting results name {0!r} on {1} expression that has no contained expressionRRi(RRR�R�R!R"R�R�R
RiR%R�(R�RR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s	
N(R
RR�R�R�RRR9RRDR�RFRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR%|s	
			
		cBseZdZed�ZRS(sW
    Abstract subclass of :class:`ParseExpression`, for converting parsed results.
    cCs#tt|�j|�t|_dS(N(RiRDR�RR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR�RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRD�scBs/eZdZded�Zd�Zd�ZRS(s�Converter 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.

    Example::

        real = Word(nums) + '.' + Word(nums)
        print(real.parseString('3.1416')) # -> ['3', '.', '1416']
        # will also erroneously match the following
        print(real.parseString('3. 1416')) # -> ['3', '.', '1416']

        real = Combine(Word(nums) + '.' + Word(nums))
        print(real.parseString('3.1416')) # -> ['3.1416']
        # no match when there are internal spaces
        print(real.parseString('3. 1416')) # -> Exception: Expected W:(0123...)
    R�cCsQtt|�j|�|r)|j�n||_t|_||_t|_dS(N(	RiR R�R9tadjacentRR�t
joinStringR�(R�R�RR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s
			cCs6|jrtj||�ntt|�j|�|S(N(RR;R<RiR (R�RG((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR<
s	cCse|j�}|2|tdj|j|j��gd|j�7}|jr]|j�r]|gS|SdS(NR�R(RFR9R�RSRR�R�R7(R�R�R�R�tretToks((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s1(R
RR�RR�R<R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR �s
	cBs eZdZd�Zd�ZRS(sConverter to return the matched tokens as a list - useful for
    returning tokens of :class:`ZeroOrMore` and :class:`OneOrMore` expressions.

    Example::

        ident = Word(alphas)
        num = Word(nums)
        term = ident | num
        func = ident + Optional(delimitedList(term))
        print(func.parseString("fn a, b, 100"))  # -> ['fn', 'a', 'b', '100']

        func = ident + Group(Optional(delimitedList(term)))
        print(func.parseString("fn a, b, 100"))  # -> ['fn', ['a', 'b', '100']]
    cCs#tt|�j|�t|_dS(N(RiR'R�RR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�*scCs|gS(N((R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�.s(R
RR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR's	cBs eZdZd�Zd�ZRS(s?Converter 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.

    Example::

        data_word = Word(alphas)
        label = data_word + FollowedBy(':')
        attr_expr = Group(label + Suppress(':') + OneOrMore(data_word).setParseAction(' '.join))

        text = "shape: SQUARE posn: upper left color: light blue texture: burlap"
        attr_expr = (label + Suppress(':') + OneOrMore(data_word, stopOn=label).setParseAction(' '.join))

        # print attributes as plain groups
        print(OneOrMore(attr_expr).parseString(text).dump())

        # instead of OneOrMore(expr), parse using Dict(OneOrMore(Group(expr))) - Dict will auto-assign names
        result = Dict(OneOrMore(Group(attr_expr))).parseString(text)
        print(result.dump())

        # access named fields as dict entries, or output as dict
        print(result['shape'])
        print(result.asDict())

    prints::

        ['shape', 'SQUARE', 'posn', 'upper left', 'color', 'light blue', 'texture', 'burlap']
        [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']]
        - color: light blue
        - posn: upper left
        - shape: SQUARE
        - texture: burlap
        SQUARE
        {'color': 'light blue', 'posn': 'upper left', 'texture': 'burlap', 'shape': 'SQUARE'}

    See more examples at :class:`ParseResults` of accessing fields by results name.
    cCs#tt|�j|�t|_dS(N(RiR!R�RR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�XscCsTx9t|�D]+\}}t|�dkr1q
n|d}t|t�rct|d�j�}nt|�dkr�td|�||<q
t|�dkr�t|dt�r�t|d|�||<q
|j�}|d=t|�dkst|t�r!|j	�r!t||�||<q
t|d|�||<q
W|j
rL|gS|SdS(NiiR�i(R�R�R�R�R�R�R�R9RFR7R�(R�R�R�R�R�ttoktikeyt	dictvalue((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�\s$
&-	(R
RR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR!1s&	cBs eZdZd�Zd�ZRS(s[Converter for ignoring the results of a parsed expression.

    Example::

        source = "a, b, c,d"
        wd = Word(alphas)
        wd_list1 = wd + ZeroOrMore(',' + wd)
        print(wd_list1.parseString(source))

        # often, delimiters that are useful during parsing are just in the
        # way afterward - use Suppress to keep them out of the parsed output
        wd_list2 = wd + ZeroOrMore(Suppress(',') + wd)
        print(wd_list2.parseString(source))

    prints::

        ['a', ',', 'b', ',', 'c', ',', 'd']
        ['a', 'b', 'c', 'd']

    (See also :class:`delimitedList`.)
    cCsgS(N((R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs|S(N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR8�s(R
RR�R�R8(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRBus	cBs)eZdZd�Zd�Zd�ZRS(sDWrapper for parse actions, to ensure they are only called once.
    cCst|�|_t|_dS(N(R�R�Rtcalled(R�t
methodCall((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCsA|js+|j|||�}t|_|St||d��dS(NR�(RR�RR6(R�R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR7�s
		cCs
t|_dS(N(RR(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytreset�s(R
RR�R�R7R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR1�s		csCt����fd�}y�j|_Wntk
r>nX|S(sqDecorator for debugging parse actions.

    When the parse action is called, this decorator will print
    ``">> entering method-name(line:<current_source_line>, <parse_location>, <matched_tokens>)"``.
    When the parse action completes, the decorator will print
    ``"<<"`` followed by the returned value, or any exception that the parse action raised.

    Example::

        wd = Word(alphas)

        @traceParseAction
        def remove_duplicate_chars(tokens):
            return ''.join(sorted(set(''.join(tokens))))

        wds = OneOrMore(wd).setParseAction(remove_duplicate_chars)
        print(wds.parseString("slkdjs sld sldd sdlf sdljf"))

    prints::

        >>entering remove_duplicate_chars(line: 'slkdjs sld sldd sdlf sdljf', 0, (['slkdjs', 'sld', 'sldd', 'sdlf', 'sdljf'], {}))
        <<leaving remove_duplicate_chars (ret: 'dfjkls')
        ['dfjkls']
    cs��j}|d\}}}t|�dkrI|djjd|}ntjjd|t||�||f�y�|�}Wn0tk
r�}tjjd||f��nXtjjd||f�|S(Ni����iit.s">>entering %s(line: '%s', %d, %r)
s<<leaving %s (exception: %s)
s<<leaving %s (ret: %r)
(R
R�R�R�tstderrRXR_R|(tpaArgstthisFuncR�R�R�R�R�(RJ(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytz�s	)(R�R
R�(RJR((RJs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRz�s

t,cCsxt|�dt|�dt|�d}|rSt|t||��j|�S|tt|�|�j|�SdS(s�Helper to define a delimited list of expressions - the delimiter
    defaults to ','. By default, the list elements and delimiters can
    have intervening whitespace, and comments, but this can be
    overridden by passing ``combine=True`` in the constructor. If
    ``combine`` is set to ``True``, the matching tokens are
    returned as a single token string, with the delimiters included;
    otherwise, the matching tokens are returned as a list of tokens,
    with the delimiters suppressed.

    Example::

        delimitedList(Word(alphas)).parseString("aa,bb,cc") # -> ['aa', 'bb', 'cc']
        delimitedList(Word(hexnums), delim=':', combine=True).parseString("AA:BB:CC:DD:EE") # -> ['AA:BB:CC:DD:EE']
    s [R�s]...N(R�R RIR�RB(R�tdelimtcombinetdlName((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRX�s,!cs�t����fd�}|dkrBtt�jd��}n|j�}|jd�|j|dt�|�jdt	��d�S(s>Helper to define a counted list of expressions.

    This helper defines a pattern of the form::

        integer expr expr expr...

    where the leading integer tells how many expr expressions follow.
    The matched tokens returns the array of expr tokens as a list - the
    leading count token is suppressed.

    If ``intExpr`` is specified, it should be a pyparsing expression
    that produces an integer value.

    Example::

        countedArray(Word(alphas)).parseString('2 ab cd ef')  # -> ['ab', 'cd']

        # in this parser, the leading integer value is given in binary,
        # '10' indicating that 2 values are in the array
        binaryConstant = Word('01').setParseAction(lambda t: int(t[0], 2))
        countedArray(Word(alphas), intExpr=binaryConstant).parseString('10 ab cd ef')  # -> ['ab', 'cd']
    cs;|d}�|r,tt�g|��p5tt�>gS(Ni(R'RR[(R�R�R�R'(t	arrayExprR�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytcountFieldParseAction�s
-cSst|d�S(Ni(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�R�tarrayLenR�s(len) s...N(
R%R�RFRjR�RFR�R�RR�(R�tintExprR%((R$R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRT�s	
cCsMg}x@|D]8}t|t�r8|jt|��q
|j|�q
W|S(N(R�RRCRR�(tLR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR
s
csFt���fd�}|j|dt��jdt|���S(s4Helper 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
    :class:`matchPreviousExpr`. Do *not* use with packrat parsing
    enabled.
    csc|rTt|�dkr'�|d>q_t|j��}�td�|D��>n�t�>dS(Niicss|]}t|�VqdS(N(R+(R�ttt((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>*s(R�RRRR#(R�R�R�ttflat(trep(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytcopyTokenToRepeater#sR�s(prev) (R%R�RR�R�(R�R,((R+s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRgs
	
cs\t��|j�}�|K��fd�}|j|dt��jdt|���S(sTHelper 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|j����fd�}�j|dt�dS(Ncs7t|j��}|�kr3tddd��ndS(NR�i(RRR6(R�R�R�ttheseTokens(tmatchTokens(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytmustMatchTheseTokensEsR�(RRR�R(R�R�R�R/(R+(R.s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR,CsR�s(prev) (R%RFR�RR�R�(R�te2R,((R+s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRf1s	
cCsUx$dD]}|j|t|�}qW|jdd�}|jdd�}t|�S(Ns\^-[]s
s\ns	s\t(R�t_bslashR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�Ns

cs�t|t�r%tjddd�n|rRd�}d�}|rItnt�n$d�}d�}|rptnt�g}t|t�r�|j�}n4t|t	�r�t
|�}ntjdtdd�|s�t�S|s�d	}x�|t
|�d
kr�||}x�t||d
�D]`\}	}
||
|�rM|||	d
=Pq|||
�r|||	d
=|j||
�PqqW|d
7}q�Wn|p�|r[|r[y�t
|�t
dj|��kr�tddjd
�|D���jdj|��Stdjd�|D���jdj|��SWq[tk
rWtjdtdd�q[Xnt�fd�|D��jdj|��S(s�Helper 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 :class:`MatchFirst` for best performance.

    Parameters:

     - strs - a string of space-delimited literals, or a collection 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 :class:`MatchFirst` object (if ``caseless=True`` or ``asKeyword=True``, or if
       creating a :class:`Regex` raises an exception)
     - asKeyword - (default=``False``) - enforce Keyword-style matching on the
       generated expressions

    Example::

        comp_oper = oneOf("< = > <= >= !=")
        var = Word(alphas)
        number = Word(nums)
        term = var | number
        comparison_expr = term + comp_oper + term
        print(comparison_expr.searchString("B = 12  AA=23 B<=AA AA>12"))

    prints::

        [['B', '=', '12'], ['AA', '=', '23'], ['B', '<=', 'AA'], ['AA', '>', '12']]
    s_More than one string argument passed to oneOf, pass choices as a list or space-delimited stringRicSs|j�|j�kS(N(Rw(RItb((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�{R�cSs|j�j|j��S(N(RwRt(RIR2((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�|R�cSs
||kS(N((RIR2((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�R�cSs
|j|�S(N(Rt(RIR2((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�s6Invalid argument to oneOf, expected string or iterableiiR�s[%s]css|]}t|�VqdS(N(R�(R�tsym((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�ss | t|css|]}tj|�VqdS(N(R�R�(R�R3((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�ss7Exception creating Regex for oneOf, building MatchFirstc3s|]}�|�VqdS(N((R�R3(tparseElementClass(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�s(R�RR!R"RRR(R+R�RRR#R.R�R�R?R�R>R�R|R-(tstrsRvtuseRegexR�tisequaltmaskstsymbolsR�tcurR$RG((R5s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRkVsR 
					

!!33
	cCsttt||���S(s�Helper to easily and clearly define a dictionary by specifying
    the respective patterns for the key and value.  Takes care of
    defining the :class:`Dict`, :class:`ZeroOrMore`, and
    :class:`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 :class:`Dict` results
    can include named token fields.

    Example::

        text = "shape: SQUARE posn: upper left color: light blue texture: burlap"
        attr_expr = (label + Suppress(':') + OneOrMore(data_word, stopOn=label).setParseAction(' '.join))
        print(OneOrMore(attr_expr).parseString(text).dump())

        attr_label = label
        attr_value = Suppress(':') + OneOrMore(data_word, stopOn=label).setParseAction(' '.join)

        # similar to Dict, but simpler call format
        result = dictOf(attr_label, attr_value).parseString(text)
        print(result.dump())
        print(result['shape'])
        print(result.shape)  # object attribute access works too
        print(result.asDict())

    prints::

        [['shape', 'SQUARE'], ['posn', 'upper left'], ['color', 'light blue'], ['texture', 'burlap']]
        - color: light blue
        - posn: upper left
        - shape: SQUARE
        - texture: burlap
        SQUARE
        SQUARE
        {'color': 'light blue', 'shape': 'SQUARE', 'posn': 'upper left', 'texture': 'burlap'}
    (R!R0R'(R=R%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRY�s%cCs|t�jd��}|j�}t|_|d�||d�}|rVd�}n	d�}|j|�|j|_|S(s�Helper to return the original, untokenized text for a given
    expression.  Useful to restore the parsed fields of an HTML start
    tag into the raw tag text itself, or to revert separate tokens with
    intervening whitespace back to the original matching input text. By
    default, returns astring containing the original parsed text.

    If the optional ``asString`` argument is passed as
    ``False``, then the return value is
    a :class:`ParseResults` containing any results names that
    were originally matched, and a single token containing the original
    matched text from the input string.  So if the expression passed to
    :class:`originalTextFor` contains expressions with defined
    results names, you must set ``asString`` to ``False`` if you
    want to preserve those results name values.

    Example::

        src = "this is test <b> bold <i>text</i> </b> normal text "
        for tag in ("b", "i"):
            opener, closer = makeHTMLTags(tag)
            patt = originalTextFor(opener + SkipTo(closer) + closer)
            print(patt.searchString(src)[0])

    prints::

        ['<b> bold <i>text</i> </b>']
        ['<i>text</i>']
    cSs|S(N((R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�t_original_startt
_original_endcSs||j|j!S(N(R<R=(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�cSs'||jd�|jd�!g|(dS(NR<R=(R<(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytextractText�s(R#R�RFRR�R�(R�tasStringt	locMarkertendlocMarkert	matchExprR>((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s		
cCst|�jd��S(skHelper to undo pyparsing's default grouping of And expressions,
    even if all but one are non-empty.
    cSs|dS(Ni((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�R�(RDR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCsEt�jd��}t|d�|d�|j�j�d��S(s�Helper to decorate a returned token with its starting and ending
    locations in the input string.

    This helper adds the following results names:

     - locn_start = location where matched expression begins
     - locn_end = location where matched expression ends
     - value = the actual parsed results

    Be careful if the input text contains ``<TAB>`` characters, you
    may want to call :class:`ParserElement.parseWithTabs`

    Example::

        wd = Word(alphas)
        for match in locatedExpr(wd).searchString("ljsdf123lksdjjf123lkkjj1222"):
            print(match)

    prints::

        [[0, 'ljsdf', 5]]
        [[8, 'lksdjjf', 15]]
        [[18, 'lkkjj', 23]]
    cSs|S(N((R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�R�t
locn_startR%tlocn_end(R#R�R'RFR9(R�tlocator((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ss\[]-*.$+^?()~ R�cCs|ddS(Nii((R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�(R�s\\0?[xX][0-9a-fA-F]+cCs tt|djd�d��S(Nis\0xi(tunichrR�RY(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�)R�s	\\0[0-7]+cCstt|ddd��S(Niii(RFR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�*R�s\]R�RQR�tnegatetbodyRRcsOd��y-dj�fd�tj|�jD��SWntk
rJdSXdS(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 ``'\x'``
       (``\x21``, which is a ``'!'`` character) (``\0x##``
       is also supported for backwards compatibility)
     - 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.)
    cSsKt|t�s|Sdjd�tt|d�t|d�d�D��S(NR�css|]}t|�VqdS(N(RF(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>Isii(R�R9R�Rtord(tp((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�IR�R�c3s|]}�|�VqdS(N((R�tpart(t	_expanded(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>KsN(R�t_reBracketExprR
RHR|(R�((RLs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRw/s
	-
cs�fd�}|S(soHelper method for defining parse actions that require matching at
    a specific column in the input text.
    cs2t||��kr.t||d���ndS(Nsmatched token not at column %d(RQR6(R�tlocnR�(R'(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	verifyColSs((R'RO((R's�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyReOscs
�fd�S(s�Helper method for common parse actions that simply return
    a literal value.  Especially useful when used with
    :class:`transformString<ParserElement.transformString>` ().

    Example::

        num = Word(nums).setParseAction(lambda toks: int(toks[0]))
        na = oneOf("N/A NA").setParseAction(replaceWith(math.nan))
        term = na | num

        OneOrMore(term).parseString("324 234 N/A 234") # -> [324, 234, nan, 234]
    cs�gS(N((R�R�R�(treplStr(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�eR�((RP((RPs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRtXs
cCs|ddd!S(sHelper parse action for removing quotation marks from parsed
    quoted strings.

    Example::

        # by default, quotation marks are included in parsed results
        quotedString.parseString("'Now is the Winter of our Discontent'") # -> ["'Now is the Winter of our Discontent'"]

        # use removeQuotes to strip quotation marks from parsed results
        quotedString.setParseAction(removeQuotes)
        quotedString.parseString("'Now is the Winter of our Discontent'") # -> ["Now is the Winter of our Discontent"]
    iii����((R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRrgs
csa��fd�}y"t�dt�d�j�}Wntk
rSt��}nX||_|S(sLHelper to define a parse action by mapping a function to all
    elements of a ParseResults list. If any additional args are passed,
    they are forwarded to the given function as additional arguments
    after the token, as in
    ``hex_integer = Word(hexnums).setParseAction(tokenMap(int, 16))``,
    which will convert the parsed data to an integer using base 16.

    Example (compare the last to example in :class:`ParserElement.transformString`::

        hex_ints = OneOrMore(Word(hexnums)).setParseAction(tokenMap(int, 16))
        hex_ints.runTests('''
            00 11 22 aa FF 0a 0d 1a
            ''')

        upperword = Word(alphas).setParseAction(tokenMap(str.upper))
        OneOrMore(upperword).runTests('''
            my kingdom for a horse
            ''')

        wd = Word(alphas).setParseAction(tokenMap(str.title))
        OneOrMore(wd).setParseAction(' '.join).runTests('''
            now is the winter of our discontent made glorious summer by this sun of york
            ''')

    prints::

        00 11 22 aa FF 0a 0d 1a
        [0, 17, 34, 170, 255, 10, 13, 26]

        my kingdom for a horse
        ['MY', 'KINGDOM', 'FOR', 'A', 'HORSE']

        now is the winter of our discontent made glorious summer by this sun of york
        ['Now Is The Winter Of Our Discontent Made Glorious Summer By This Sun Of York']
    cs g|D]}�|��^qS(N((R�R�R�ttokn(R�R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��sR
R�(R�R
R|R�(R�R�R�R�((R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�vs$	
	cCst|�j�S(N(R�Rw(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�cCst|�j�S(N(R�tlower(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�R\R]cst|t�r+|�t|d|�}n	|j�tttd�}|r�tj�j	t
�}||d�ttt
|td�|���tddtg�d�j	d��|}n�tj�j	t
�ttd	d
�B}||d�ttt
|j	t�ttd�|����tddtg�d�j	d��|}ttd�|d
d
t�}|jd��|j�fd��|ddj�jdd�j�j���jd��}�|_�|_t|��|_||fS(sRInternal helper to construct opening and closing tag expressions, given a tag nameRvs_-:ttagt=t/R8R[cSs|ddkS(NiRU((R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�R�R]cSs|ddkS(NiRU((R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�s</Rs<%s>cs;|jddj�jdd�j�j��|j��S(NR�R�t:R�(RR�R�ttitleR�RF(R�(tresname(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�R�R�RVR�s</%s>(R�RR(RRFRLRKRVRFR�RrR!RIR'RBR2RRqRnRZR t_LR�R�R�R�RWR�RSR?ttag_body(ttagStrtxmltsuppress_LTtsuppress_GTttagAttrNamettagAttrValuetopenTagtcloseTag((RXs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	_makeTags�s$	`%l >		cCs
t|t�S(sKHelper to construct opening and closing tag expressions for HTML,
    given a tag name. Matches tags in either upper or lower case,
    attributes with namespaces and with quoted or unquoted values.

    Example::

        text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
        # makeHTMLTags returns pyparsing expressions for the opening and
        # closing tags as a 2-tuple
        a, a_end = makeHTMLTags("A")
        link_expr = a + SkipTo(a_end)("link_text") + a_end

        for link in link_expr.searchString(text):
            # attributes in the <A> tag (like "href" shown here) are
            # also accessible as named results
            print(link.link_text, '->', link.href)

    prints::

        pyparsing -> https://github.com/pyparsing/pyparsing/wiki
    (RcR(R[((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRc�scCs
t|t�S(s�Helper to construct opening and closing tag expressions for XML,
    given a tag name. Matches tags only in the given upper/lower case.

    Example: similar to :class:`makeHTMLTags`
    (RcR(R[((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRd�scsT|r|�n|j��g�D]\}}||f^q#��fd�}|S(s7Helper to create a validating parse action to be used with start
    tags created with :class:`makeXMLTags` or
    :class:`makeHTMLTags`. Use ``withAttribute`` to qualify
    a starting tag with a required attribute value, to avoid false
    matches on common tags such as ``<TD>`` or ``<DIV>``.

    Call ``withAttribute`` with a series of attribute names and
    values. Specify the list of filter attributes names and values as:

     - keyword arguments, as in ``(align="right")``, or
     - as an explicit dict with ``**`` operator, when an attribute
       name is also a Python reserved word, as in ``**{"class":"Customer", "align":"right"}``
     - 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.

    If just testing for ``class`` (with or without a namespace), use
    :class:`withClass`.

    To verify that the attribute exists, but without specifying a value,
    pass ``withAttribute.ANY_VALUE`` as the value.

    Example::

        html = '''
            <div>
            Some text
            <div type="grid">1 4 0 1 0</div>
            <div type="graph">1,3 2,3 1,1</div>
            <div>this has no type</div>
            </div>

        '''
        div,div_end = makeHTMLTags("div")

        # only match div tag having a type attribute with value "grid"
        div_grid = div().setParseAction(withAttribute(type="grid"))
        grid_expr = div_grid + SkipTo(div | div_end)("body")
        for grid_header in grid_expr.searchString(html):
            print(grid_header.body)

        # construct a match with any div tag having a type attribute, regardless of the value
        div_any_type = div().setParseAction(withAttribute(type=withAttribute.ANY_VALUE))
        div_expr = div_any_type + SkipTo(div | div_end)("body")
        for div_header in div_expr.searchString(html):
            print(div_header.body)

    prints::

        1 4 0 1 0

        1 4 0 1 0
        1,3 2,3 1,1
    cs�x~�D]v\}}||kr8t||d|��n|tjkr|||krt||d||||f��qqWdS(Nsno matching attribute s+attribute '%s' has value '%s', must be '%s'(R6R}t	ANY_VALUE(R�R�R�tattrNamet	attrValue(tattrs(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�0s(R (R�tattrDictRRR�((Rgs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR}�s8
%cCs'|rd|nd}ti||6�S(s�Simplified version of :class:`withAttribute` when
    matching on a div class - made difficult because ``class`` is
    a reserved word in Python.

    Example::

        html = '''
            <div>
            Some text
            <div class="grid">1 4 0 1 0</div>
            <div class="graph">1,3 2,3 1,1</div>
            <div>this &lt;div&gt; has no class</div>
            </div>

        '''
        div,div_end = makeHTMLTags("div")
        div_grid = div().setParseAction(withClass("grid"))

        grid_expr = div_grid + SkipTo(div | div_end)("body")
        for grid_header in grid_expr.searchString(html):
            print(grid_header.body)

        div_any_type = div().setParseAction(withClass(withAttribute.ANY_VALUE))
        div_expr = div_any_type + SkipTo(div | div_end)("body")
        for div_header in div_expr.searchString(html):
            print(div_header.body)

    prints::

        1 4 0 1 0

        1 4 0 1 0
        1,3 2,3 1,1
    s%s:classtclass(R}(t	classnamet	namespacet	classattr((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�:s#t(R�cCs}dtfd��Y}t�}||||B}x;t|�D]-\}}|d
d \}	}
}}|
dkrzd|	nd|	}
|
dkr�|	dks�t|	�dkr�td��n|	\}}nt�j|
�}|tjkr�|
d	kr |||	�t	|t
|	��}q|
dkr�|	dk	rg|||	|�t	|t
|	|��}q�|||�t	|t
|��}q|
dkr�||||||�t	|t
||||��}qtd
��n+|tjkr|
d	krEt|	t
�s!t
|	�}	n||	j|�t	|	|�}q|
dkr�|	dk	r�|||	|�t	|t
|	|��}q|||�t	|t
|��}q|
dkr�||||||�t	|||||�}qtd
��ntd��|rNt|ttf�r>|j|�qN|j|�n||j|
�|BK}|}q>W||K}|S(sl
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. The generated parser will also
    recognize the use of parentheses to override operator precedences
    (see example below).

    Note: if you define a deep operator list, you may see performance
    issues when using infixNotation. See
    :class:`ParserElement.enablePackrat` for a mechanism to potentially
    improve your parser performance.

    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); if the parse action is passed
         a tuple or list of functions, this is equivalent to calling
         ``setParseAction(*fn)``
         (:class:`ParserElement.setParseAction`)
     - lpar - expression for matching left-parentheses
       (default= ``Suppress('(')``)
     - rpar - expression for matching right-parentheses
       (default= ``Suppress(')')``)

    Example::

        # simple example of four-function arithmetic with ints and
        # variable names
        integer = pyparsing_common.signed_integer
        varname = pyparsing_common.identifier

        arith_expr = infixNotation(integer | varname,
            [
            ('-', 1, opAssoc.RIGHT),
            (oneOf('* /'), 2, opAssoc.LEFT),
            (oneOf('+ -'), 2, opAssoc.LEFT),
            ])

        arith_expr.runTests('''
            5+3*6
            (5+3)*6
            -2--11
            ''', fullDump=False)

    prints::

        5+3*6
        [[5, '+', [3, '*', 6]]]

        (5+3)*6
        [[[5, '+', 3], '*', 6]]

        -2--11
        [[['-', 2], '-', ['-', 11]]]
    t_FBcBseZed�ZRS(cSs|jj||�|gfS(N(R�R�(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRn�siis%s terms	%s%s termis@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%R�R�R�R*R�RltLEFTR'R0tRIGHTR�R2R�R)RR�(tbaseExprtopListtlpartrparRnR�tlastExprR�toperDeftopExprtaritytrightLeftAssocR�ttermNametopExpr1topExpr2tthisExprRB((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�dsZH	 '/'&$/' 

s4"(?:[^"\n\r\\]|(?:"")|(?:\\(?:[^x]|x[0-9a-fA-F]+)))*t"s string enclosed in double quotess4'(?:[^'\n\r\\]|(?:'')|(?:\\(?:[^x]|x[0-9a-fA-F]+)))*t's string enclosed in single quotess*quotedString using single or double quotestusunicode string literalcCs!||krtd��n|d
kr�t|t�rt|t�rt|�dkr�t|�dkr�|d
k	r�tt|t||tj	dd���j
d��}q|tj�t||tj	�j
d��}q�|d
k	r9tt|t
|�t
|�ttj	dd���j
d��}q�ttt
|�t
|�ttj	dd���j
d��}q�td��nt�}|d
k	r�|tt|�t||B|B�t|��K}n.|tt|�t||B�t|��K}|jd	||f�|S(s�	Helper 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= :class:`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
    :class:`Or` or :class:`MatchFirst`. The default is
    :class:`quotedString`, but if no expressions are to be ignored, then
    pass ``None`` for this argument.

    Example::

        data_type = oneOf("void int short long char float double")
        decl_data_type = Combine(data_type + Optional(Word('*')))
        ident = Word(alphas+'_', alphanums+'_')
        number = pyparsing_common.number
        arg = Group(decl_data_type + ident)
        LPAR, RPAR = map(Suppress, "()")

        code_body = nestedExpr('{', '}', ignoreExpr=(quotedString | cStyleComment))

        c_function = (decl_data_type("type")
                      + ident("name")
                      + LPAR + Optional(delimitedList(arg), [])("args") + RPAR
                      + code_body("body"))
        c_function.ignore(cStyleComment)

        source_code = '''
            int is_odd(int x) {
                return (x%2);
            }

            int dec_to_hex(char hchar) {
                if (hchar >= '0' && hchar <= '9') {
                    return (ord(hchar)-ord('0'));
                } else {
                    return (10+ord(hchar)-ord('A'));
                }
            }
        '''
        for func in c_function.searchString(source_code):
            print("%(name)s (%(type)s) args: %(args)s" % func)


    prints::

        is_odd (int) args: [['int', 'x']]
        dec_to_hex (int) args: [['char', 'hchar']]
    s.opening and closing strings cannot be the sameiR�cSs|dj�S(Ni(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�;R�cSs|dj�S(Ni(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�@R�cSs|dj�S(Ni(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�GR�cSs|dj�S(Ni(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�LR�sOopening and closing arguments must be strings if no content expression is givensnested %s%s expressionN(R*R�R�RR�R R0RR;R�R�R[RFR+R%R'RBRIR�(topenertclosertcontentRR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRh�s6A$
!61	5.cs�����fd���fd�}�fd�}�fd�}tt�jd�j�dt��}t�t�j|�jd�}t�j|�jd�}t�j|�jd	�}	|rtt	|�|t|t|�t	|�dt��|	�}
n=tt	|�t|t|�t	|�dt��|	�}
|
j
�fd
��|jtt��|
jd�S(s�Helper 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 current level; set to False for block of left-most
       statements (default= ``True``)

    A valid block must contain at least one ``blockStatement``.

    Example::

        data = '''
        def A(z):
          A1
          B = 100
          G = A2
          A2
          A3
        B
        def BB(a,b,c):
          BB1
          def BBA():
            bba1
            bba2
            bba3
        C
        D
        def spam(x,y):
             def eggs(z):
                 pass
        '''


        indentStack = [1]
        stmt = Forward()

        identifier = Word(alphas, alphanums)
        funcDecl = ("def" + identifier + Group("(" + Optional(delimitedList(identifier)) + ")") + ":")
        func_body = indentedBlock(stmt, indentStack)
        funcDef = Group(funcDecl + func_body)

        rvalue = Forward()
        funcCall = Group(identifier + "(" + Optional(delimitedList(rvalue)) + ")")
        rvalue << (funcCall | identifier | Word(nums))
        assignment = Group(identifier + "=" + rvalue)
        stmt << (funcDef | assignment | identifier)

        module_body = OneOrMore(stmt)

        parseTree = module_body.parseString(data)
        parseTree.pprint()

    prints::

        [['def',
          'A',
          ['(', 'z', ')'],
          ':',
          [['A1'], [['B', '=', '100']], [['G', '=', 'A2']], ['A2'], ['A3']]],
         'B',
         ['def',
          'BB',
          ['(', 'a', 'b', 'c', ')'],
          ':',
          [['BB1'], [['def', 'BBA', ['(', ')'], ':', [['bba1'], ['bba2'], ['bba3']]]]]],
         'C',
         'D',
         ['def',
          'spam',
          ['(', 'x', 'y', ')'],
          ':',
          [[['def', 'eggs', ['(', 'z', ')'], ':', [['pass']]]]]]]
    cs��(dS(N(((tbackup_stacktindentStack(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytreset_stack�scss|t|�krdSt||�}|�dkro|�dkrZt||d��nt||d��ndS(Ni����sillegal nestingsnot a peer entry(R�RQR6(R�R�R�tcurCol(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytcheckPeerIndent�scsEt||�}|�dkr/�j|�nt||d��dS(Ni����snot a subentry(RQR�R6(R�R�R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytcheckSubIndent�scsm|t|�krdSt||�}�o4|�ksLt||d��n|�dkri�j�ndS(Nsnot an unindenti����(R�RQR6R<(R�R�R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
checkUnindent�ss	 R�tINDENTR�tUNINDENTcs��S(N((RIR2R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�sindented block(
R0R)R:R8R@R#R�R�R'R2R�R<R1(tblockStatementExprR�RaR�R�R�RuR�tPEERtUNDENTtsmExpr((R�R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR~Ws"Q'"A:s#[\0xc0-\0xd6\0xd8-\0xf6\0xf8-\0xff]s[\0xa1-\0xbf\0xd7\0xf7]s_:sany tagsgt lt amp nbsp quot aposs><& "'s&(?P<entity>R4s);scommon HTML entitycCstj|j�S(sRHelper parser action to replace common HTML entities with their special characters(t_htmlEntityMapR�tentity(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRs�ss/\*(?:[^*]|\*(?!/))*s*/sC style comments<!--[\s\S]*?-->sHTML comments.*srest of lines//(?:\\\n|[^\n])*s
// commentsC++ style comments#.*sPython style commentR�s 	t	commaItemR8cBs�eZdZee�Zee�Zee	�j
d�je�Zee
�j
d�jeed��Zed�j
d�je�Ze�je�de�je�j
d�Zejd��eeeed	�j�e�Bj
d
�Zeje�ed�j
d�je�Zed
�j
d�je�ZeeBeBj�Zed�j
d�je�Zeeded�j
d�Zed�j
d�Zed�j
d�Z e de dj
d�Z!ee de d8�dee de d9�j
d�Z"e"j#d��dej
d �Z$e%e!e$Be"Bj
d!��j
d!�Z&ed"�j
d#�Z'e(d$d%��Z)e(d&d'��Z*ed(�j
d)�Z+ed*�j
d+�Z,ed,�j
d-�Z-e.j�e/j�BZ0e(d.��Z1e%e2e3d/�e4�ee5d0d/�ee6d1����j�j
d2�Z7e8ee9j:�e7Bd3d4��j
d5�Z;e(ed6���Z<e(ed7���Z=RS(:sHere are some common low-level expressions that may be useful in
    jump-starting parser development:

     - numeric forms (:class:`integers<integer>`, :class:`reals<real>`,
       :class:`scientific notation<sci_real>`)
     - common :class:`programming identifiers<identifier>`
     - network addresses (:class:`MAC<mac_address>`,
       :class:`IPv4<ipv4_address>`, :class:`IPv6<ipv6_address>`)
     - ISO8601 :class:`dates<iso8601_date>` and
       :class:`datetime<iso8601_datetime>`
     - :class:`UUID<uuid>`
     - :class:`comma-separated list<comma_separated_list>`

    Parse actions:

     - :class:`convertToInteger`
     - :class:`convertToFloat`
     - :class:`convertToDate`
     - :class:`convertToDatetime`
     - :class:`stripHTMLTags`
     - :class:`upcaseTokens`
     - :class:`downcaseTokens`

    Example::

        pyparsing_common.number.runTests('''
            # any int or real number, returned as the appropriate type
            100
            -100
            +100
            3.14159
            6.02e23
            1e-12
            ''')

        pyparsing_common.fnumber.runTests('''
            # any int or real number, returned as float
            100
            -100
            +100
            3.14159
            6.02e23
            1e-12
            ''')

        pyparsing_common.hex_integer.runTests('''
            # hex numbers
            100
            FF
            ''')

        pyparsing_common.fraction.runTests('''
            # fractions
            1/2
            -3/4
            ''')

        pyparsing_common.mixed_integer.runTests('''
            # mixed fractions
            1
            1/2
            -3/4
            1-3/4
            ''')

        import uuid
        pyparsing_common.uuid.setParseAction(tokenMap(uuid.UUID))
        pyparsing_common.uuid.runTests('''
            # uuid
            12345678-1234-5678-1234-567812345678
            ''')

    prints::

        # any int or real number, returned as the appropriate type
        100
        [100]

        -100
        [-100]

        +100
        [100]

        3.14159
        [3.14159]

        6.02e23
        [6.02e+23]

        1e-12
        [1e-12]

        # any int or real number, returned as float
        100
        [100.0]

        -100
        [-100.0]

        +100
        [100.0]

        3.14159
        [3.14159]

        6.02e23
        [6.02e+23]

        1e-12
        [1e-12]

        # hex numbers
        100
        [256]

        FF
        [255]

        # fractions
        1/2
        [0.5]

        -3/4
        [-0.75]

        # mixed fractions
        1
        [1]

        1/2
        [0.5]

        -3/4
        [-0.75]

        1-3/4
        [1.75]

        # uuid
        12345678-1234-5678-1234-567812345678
        [UUID('12345678-1234-5678-1234-567812345678')]
    tintegershex integeris[+-]?\d+ssigned integerRUtfractioncCs|d|dS(Nii����((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�R�s"fraction or mixed integer-fractions[+-]?(?:\d+\.\d*|\.\d+)sreal numbers@[+-]?(?:\d+(?:[eE][+-]?\d+)|(?:\d+\.\d*|\.\d+)(?:[eE][+-]?\d+)?)s$real number with scientific notations[+-]?\d+\.?\d*([eE][+-]?\d+)?tfnumberR�t
identifiersK(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(\.(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})){3}sIPv4 addresss[0-9a-fA-F]{1,4}thex_integerRVisfull IPv6 addressiis::sshort IPv6 addresscCstd�|D��dkS(Ncss'|]}tjj|�rdVqdS(iN(R�t
_ipv6_partR(R�R)((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>�si(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��R�s::ffff:smixed IPv6 addresssIPv6 addresss:[0-9a-fA-F]{2}([:.-])[0-9a-fA-F]{2}(?:\1[0-9a-fA-F]{2}){4}sMAC addresss%Y-%m-%dcs�fd�}|S(s�
        Helper to create a parse action for converting parsed date string to Python datetime.date

        Params -
         - fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%d"``)

        Example::

            date_expr = pyparsing_common.iso8601_date.copy()
            date_expr.setParseAction(pyparsing_common.convertToDate())
            print(date_expr.parseString("1999-12-31"))

        prints::

            [datetime.date(1999, 12, 31)]
        csPytj|d��j�SWn+tk
rK}t||t|���nXdS(Ni(RtstrptimetdateR*R6R�(R�R�R�tve(tfmt(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytcvt_fn�s((R�R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
convertToDate�ss%Y-%m-%dT%H:%M:%S.%fcs�fd�}|S(sHelper to create a parse action for converting parsed
        datetime string to Python datetime.datetime

        Params -
         - fmt - format to be passed to datetime.strptime (default= ``"%Y-%m-%dT%H:%M:%S.%f"``)

        Example::

            dt_expr = pyparsing_common.iso8601_datetime.copy()
            dt_expr.setParseAction(pyparsing_common.convertToDatetime())
            print(dt_expr.parseString("1999-12-31T23:59:59.999"))

        prints::

            [datetime.datetime(1999, 12, 31, 23, 59, 59, 999000)]
        csJytj|d��SWn+tk
rE}t||t|���nXdS(Ni(RR�R*R6R�(R�R�R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s((R�R�((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytconvertToDatetime�ss7(?P<year>\d{4})(?:-(?P<month>\d\d)(?:-(?P<day>\d\d))?)?sISO8601 dates�(?P<year>\d{4})-(?P<month>\d\d)-(?P<day>\d\d)[T ](?P<hour>\d\d):(?P<minute>\d\d)(:(?P<second>\d\d(\.\d*)?)?)?(?P<tz>Z|[+-]\d\d:?\d\d)?sISO8601 datetimes2[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}tUUIDcCstjj|d�S(sParse action to remove HTML tags from web page HTML source

        Example::

            # strip HTML links from normal text
            text = '<td>More info at the <a href="https://github.com/pyparsing/pyparsing/wiki">pyparsing</a> wiki page</td>'
            td, td_end = makeHTMLTags("TD")
            table_text = td + SkipTo(td_end).setParseAction(pyparsing_common.stripHTMLTags)("body") + td_end
            print(table_text.parseString(text).body)

        Prints::

            More info at the pyparsing wiki page
        i(R�t_html_stripperR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt
stripHTMLTagssR R�s 	R�R8R�scomma separated listcCst|�j�S(N(R�Rw(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�#R�cCst|�j�S(N(R�RR(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�&R�(ii(ii(>R
RR�R�R�tconvertToIntegertfloattconvertToFloatRFRjR�R�R�R\R�R>tsigned_integerR�R�R2R8t
mixed_integerR�trealtsci_realRtnumberR�RLRKR�tipv4_addressR�t_full_ipv6_addresst_short_ipv6_addressR�t_mixed_ipv6_addressR tipv6_addresstmac_addressR�R�R�tiso8601_datetiso8601_datetimetuuidRORNR�R�R0R+R)RnREt
_commasepitemRXRqRFtcomma_separated_listR|RZ(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��sR�'/-
 2	&J	t_lazyclasspropertycBseZd�Zd�ZRS(cCs%||_|j|_|j|_dS(N(R�R�R
(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�+s	cs��dkrt|��nt�d�sNt�fd��jdD��rZi�_n|jj}|�jkr�|j���j|<n�j|S(Nt_internc3s*|] }�jt|dg�kVqdS(R�N(R�R�(R�t
superclass(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>3si(R�R�R/Rtt__mro__R�R�R
(R�R�R�tattrname((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__get__0s(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�*s	cBs_eZdZgZed��Zed��Zed��Zed��Z	ed��Z
RS(s�
    A set of Unicode characters, for language-specific strings for
    ``alphas``, ``nums``, ``alphanums``, and ``printables``.
    A unicode_set is defined by a list of ranges in the Unicode character
    set, in a class attribute ``_ranges``, such as::

        _ranges = [(0x0020, 0x007e), (0x00a0, 0x00ff),]

    A unicode set can also be defined using multiple inheritance of other unicode sets::

        class CJK(Chinese, Japanese, Korean):
            pass
    cCs�g}xW|jD]L}|tkr&Pnx3|jD](}|jt|d|dd��q0WqWgtt|��D]}t|�^qsS(Nii����i(R�R�t_rangesRCRRrR�RF(R�R�tcctrrR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt_get_chars_for_rangesLs*cCsdjttj|j���S(s+all non-whitespace characters in this rangeu(R�RR�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRnVscCsdjttj|j���S(s'all alphabetic characters in this rangeu(R�tfilterR�tisalphaR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRL[scCsdjttj|j���S(s*all numeric digit characters in this rangeu(R�R�R�tisdigitR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRj`scCs|j|jS(s)all alphanumeric characters in this range(RLRj(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyRKes(R
RR�R�R�R�R�RnRLRjRK(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�<s

cBsDeZdZdejfgZdefd��YZdefd��YZdefd��YZ	defd	��YZ
d
efd��YZdefd
��YZdefd��YZ
defd��YZdee
efd��YZdefd��YZdefd��YZdefd��YZdefd��YZRS(sF
    A namespace class for defining common language unicode_sets.
    i tLatin1cBseZdZddgZRS(s/Unicode set for Latin-1 Unicode Character Rangei i~i�i�(i i~(i�i�(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�qstLatinAcBseZdZdgZRS(s/Unicode set for Latin-A Unicode Character Rangeii(ii(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ustLatinBcBseZdZdgZRS(s/Unicode set for Latin-B Unicode Character Rangei�iO(i�iO(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ystGreekcBsGeZdZd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0gZRS(1s.Unicode set for Greek Unicode Character Rangesipi�iiiii iEiHiMiPiWiYi[i]i_i}i�i�i�i�i�i�i�i�i�i�i�i�i�i�(ipi�(ii(ii(i iE(iHiM(iPiW(iY(i[(i](i_i}(i�i�(i�i�(i�i�(i�i�(i�i�(i�i�(i�i�(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�}stCyrilliccBseZdZdgZRS(s0Unicode set for Cyrillic Unicode Character Rangeii�(ii�(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stChinesecBseZdZddgZRS(s/Unicode set for Chinese Unicode Character RangeiNi��i0i?0(iNi��(i0i?0(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stJapanesecBsVeZdZgZdefd��YZdefd��YZdefd��YZRS(s`Unicode set for Japanese Unicode Character Range, combining Kanji, Hiragana, and Katakana rangestKanjicBseZdZddgZRS(s-Unicode set for Kanji Unicode Character RangeiNi��i0i?0(iNi��(i0i?0(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stHiraganacBseZdZdgZRS(s0Unicode set for Hiragana Unicode Character Rangei@0i�0(i@0i�0(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stKatakanacBseZdZdgZRS(s1Unicode set for Katakana  Unicode Character Rangei�0i�0(i�0i�0(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s
tKoreancBs&eZdZd
dddddgZRS(s.Unicode set for Korean Unicode Character Rangei�i��ii�i01i�1i`�i�i��i��i0i?0(i�i��(ii�(i01i�1(i`�i�(i��i��(i0i?0(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stCJKcBseZdZRS(sTUnicode set for combined Chinese, Japanese, and Korean (CJK) Unicode Character Range(R
RR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stThaicBseZdZddgZRS(s,Unicode set for Thai Unicode Character Rangeii:i?i[(ii:(i?i[(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stArabiccBseZdZddd	gZRS(
s.Unicode set for Arabic Unicode Character Rangeiiii�ii(ii(ii�(ii(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��stHebrewcBseZdZdgZRS(s.Unicode set for Hebrew Unicode Character Rangei�i�(i�i�(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��st
DevanagaricBseZdZddgZRS(s2Unicode set for Devanagari Unicode Character Rangei	i	i�i��(i	i	(i�i��(R
RR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s(R
RR�R�t
maxunicodeR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�ksuالعربيةu中文uкириллицаuΕλληνικάuעִברִיתu	日本語u漢字uカタカナuひらがなu	한국어u	ไทยuदेवनागरीtpyparsing_testcBs4eZdZddd��YZddd��YZRS(sB
    namespace class for classes useful in writing unit tests
    treset_pyparsing_contextcBs;eZdZd�Zd�Zd�Zd�Zd�ZRS(sx
        Context manager to be used when writing unit tests that modify pyparsing config values:
         - packrat parsing
         - default whitespace characters.
         - default keyword characters
         - literal string auto-conversion class
         - __diag__ settings

        Example:
            with reset_pyparsing_context():
                # test that literals used to construct a grammar are automatically suppressed
                ParserElement.inlineLiteralsUsing(Suppress)

                term = Word(alphas) | Word(nums)
                group = Group('(' + term[...] + ')')

                # assert that the '()' characters are not included in the parsed tokens
                self.assertParseAndCheckLisst(group, "(abc 123 def)", ['abc', '123', 'def'])

            # after exiting context manager, literals are converted to Literal expressions again
        cCs
i|_dS(N(t
_save_context(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��scCs�tj|jd<tj|jd<tj|jd<tj|jd<tj|jd<d�tj	D�|jd<it
jd6|jd	<|S(
Ntdefault_whitespacetdefault_keyword_charstliteral_string_classtpackrat_enabledt
packrat_parsecSs"i|]}tt|�|�qS((R�R(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys
<dictcomp>�s	RR�R(R;R�R�R(RuR�RR�Rt
_all_namesRR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytsave�scCs�tj|jdkr-tj|jd�n|jdt_tj|jd�x1|jdj�D]\}}tt	||�qeW|jdt_
|jdt_|jdt_
dS(NR�R�R�RR�R�R(R;R�R�R�R(RuR�R tsetattrRRR�RR�(R�RR%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytrestore�s cCs
|j�S(N(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt	__enter__scGs
|j�S(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt__exit__s(R
RR�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��s				tTestParseResultsAssertscBsbeZdZdddd�Zded�Zded�Zddd�Ze	e
dd��ZRS(sk
        A mixin class to add parse results assertion methods to normal unittest.TestCase classes.
        cCsZ|dk	r+|j||j�d|�n|dk	rV|j||j�d|�ndS(s�
            Unit test assertion to compare a ParseResults object with an optional expected_list,
            and compare any defined results names with an optional expected_dict.
            R�N(R�tassertEqualRRW(R�Ret
expected_listt
expected_dictR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytassertParseResultsEqualsscCsF|j|dt�}|r)|j�GHn|j|d|d|�dS(s�
            Convenience wrapper assert to test a parser element and input string, and assert that
            the resulting ParseResults.asList() is equal to the expected_list.
            RR�R�N(R
RRsR�(R�R�ttest_stringR�R�tverboseRe((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytassertParseAndCheckList!scCsF|j|dt�}|r)|j�GHn|j|d|d|�dS(s�
            Convenience wrapper assert to test a parser element and input string, and assert that
            the resulting ParseResults.asDict() is equal to the expected_dict.
            RR�R�N(R
RRsR�(R�R�R�R�R�R�Re((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytassertParseAndCheckDict-sc	Cs�|\}}|dk	rfgt||�D]#\}}|d|d|f^q(}x|D]\}	}
}td�|D�d�}td�|D�d�}|dk	r�|jd|d|p�|��t|
t�r�|
�nWdQXqXtd�|D�d�}
td	�|D�d�}|
|fdkrQ|j|
d
|
d|d|pJ|�qXdj|	�GHqXWn|j|d|dk	r�|nd
�dS(sP
            Unit test assertion to evaluate output of ParserElement.runTests(). If a list of
            list-dict tuples is given as the expected_parse_results argument, then these are zipped
            with the report tuples returned by runTests and evaluated using assertParseResultsEquals.
            Finally, asserts that the overall runTests() success value is True.

            :param run_tests_report: tuple(bool, [tuple(str, ParseResults or Exception)]) returned from runTests
            :param expected_parse_results (optional): [tuple(str, list, dict, Exception)]
            iicss$|]}t|t�r|VqdS(N(R�R�(R�texp((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>Qscss3|])}t|t�rt|t�r|VqdS(N(R�R�R�R|(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>Ustexpected_exceptionR�Ncss$|]}t|t�r|VqdS(N(R�R(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>cscss$|]}t|t�r|VqdS(N(R�R(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pys	<genexpr>fsR�R�sno validation for {!r}sfailed runTests(NN(	R�R�RktassertRaisesR�R|R�R�t
assertTrue(R�trun_tests_reporttexpected_parse_resultsR�trun_test_successtrun_test_resultstrpttexpectedtmergedR�Retfail_msgR�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytassertRunTestResults9s:6		ccs%|j|d|��
dVWdQXdS(NR�(R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pytassertRaisesParseExceptionxsN(R
RR�R�R�RR�R�R�RR6R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR�s>(((R
RR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyR��sCt__main__tselecttfroms_$RR"tcolumnsR�ttablestcommandsK
        # '*' as column list and dotted table name
        select * from SYS.XYZZY

        # caseless match on "SELECT", and casts back to "select"
        SELECT * from XYZZY, ABC

        # list of column names, and mixed case SELECT keyword
        Select AA,BB,CC from Sys.dual

        # multiple tables
        Select A, B, C from Sys.dual, Table2

        # invalid SELECT keyword - should fail
        Xelect A, B, C from Sys.dual

        # incomplete command - should fail
        Select

        # invalid column name - should fail
        Select ^^^ frox Sys.dual

        s]
        100
        -100
        +100
        3.14159
        6.02e23
        1e-12
        s 
        100
        FF
        s6
        12345678-1234-5678-1234-567812345678
        (R�RRRR�tweakrefRRRFR�R!R�R�R�RvR�R�RtoperatorRt	itertoolst	functoolsRt
contextlibRRtImportErrorRt_threadRt	threadingtcollections.abcRR	R
RR�tordereddictR�RRRR�RRRRRRR�RLtnmRtR�Rtenable_all_warningst__all__R)tversion_infoR�RYtmaxsizeRhR�RtchrRFR�R�R�R�RrtreversedRR�RtR�R�R�R�tmaxinttxrangeRt__builtin__R�tfnameR�R�R�R�RR�tascii_uppercasetascii_lowercaseRLRjR\RKR1R�t	printableRnR�R|R4R6R8R:R=RR�R9tregisterRQRbR_R�R�R�RiR�R;R RCR#R.R+RrRYR�R(RRR�RFR�RJR>R<RRER�R&R*R)RAR@RHRGR7RR3R-R"R5R$R,R/R�R0RIRR2R?R%RDR R'R!RBR1RzRXRTRRgRfR�RkRYRR�R�R�R[RaR`RyRxR�t_escapedPunct_escapedHexChart_escapedOctChart_singleChart
_charRangeR�RMRwReRtRrR�R|RZRcRcRdR}RdR�RlRoRpR�RmRVRvRqR{RhR~RMRoRORNRR�R�R3RSRsRPR]R9RuRWRUR^RpRR�RRR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R
tselectTokent	fromTokentidentt
columnNametcolumnNameListt
columnSpect	tableNamet
tableNameListt	simpleSQLRgR�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pyparsing.pyt<module>`s<





										@			*		
	


?]

���
			
				D������!
'	N
E�
��KFym{V�O#K,:#Dvj-D	0$					W	'*		!@	 					0	#			E&	�%h~(,	#8+�-/L/�
$				

Zerion Mini Shell 1.0