ó
xiù\c           @   sÎ  d  Z  d e f d „  ƒ  YZ 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 „  Z d „  Z iN d e 6d e 6d e 6d e 6d e 6d	 e 6d
 e	 6d e	 j 6d e	 j 6d e	 j 6d e	 j 6d e	 j 6d e	 j 6d e
 6d e
 j 6d e
 j 6d e
 j j 6d e
 j 6d e
 j 6d e
 j 6d e
 j 6d e
 j 6d e
 j  6d e
 j  j! 6d e
 j" 6d e
 j# 6d e
 j 6d e
 j 6d  e
 j$ 6d! e
 j% 6d" e
 j% j 6d# e
 j% j& 6d$ e
 j% j' 6d% e
 j% j! 6d& e 6d' e j( 6d( e 6d) e j) 6d* e j* 6d+ e j+ 6d, e j, 6d- e j- 6d. e j. 6d/ e j 6d0 e j/ 6d1 e j0 6d2 e j 6d3 e j1 6d4 e j2 6d5 e j3 6d6 e 6d7 e j4 6d8 e j5 6d9 e j6 6d: e j7 6d; e j7 j8 6d< e j9 6d= e 6d> e j: 6d? e 6d@ e 6dA e j; 6dB e j< 6dC e j= 6dD e j> 6dE e j2 6dF e j? 6dG e 6dH e j@ 6dI e jA 6dJ e j 6dK e jB 6dL e jC 6dM e jD 6dN e jE 6dO e jF 6dP e jG 6dQ e jH 6ZI dR S(S   sË   
    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.
t
   _TokenTypec           B   sM   e  Z d Z d  „  Z d „  Z d „  Z d „  Z d „  Z d „  Z	 d „  Z
 RS(   c         C   sC   g  } |  } x& | d  k	 r4 | j | ƒ | j } q W| j ƒ  | S(   N(   t   Nonet   appendt   parentt   reverse(   t   selft   buft   node(    (    s-   lib/python2.7/site-packages/pygments/token.pyt   split   s    
c         G   s   t  ƒ  |  _ d  S(   N(   t   sett   subtypes(   R   t   args(    (    s-   lib/python2.7/site-packages/pygments/token.pyt   __init__   s    c         C   s5   |  | k p4 t  | ƒ |  j k o4 | t |  ƒ  |  k S(   N(   t   typet	   __class__t   len(   R   t   val(    (    s-   lib/python2.7/site-packages/pygments/token.pyt   __contains__   s    c         C   sh   | s | d j  ƒ  r( t j |  | ƒ St |  | f ƒ } t |  | | ƒ |  j j | ƒ |  | _ | S(   Ni    (   t   isuppert   tuplet   __getattribute__R    t   setattrR
   t   addR   (   R   R   t   new(    (    s-   lib/python2.7/site-packages/pygments/token.pyt   __getattr__#   s    	c         C   s!   d |  r d p d d j  |  ƒ S(   Nt   Tokent   .t    (   t   join(   R   (    (    s-   lib/python2.7/site-packages/pygments/token.pyt   __repr__,   s    c         C   s   |  S(   N(    (   R   (    (    s-   lib/python2.7/site-packages/pygments/token.pyt   __copy__/   s    c         C   s   |  S(   N(    (   R   t   memo(    (    s-   lib/python2.7/site-packages/pygments/token.pyt   __deepcopy__3   s    N(   t   __name__t
   __module__R   R   R   R   R   R   R   R   R    (    (    (    s-   lib/python2.7/site-packages/pygments/token.pyR       s   								c         C   s
   |  | k S(   s‚   
    Return True if ``ttype`` is a subtype of ``other``.

    exists for backwards compatibility. use ``ttype in other`` now.
    (    (   t   ttypet   other(    (    s-   lib/python2.7/site-packages/pygments/token.pyt   is_token_subtypeV   s    c         C   sP   t  |  t ƒ r |  S|  s t St } x& |  j d ƒ D] } t | | ƒ } q3 W| S(   s}  
    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   (   t
   isinstanceR    R   R   t   getattr(   t   sR   t   item(    (    s-   lib/python2.7/site-packages/pygments/token.pyt   string_to_tokentype_   s    R   t   wt   esct   errt   xt   kt   kct   kdt   knt   kpt   krt   ktt   nt   nat   nbt   bpt   nct   not   ndt   nit   net   nft   fmt   pyt   nlt   nnt   nxt   ntt   nvt   vct   vgt   vit   vmt   lt   ldR(   t   sat   sbt   sct   dlt   sdt   s2t   set   sht   sit   sxt   srt   s1t   sst   mt   mbt   mft   mht   mit   ilt   mot   ot   owt   pt   ct   cht   cmt   cpt   cpft   c1t   cst   gt   gdt   get   grt   ght   git   got   gpt   gst   gut   gtN(J   t   __doc__R   R    R   t   Textt
   Whitespacet   Escapet   Errort   Othert   Keywordt   Namet   Literalt   Stringt   Numbert   Punctuationt   Operatort   Commentt   GenericR%   R*   t   Constantt   Declarationt	   Namespacet   Pseudot   Reservedt   Typet	   Attributet   Builtint   Classt	   Decoratort   Entityt	   Exceptiont   Functiont   Magict   Propertyt   Labelt   Tagt   Variablet   Globalt   Instancet   Datet   Affixt   Backtickt   Chart	   Delimitert   Doct   Doublet   Heredoct   Interpolt   Regext   Singlet   Symbolt   Bint   Floatt   Hext   Integert   Longt   Octt   Wordt   Hashbangt	   Multilinet   Preproct   PreprocFilet   Specialt   Deletedt   Empht   Headingt   Insertedt   Outputt   Promptt   Strongt
   Subheadingt	   Tracebackt   STANDARD_TYPES(    (    (    s-   lib/python2.7/site-packages/pygments/token.pyt   <module>
   sÈ   +																					






















































