Snapshot of parser state that can be used to revert changes.
Get all source code that has been read since the snapshot
Check if any output has been emitted since the snapshot
Revert both input and output state to the snapshot point
Revert only output state and returns the output tokens and mappings
Snapshot of parser state that can be used to revert changes.