def consume(self):
        '''
        Consumes one character from `source`.
        '''
        if self.position >= len(self.source):
            return EOF
        rv = self.source[self.position]
        self.position += 1
        return rv
dataset/ETHPy150Open guillermooo/Vintageous/ex/parser/state.py/ScannerState.consume/original