pyrser/parsing/stream.py
def position(self) -> Position:
        """The current position of the cursor."""
        return Position(self._index, self._lineno, self._col_offset)
def position(self) -> Position:
        return Position(self._index, self._lineno, self._col_offset)
def position ( self ) -> Position : return Position ( self . _index , self . _lineno , self . _col_offset )
The current position of the cursor.
The current position of the cursor .