Return the `Token` that is used as the data source for the properties defined below.
(self)
| 264 | # provides that data, and can be called on any node type, including root. |
| 265 | |
| 266 | def _attribute_token(self) -> Token: |
| 267 | """Return the `Token` that is used as the data source for the |
| 268 | properties defined below.""" |
| 269 | if self.token: |
| 270 | return self.token |
| 271 | if self.nester_tokens: |
| 272 | return self.nester_tokens.opening |
| 273 | raise AttributeError("Root node does not have the accessed attribute") |
| 274 | |
| 275 | @property |
| 276 | def tag(self) -> str: |