Scanner.scanToNextToken

void scanToNextToken() @safe

Move to next token in the file/stream.

We ignore spaces, line breaks and comments. If we find a line break in the block context, we set allowSimpleKey` on.

We do not yet support BOM inside the stream as the specification requires. Any such mark will be considered as a part of the document.