| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | """ |
||
| 13 | class Sub5SectionNode(HeadingNode): |
||
| 14 | """ |
||
| 15 | SDoc2 node for sub-sub-sub-sub-subsections. |
||
| 16 | """ |
||
| 17 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 18 | def __init__(self, options, argument): |
||
| 19 | """ |
||
| 20 | Object constructor. |
||
| 21 | |||
| 22 | :param dict[str,str] options: The options of this section. |
||
| 23 | :param str argument: The title of this section. |
||
| 24 | """ |
||
| 25 | super().__init__('sub5section', options, argument) |
||
| 26 | |||
| 27 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 28 | def get_command(self): |
||
| 29 | """ |
||
| 30 | Returns the command of this node, i.e. sub5section. |
||
| 31 | |||
| 32 | :rtype: str |
||
| 33 | """ |
||
| 34 | return 'sub5section' |
||
| 35 | |||
| 36 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 37 | def get_hierarchy_level(self, parent_hierarchy_level=-1): |
||
| 38 | """ |
||
| 39 | Returns 7. |
||
| 40 | |||
| 41 | :rtype: int |
||
| 42 | """ |
||
| 43 | return 7 |
||
| 44 | |||
| 49 |