buildPendingEndEvent

fnXmlEvent buildPendingEndEvent(ref TokenProcessingState state) @safe pure nothrow

Returns the pending END_ELEMENT event and clears the pending state.

Parameters

stateMutable processing state (pending fields are cleared).

Returns

A synthetic END_ELEMENT event for an empty-element tag.

Precondition: state.hasPendingEnd().