XmlLexerResult — either a ready token or a needMore signal.XmlLexerResult tryNextFromIdle() @safeAttempts to classify and begin scanning the next token from IDLE state.
Inspects the current buffer to determine the token type (text, comment, CDATA, PI, end tag, start tag, or DOCTYPE) and transitions to the appropriate scanning state. Returns needMore if there is insufficient data to classify.
XmlLexerResult — either a ready token or a needMore signal.