AVALANCHE: Implement handling of the cursor in Parser.