U
    …cUhR  ã                    @   sh  d Z G dd„ deƒZeƒ ZejZejZejZejZejZej	Z	ej
Z
ejZejZejZejZejZejZejZee_ee_ee_dd„ Zdd„ Zedededed	ed
ede	de	jde	jde	jde	jde	jde	jde
de
jde
jde
jjde
jde
jde
jde
jde
jde
j de
j j!de
j"de
j#de
jd e
jd!e
j$d"e
j%d#e
j%jd$e
j%j&d%e
j%j'd&e
j%j!d'ed(ej(d)ed*ej)d+ej*d,ej+d-ej,d.ej-d/ej.d0ejd1ej/d2ej0d3ejd4ej1d5ej2d6ej3d7ed8ej4d9ej5d:ej6d;ej7d<ej7j8d=ej9d>ed?ej:d@edAej;dBedCej<dDej=dEej>dFej?dGej2dHej@dIedJejAdKejBdLejdMejCdNejDdOejEdPejFdQejGdRejHdSejIdTejJdUiPZKdVS )WzË
    pygments.token
    ~~~~~~~~~~~~~~

    Basic token types and the standard tokens.

    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
c                   @   sH   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dS )Ú
_TokenTypeNc                 C   s.   g }| }|d k	r"|  |¡ |j}q| ¡  |S ©N)ÚappendÚparentÚreverse)ÚselfÚbufÚnode© r	   úZ/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pip/_vendor/pygments/token.pyÚsplit   s    
z_TokenType.splitc                 G   s   t ƒ | _d S r   )ÚsetÚsubtypes)r   Úargsr	   r	   r
   Ú__init__   s    z_TokenType.__init__c                 C   s*   | |kp(t |ƒ| jko(|d t| ƒ… | kS r   )ÚtypeÚ	__class__Úlen)r   Úvalr	   r	   r
   Ú__contains__   s    þz_TokenType.__contains__c                 C   sL   |r|d   ¡ st | |¡S t| |f ƒ}t| ||ƒ | j |¡ | |_|S )Né    )ÚisupperÚtupleÚ__getattribute__r   Úsetattrr   Úaddr   )r   r   Únewr	   r	   r
   Ú__getattr__"   s    z_TokenType.__getattr__c                 C   s   d| r
dpd d  | ¡ S )NÚTokenÚ.Ú )Újoin©r   r	   r	   r
   Ú__repr__+   s    z_TokenType.__repr__c                 C   s   | S r   r	   r!   r	   r	   r
   Ú__copy__.   s    z_TokenType.__copy__c                 C   s   | S r   r	   )r   Úmemor	   r	   r
   Ú__deepcopy__2   s    z_TokenType.__deepcopy__)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r"   r#   r%   r	   r	   r	   r
   r      s   		r   c                 C   s   | |kS )z‚
    Return True if ``ttype`` is a subtype of ``other``.

    exists for backwards compatibility. use ``ttype in other`` now.
    r	   )ZttypeÚotherr	   r	   r
   Úis_token_subtypeU   s    r*   c                 C   s8   t | tƒr| S | stS t}|  d¡D ]}t||ƒ}q$|S )a}  
    Convert a string into a token type::

        >>> string_to_token('String.Double')
        Token.Literal.String.Double
        >>> string_to_token('Token.Literal.Number')
        Token.Literal.Number
        >>> string_to_token('')
        Token

    Tokens that are already tokens are returned unchanged:

        >>> string_to_token(String)
        Token.Literal.String
    r   )Ú
isinstancer   r   r   Úgetattr)Úsr   Úitemr	   r	   r
   Ústring_to_tokentype^   s    
r/   r   ÚwZescÚerrÚxÚkZkcZkdÚknZkpZkrZktÚnZnaÚnbÚbpZncÚnoZndÚniÚneZnfZfmÚpyÚnlÚnnZnxÚntÚnvZvcZvgÚviZvmÚlZldr-   ÚsaZsbÚscZdlÚsdÚs2ZseÚshÚsiZsxÚsrÚs1ÚssÚmZmbÚmfZmhÚmiZilÚmoÚoZowÚpZpmÚcÚchÚcmÚcpZcpfZc1ÚcsÚgÚgdÚgeZgrZghZgiÚgoZgpZgsZguZgesÚgtN)LÚ__doc__r   r   r   ÚTextÚ
WhitespaceZEscapeÚErrorZOtherÚKeywordÚNameÚLiteralÚStringÚNumberZPunctuationÚOperatorÚCommentÚGenericr*   r/   ÚConstantZDeclarationZ	NamespaceZPseudoZReservedÚTypeÚ	AttributeZBuiltinZClassZ	DecoratorZEntityÚ	ExceptionÚFunctionZMagicZPropertyZLabelÚTagZVariableÚGlobalZInstanceÚDateZAffixZBacktickZCharÚ	DelimiterZDocÚDoubleZHeredocZInterpolZRegexÚSingleZSymbolZBinZFloatZHexZIntegerZLongZOctZWordZMarkerZHashbangZ	MultilineZPreprocZPreprocFileÚSpecialZDeletedZEmphZHeadingZInsertedZOutputZPromptZStrongZ
SubheadingZ
EmphStrongÚ	TracebackZSTANDARD_TYPESr	   r	   r	   r
   Ú<module>   sl  +	                                                                                ¦