XmlIncrementalLexer.tokenReady

XmlLexerResult tokenReady(XmlToken tok) @trusted

Builds a XmlLexerResult signalling that a token was successfully produced.

Resets the lexer state to IDLE.

Parameters

tokThe completed token.

Returns

A tuple with the token and ready = true.