XmlIncrementalLexer.tryNext

XmlLexerResult tryNext() @safe

Attempts to produce the next token from the buffered input.

Returns

A tuple of (XmlToken, bool) where the bool is true when a token

was successfully produced, and false when more data is needed.

Throws

XmlException on lexical errors, or UNEXPECTED_EOF when the stream

is marked as ended but an incomplete token remains.