The first group that contains this node. :rtype: Group
(self)
| 290 | return f"{self.first_group().filename()}::{self.token_with_ownership()}" |
| 291 | |
| 292 | def first_group(self): |
| 293 | """ |
| 294 | The first group that contains this node. |
| 295 | :rtype: Group |
| 296 | """ |
| 297 | parent = self.parent |
| 298 | while not isinstance(parent, Group): |
| 299 | parent = parent.parent |
| 300 | return parent |
| 301 | |
| 302 | def file_group(self): |
| 303 | """ |
no outgoing calls
no test coverage detected