ó Z-Qc@srdZdefd„ƒYZeƒZejZejZejZejZejZej Z ej Z e j Z e j Z ej Z ejZejZejZee_e e_ e e_ d„Zd„ZiFde6de6de6de6de6d e6d ej6d ej6d ej6d ej6dej6dej6de 6de j6de j6de jj6de j6de j6de j6de j6de j6de j6de j 6de j!6de j6de j6de j"6de j#6d e j#j6d!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-6d-e j6d.e j.6d/e j/6d0e j06d1e 6d2e j16d3e j26d4e j36d5e j3j46d6e j56d7e6d8ej66d9e 6d:e6d;ej76d<ej86d=ej/6d>ej96d?e6d@ej:6dAej;6dBej6dCej<6dDej=6dEej>6dFej?6dGej@6dHejA6dIejB6ZCdJS(KsĖ pygments.token ~~~~~~~~~~~~~~ Basic token types and the standard tokens. :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. t _TokenTypecBs;eZdZd„Zd„Zd„Zd„Zd„ZRS(cCsCg}|}x&|dk r4|j|ƒ|j}qW|jƒ|S(N(tNonetappendtparenttreverse(tselftbuftnode((s8/usr/local/lib/python2.7/site-packages/pygments/token.pytsplits   cGstƒ|_dS(N(tsettsubtypes(Rtargs((s8/usr/local/lib/python2.7/site-packages/pygments/token.pyt__init__scCs5||kp4t|ƒ|jko4|t|ƒ |kS(N(ttypet __class__tlen(Rtval((s8/usr/local/lib/python2.7/site-packages/pygments/token.pyt __contains__s cCsh| s|djƒ r(tj||ƒSt||fƒ}t|||ƒ|jj|ƒ||_|S(Ni(tisupperttuplet__getattribute__RtsetattrR taddR(RRtnew((s8/usr/local/lib/python2.7/site-packages/pygments/token.pyt __getattr__"s cCs!d|rdpddj|ƒS(NtTokent.t(tjoin(R((s8/usr/local/lib/python2.7/site-packages/pygments/token.pyt__repr__+sN( t__name__t __module__RRRR RRR(((s8/usr/local/lib/python2.7/site-packages/pygments/token.pyR s    cCs ||kS(s‚ Return True if ``ttype`` is a subtype of ``other``. exists for backwards compatibility. use ``ttype in other`` now. ((tttypetother((s8/usr/local/lib/python2.7/site-packages/pygments/token.pytis_token_subtypeLscCsPt|tƒr|S|stSt}x&|jdƒD]}t||ƒ}q3W|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 isinstanceRRRtgetattr(tsRtitem((s8/usr/local/lib/python2.7/site-packages/pygments/token.pytstring_to_tokentypeUsRtwterrtxtktkctkdtkntkptkrtkttntnatnbtbptnctnotndtnitnetnftpytnltnntnxtnttnvtvctvgtvitltldR%tsbtsctsdts2tsetshtsitsxtsrts1tsstmtmftmhtmitiltmototowtptctcmtcptc1tcstgtgdtgetgrtghtgitgotgptgstgutgtN(Dt__doc__RRRtTextt WhitespacetErrortOthertKeywordtNametLiteraltStringtNumbert PunctuationtOperatortCommenttGenericR"R'tConstantt Declarationt NamespacetPseudotReservedtTypet AttributetBuiltintClasst DecoratortEntityt ExceptiontFunctiontPropertytLabeltTagtVariabletGlobaltInstancetDatetBackticktChartDoctDoubletEscapetHeredoctInterpoltRegextSingletSymboltFloattHextIntegertLongtOcttWordt MultilinetPreproctSpecialtDeletedtEmphtHeadingtInsertedtOutputtPrompttStrongt Subheadingt TracebacktSTANDARD_TYPES(((s8/usr/local/lib/python2.7/site-packages/pygments/token.pyt s¶#