/usr/lib/python2.6/site-packages/pygments
NameSizeModeActions
filters/-0755rm
formatters/-0755rm
lexers/-0755rm
styles/-0755rm
cmdline.py130550644editdlrm
cmdline.pyc104430644editdlrm
cmdline.pyo104430644editdlrm
console.py18500644editdlrm
console.pyc23400644editdlrm
console.pyo23400644editdlrm
filter.py20710644editdlrm
filter.pyc31840644editdlrm
filter.pyo31840644editdlrm
formatter.py27900644editdlrm
formatter.pyc33440644editdlrm
formatter.pyo33440644editdlrm
lexer.py226250644editdlrm
lexer.pyc209710644editdlrm
lexer.pyo202040644editdlrm
plugin.py18620644editdlrm
plugin.pyc23730644editdlrm
plugin.pyo23730644editdlrm
scanner.py31140644editdlrm
scanner.pyc41740644editdlrm
scanner.pyo41740644editdlrm
style.py37450644editdlrm
style.pyc39430644editdlrm
style.pyo38670644editdlrm
token.py57840644editdlrm
token.pyc54080644editdlrm
token.pyo54080644editdlrm
unistring.py4042490644editdlrm
unistring.pyc2085150644editdlrm
unistring.pyo2085150644editdlrm
util.py65770644editdlrm
util.pyc77970644editdlrm
util.pyo77970644editdlrm
__init__.py29350644editdlrm
__init__.pyc33340644editdlrm
__init__.pyo33340644editdlrm
Edit: /usr/lib/python2.6/site-packages/pygments/formatter.pyc (3344B)
Ņō ŽfŊJc@s^dZddkZddklZddklZdgZd„Zdefd„ƒYZ dS(sū pygments.formatter ~~~~~~~~~~~~~~~~~~ Base formatter class. :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. iĸĸĸĸN(t get_bool_opt(tget_style_by_namet FormattercCst|tƒo t|ƒS|S(N(t isinstancet basestringR(tstyle((s6/usr/lib/python2.6/site-packages/pygments/formatter.pyt _lookup_styles cBsDeZdZdZgZgZeZd„Z dd„Z d„Z RS(sŒ Converts a token stream to text. Options accepted: ``style`` The style to use, can be a string or a Style subclass (default: "default"). Not used by e.g. the TerminalFormatter. ``full`` Tells the formatter to output a "full" document, i.e. a complete self-contained document. This doesn't have any effect for some formatters (default: false). ``title`` If ``full`` is true, the title that should be used to caption the document (default: ''). ``encoding`` If given, must be an encoding name. This will be used to convert the Unicode token strings to byte strings in the output. If it is "" or None, Unicode strings will be written to the output file, which most file-like objects do not support (default: None). ``outencoding`` Overrides ``encoding`` if given. cKst|iddƒƒ|_t|dtƒ|_|iddƒ|_|iddƒpd|_|iddƒp|i|_||_ dS(NRtdefaulttfullttitlettencodingt outencoding( RtgetRRtFalseRR tNoneR toptions(tselfR((s6/usr/lib/python2.6/site-packages/pygments/formatter.pyt__init__Bs R cCsdS(s Return the style definitions for the current style as a string. ``arg`` is an additional argument whose meaning depends on the formatter used. Note that ``arg`` can also be a list or tuple for some formatters like the html formatter. R ((Rtarg((s6/usr/lib/python2.6/site-packages/pygments/formatter.pytget_style_defsJscCs:|io ti|iƒd|ƒ}n|i||ƒS(sƒ Format ``tokensource``, an iterable of ``(tokentype, tokenstring)`` tuples and write it into ``outfile``. i(R tcodecstlookuptformat_unencoded(Rt tokensourcetoutfile((s6/usr/lib/python2.6/site-packages/pygments/formatter.pytformatTs  N( t__name__t __module__t__doc__Rtnametaliasest filenamestTruet unicodeoutputRRR(((s6/usr/lib/python2.6/site-packages/pygments/formatter.pyRs  ( RRt pygments.utilRtpygments.stylesRt__all__RtobjectR(((s6/usr/lib/python2.6/site-packages/pygments/formatter.pyt s