private void FetchStreamEnd()
{
cursor.ForceSkipLineAfterNonBreak();
// Reset the indentation level.
UnrollIndent(-1);
// Reset simple keys.
RemoveSimpleKey();
simpleKeyAllowed = false;
// Create the STREAM-END token and append it to the queue.
streamEndProduced = true;
var mark = cursor.Mark();
tokens.Enqueue(new StreamEnd(mark, mark));
}