Whether we are currently on a line between the specified start and end marker. This will always return False for a line containing the marker itself.
(self, marker)
| 90 | yield line.rstrip() |
| 91 | |
| 92 | def is_in(self, marker): |
| 93 | """ |
| 94 | Whether we are currently on a line between the specified start and end marker. |
| 95 | This will always return False for a line containing the marker itself. |
| 96 | """ |
| 97 | return marker in self.active_markers and not (self.entering(marker) or self.exiting(marker)) |
| 98 | |
| 99 | def entering(self, marker): |
| 100 | return marker in self.entering_markers |
no test coverage detected