Ñò ?íLc@srdZdefd„ƒYZeƒZeiZeiZeiZeiZeiZei Z ei Z e i Z e i Z ei Z eiZeiZeiZee_e e_ e e_ d„Zd„ZhFde6de6de6de6de6d e6d ei6d ei6d ei6d ei6dei6dei6de 6de i6de i6de ii6de i6de i6de i6de i6de i6de i6de i 6de i!6de i6de i6de i"6de i#6d e i#i6d!e i#i$6d"e i#i%6d#e 6d$e i&6d%e 6d&e i'6d'e i(6d(e i)6d)e i*6d*e i+6d+e i,6d,e i-6d-e i6d.e i.6d/e i/6d0e i06d1e 6d2e i16d3e i26d4e i36d5e i3i46d6e i56d7e6d8ei66d9e 6d:e6d;ei76d<ei86d=ei/6d>ei96d?e6d@ei:6dAei;6dBei6dCei<6dDei=6dEei>6dFei?6dGei@6dHeiA6dIeiB6ZCdJS(KsË pygments.token ~~~~~~~~~~~~~~ Basic token types and the standard tokens. :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. t _TokenTypecBsDeZdZd„Zd„Zd„Zd„Zd„Zd„Z RS(cCsEg}|}x(|dj o|i|ƒ|i}qW|iƒ|S(N(tNonetappendtparenttreverse(tselftbuftnode((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pytsplits   cGstƒ|_dS(N(tsettsubtypes(Rtargs((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pyt__init__scCs7||jp*t|ƒ|ijo|t|ƒ |jS(N(ttypet __class__tlen(Rtval((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pyt __contains__s cCsk| p|diƒ oti||ƒSt||fƒ}t|||ƒ|ii|ƒ||_|S(Ni(tisupperttuplet__getattribute__RtsetattrR taddR(RRtnew((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pyt __getattr__"s cCstt|ƒƒS(N(thashR(R((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pyt__hash__+scCs#d|odpddi|ƒS(NtTokent.t(tjoin(R((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pyt__repr__.sN( t__name__t __module__RRRR RRRR(((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pyR s   cCs ||jS(s‚ Return True if ``ttype`` is a subtype of ``other``. exists for backwards compatibility. use ``ttype in other`` now. ((tttypetother((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pytis_token_subtypeOscCsTt|tƒo|S|ptSt}x&|idƒD]}t||ƒ}q7W|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((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pytstring_to_tokentypeXsRtwterrtxtktkctkdtkntkptkrtkttntnatnbtbptnctnotndtnitnetnftpytnltnntnxtnttnvtvctvgtvitltldR'tsbtsctsdts2tsetshtsitsxtsrts1tsstmtmftmhtmitiltmototowtptctcmtcptc1tcstgtgdtgetgrtghtgitgotgptgstgutgtN(Dt__doc__RRRtTextt WhitespacetErrortOthertKeywordtNametLiteraltStringtNumbert PunctuationtOperatortCommenttGenericR$R)tConstantt Declarationt NamespacetPseudotReservedtTypet AttributetBuiltintClasst DecoratortEntityt ExceptiontFunctiontPropertytLabeltTagtVariabletGlobaltInstancetDatetBackticktChartDoctDoubletEscapetHeredoctInterpoltRegextSingletSymboltFloattHextIntegertLongtOcttWordt MultilinetPreproctSpecialtDeletedtEmphtHeadingtInsertedtOutputtPrompttStrongt Subheadingt TracebacktSTANDARD_TYPES(((s5/Users/jano/code/pygments-rb/vendor/pygments/token.pyt s¶&