SdlLexer.nextToken

SdlToken nextToken() @safe

Advance to the next token.

Skips whitespace and transparently handles line continuation (backslash-newline). Newlines are significant tag boundaries and are emitted as NEWLINE tokens rather than skipped.

Returns

The next token in the input.