Ńň >íLc@sŠdZddklZddklZlZlZlZlZl Z l Z l Z l Z l Z ddklZddklZdgZhde 6d e 6d!e6d"ei6d#e6d$ei6d%e i6d&ei6d'ei6d(ei6d)ei6d*ei6d+ei6d,ei6d-ei6d.ei6d/ei6d0e6d1e 6d2e i 6d3e i!6d4e i"6d5e i#6d6e i6d7e6Z$defd„ƒYZ%dS(8sď pygments.formatters.terminal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for terminal output with ANSI sequences. :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. i˙˙˙˙(t Formatter( tKeywordtNametCommenttStringtErrortNumbertOperatortGenerictTokent Whitespace(t ansiformat(tget_choice_opttTerminalFormattertt lightgraytdarkgrayttealt turquoisetdarkbluetbluetpurpletfuchsiat darkgreentgreent_teal_t _turquoise_t _darkgreen_t_green_tdarkredtredtbrowns**s*purple*s *fuchsia*t_red_cBsAeZdZdZddgZgZd„Zd„Zd„ZRS(sP Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly. The `get_style_defs()` method doesn't do anything special since there is no support for common styles. Options accepted: `bg` Set to ``"light"`` or ``"dark"`` depending on the terminal's background (default: ``"light"``). `colorscheme` A dictionary mapping token types to (lightbg, darkbg) color names or ``None`` (default: ``None`` = use builtin colorscheme). tTerminaltterminaltconsolecKsTti||t|dddgdƒdj|_|iddƒpt|_dS(Ntbgtlighttdarkt colorscheme(Rt__init__R tdarkbgtgettNonetTERMINAL_COLORSR'(tselftoptions((sC/Users/jano/code/pygments-rb/vendor/pygments/formatters/terminal.pyR(Os cCs[|i o=t|dƒo-t|dƒo|iƒo|i|_nti|||ƒS(Ntencodingtisatty(R/thasattrR0Rtformat(R-t tokensourcetoutfile((sC/Users/jano/code/pygments-rb/vendor/pygments/formatters/terminal.pyR2Usc Csţx÷|D]ď\}}|ii|ƒ}x.|djo |d }|ii|ƒ}q(W|oŒ||i}|idƒ}x@|d D]4}|o|it||ƒƒn|idƒq„W|do|it||dƒƒqöq|i|ƒqWdS(Ni˙˙˙˙s (R'R*R+R)tsplittwriteR (R-R3R4tttypetvaluetcolortspltline((sC/Users/jano/code/pygments-rb/vendor/pygments/formatters/terminal.pytformat_unencoded]s$      "( t__name__t __module__t__doc__tnametaliasest filenamesR(R2R<(((sC/Users/jano/code/pygments-rb/vendor/pygments/formatters/terminal.pyR 8s   N(RR(s lightgraysdarkgray(s lightgraysdarkgray(steals turquoise(sdarkbluesblue(steals turquoise(spurplesfuchsia(steals turquoise(s darkgreensgreen(RR(RR(steals turquoise(sdarkgrays lightgray(sdarkredsred(sdarkredsred(steals turquoise(sbluesblue(sbrownsbrown(sdarkbluesblue(sredsred(s darkgreensgreen(s**s**(s*purple*s *fuchsia*(sredsred(R R (&R?tpygments.formatterRtpygments.tokenRRRRRRRRR R tpygments.consoleR t pygments.utilR t__all__tPreproctTypetWordtBuiltintFunctiont NamespacetClasst Exceptiont DecoratortVariabletConstantt AttributetTagtDeletedtInsertedtHeadingt SubheadingR,R (((sC/Users/jano/code/pygments-rb/vendor/pygments/formatters/terminal.pyt s@F