Go to the latest version of this document.

# ``twisted`.`python`.`htmlizer`.`HTMLWriter``

class documentation

`class HTMLWriter: (source)`

Known subclasses: `twisted.python.htmlizer.SmallerHTMLWriter`

Constructor: `HTMLWriter(writer)`

View In Hierarchy

Write the stream of tokens and whitespace from `TokenPrinter`, formating tokens as HTML spans.

Method | `__init__` | Undocumented
Method | `write` | Undocumented
Instance Variable | `noSpan` | Undocumented
Instance Variable | `writer` | Undocumented

def __init__(self, writer): (source)

Undocumented

def write(self, token, type=None): (source)

Undocumented

noSpan: `list[str]` = (source)
overridden in `twisted.python.htmlizer.SmallerHTMLWriter`

Undocumented

writer = (source)

Undocumented