provide current cursor to step callback

But how will `getCharIndex()` access the cursor if it's not at the Parser scope?