Advances the current node to its previous sibling and returns its type. If there is no previous sibling the current node remains unchanged and ``None`` is returned. :return: Node type or ``None``
(self)
| 728 | return None |
| 729 | |
| 730 | def prev(self) -> Optional[int]: |
| 731 | """ |
| 732 | Advances the current node to its previous sibling and returns its |
| 733 | type. If there is no previous sibling the current node remains |
| 734 | unchanged and ``None`` is returned. |
| 735 | |
| 736 | :return: Node type or ``None`` |
| 737 | """ |
| 738 | found = pn_data_prev(self._data) |
| 739 | if found: |
| 740 | return self.type() |
| 741 | else: |
| 742 | return None |
| 743 | |
| 744 | def enter(self) -> bool: |
| 745 | """ |
nothing calls this directly
no test coverage detected