def next(self):
        if self.eof:
            return
        self.col = self.col + len(self.text[self.i])
        self.i = self.i + 1
        if self.i >= self.len:
            self.eof = True
            return
        if self.text[self.i] == '\n':
            self.line = self.line + 1
            self.col = 0
Goes to next token.
dataset/ETHPy150Open lpenz/atdtool/atdtool/__init__.py/FileWords.next