code: def source(self):
          
          if self._source is not None:
              return self._source
          elif self.parent is not None:
              return self.parent.source
          else:
              return Location(self)
docs: The source element this document element was created from.