class IRCFormatter(Formatter):
Format tokens with IRC color sequences
The get_style_defs()
method doesn't do anything special since there is
no support for common styles.
Options accepted:
bg
colorscheme
linenos
Method | __init__ |
Undocumented |
Method | _format_unencoded_with_lineno |
Undocumented |
Method | _write_lineno |
Undocumented |
Method | format_unencoded |
Undocumented |
Class Variable | aliases |
Undocumented |
Class Variable | filenames |
Undocumented |
Class Variable | name |
Undocumented |
Instance Variable | _lineno |
Undocumented |
Instance Variable | colorscheme |
Undocumented |
Instance Variable | darkbg |
Undocumented |
Instance Variable | linenos |
Undocumented |
Inherited from Formatter
:
Method | format |
Format tokensource, an iterable of (tokentype, tokenstring) tuples and write it into outfile. |
Method | get_style_defs |
Return the style definitions for the current style as a string. |
Class Variable | unicodeoutput |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | full |
Undocumented |
Instance Variable | options |
Undocumented |
Instance Variable | style |
Undocumented |
Instance Variable | title |
Undocumented |