Total Complexity | 1 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | 1 | from cleo.io.io import IO |
|
2 | |||
3 | 1 | from sdoc.sdoc2.formatter.Formatter import Formatter |
|
4 | |||
5 | |||
6 | 1 | class HtmlFormatter(Formatter): |
|
7 | """ |
||
8 | Abstract parent class for all formatters for generating the output of nodes in HTML. |
||
9 | """ |
||
10 | |||
11 | # ------------------------------------------------------------------------------------------------------------------ |
||
12 | 1 | def __init__(self, io: IO, parent: Formatter): |
|
13 | """ |
||
14 | Object constructor. |
||
15 | |||
16 | :param OutputStyle io: The IO object. |
||
17 | :param Formatter parent: The formatter for the parent node. |
||
18 | """ |
||
19 | 1 | Formatter.__init__(self, io, parent) |
|
20 | |||
22 |