docs: def baseoffset(self):
          """The offset of this node from the root node."""
          try:
              return self.parent.baseoffset + self.offset
          except AttributeError:
              return self.offset