TokenProcessingState.hasPendingEnd

bool hasPendingEnd() const @safe pure nothrow

Returns true when a synthetic END_ELEMENT is pending.

This is the case after processing an empty-element tag (<a/>) which requires two events: START_ELEMENT followed by END_ELEMENT.