Iterate over all markers of the node. :param name: If given, filter the results by the name attribute.
(self, name: Optional[str] = None)
| 358 | self.own_markers.insert(0, marker_.mark) |
| 359 | |
| 360 | def iter_markers(self, name: Optional[str] = None) -> Iterator[Mark]: |
| 361 | """Iterate over all markers of the node. |
| 362 | |
| 363 | :param name: If given, filter the results by the name attribute. |
| 364 | """ |
| 365 | return (x[1] for x in self.iter_markers_with_node(name=name)) |
| 366 | |
| 367 | def iter_markers_with_node( |
| 368 | self, name: Optional[str] = None |