code: def loc(self):
          '''Locate the error position in the source code text.'''
          try:
              return '{}:{}'.format(*ParseError.loc_info(self.text, self.index))
          except ValueError:
              return '<out of bounds index {!r}>'.format(self.indexf loc(self):
          '''Locate the error position in the source code text.'''
          try:
              return '{}:{}'.format(*ParseError.loc_info(self.text, self.index))
          except ValueError:
              return '<out of bounds index {!r}>'.format(self.index)
docs: Locate the error position in the source code text.