| Conditions | 1 |
| Total Lines | 8 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 1.125 |
| Changes | 0 | ||
| 1 | 1 | from typing import Any |
|
| 15 | 1 | def generate(self, node: HyperlinkNode, file: Any) -> None: |
|
| 16 | """ |
||
| 17 | Generates the HTML code for a hyperlink node. |
||
| 18 | |||
| 19 | :param HyperlinkNode node: The hyperlink node. |
||
| 20 | :param any file: The output file. |
||
| 21 | """ |
||
| 22 | file.write(HyperlinkHtmlFormatter.get_html(node)) |
||
| 23 | |||
| 37 |