Your IP : 216.73.216.196


Current Path : /opt/alt/python37/lib/python3.7/site-packages/pygments/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/pygments/__pycache__/token.cpython-37.pyc

B

ǽ�\��@s\dZGdd�de�Ze�ZejZejZejZejZejZej	Z	ej
Z
ejZejZej
Z
ejZejZejZejZee_ee_e
e_
dd�Zdd�Zedededed	ed
ede	de	jd
e	jde	jde	jde	jde	jde
de
jde
jde
jjde
jde
jde
jde
jde
jde
j de
j j!de
j"de
j#de
jd e
jd!e
j$d"e
j%d#e
j%jd$e
j%j&d%e
j%j'd&e
j%j!d'ed(ej(d)ed*ej)d+ej*d,ej+d-ej,d.ej-d/ej.d0ejd1ej/d2ej0d3ejd4ej1d5ej2d6ej3d7e
d8e
j4d9e
j5d:e
j6d;e
j7d<e
j7j8d=e
j9d>ed?ej:d@edAedBej;dCej<dDej=dEej>dFej2dGej?dHedIej@dJejAdKejdLejBdMejCdNejDdOejEdPejFdQejGdRejHdSiNZIdTS)Uz�
    pygments.token
    ~~~~~~~~~~~~~~

    Basic token types and the standard tokens.

    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
c@sHeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS)�
_TokenTypeNcCs2g}|}x|dk	r$|�|�|j}q
W|��|S)N)�append�parent�reverse)�self�buf�node�r�?/opt/alt/python37/lib/python3.7/site-packages/pygments/token.py�splits


z_TokenType.splitcGst�|_dS)N)�set�subtypes)r�argsrrr	�__init__sz_TokenType.__init__cCs*||kp(t|�|jko(|dt|��|kS)N)�type�	__class__�len)r�valrrr	�__contains__sz_TokenType.__contains__cCsL|r|d��st�||�St||f�}t|||�|j�|�||_|S)N�)�isupper�tuple�__getattribute__r�setattrr�addr)rr�newrrr	�__getattr__#sz_TokenType.__getattr__cCsd|r
dpdd�|�S)N�Token�.�)�join)rrrr	�__repr__,sz_TokenType.__repr__cCs|S)Nr)rrrr	�__copy__/sz_TokenType.__copy__cCs|S)Nr)r�memorrr	�__deepcopy__3sz_TokenType.__deepcopy__)�__name__�
__module__�__qualname__rr
rrrr r!r#rrrr	r
s		rcCs||kS)z�
    Return True if ``ttype`` is a subtype of ``other``.

    exists for backwards compatibility. use ``ttype in other`` now.
    r)Zttype�otherrrr	�is_token_subtypeVsr(cCs<t|t�r|S|stSt}x|�d�D]}t||�}q&W|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)�
isinstancerrr
�getattr)�sr�itemrrr	�string_to_tokentype_s
r-r�wZesc�err�x�kZkcZkd�knZkpZkrZkt�nZna�nbZbpZnc�noZndZni�neZnfZfm�py�nl�nnZnx�nt�nv�vcZvg�viZvm�lZldr+�saZsbZscZdl�sd�s2�se�sh�siZsx�sr�s1�ss�mZmbZmfZmh�miZil�mo�oZow�p�c�ch�cmZcpZcpfZc1�cs�g�gd�geZgrZghZgi�goZgpZgsZgu�gtN)J�__doc__rrrZText�
WhitespaceZEscape�ErrorZOther�Keyword�Name�Literal�String�NumberZPunctuation�Operator�CommentZGenericr(r-ZConstantZDeclarationZ	NamespaceZPseudoZReservedZType�	AttributeZBuiltinZClassZ	DecoratorZEntity�	ExceptionZFunctionZMagicZPropertyZLabelZTag�VariableZGlobalZInstanceZDateZAffixZBacktickZCharZ	DelimiterZDoc�DoubleZHeredocZInterpol�Regex�SingleZSymbol�BinZFloatZHexZIntegerZLong�Oct�WordZHashbangZ	MultilineZPreprocZPreprocFile�SpecialZDeletedZEmphZHeadingZInsertedZOutputZPromptZStrongZ
Subheading�	TracebackZSTANDARD_TYPESrrrr	�<module>
s�+