code: def advance(self):
          
          self.cursor += 1
          if self.cursor >= len(self.raw):
              self.char = None
          else:
              self.char = self.raw[self.cursor]
docs: Increments the cursor position.