StreamStartEvent

Marks the start of a stream that might contain multiple documents.

This event is the first event that a parser emits. Together with StreamEndEvent (which is the last event a parser emits) they mark the beginning and the end of a stream of documents.

See Event for an exemplary output.

Constructors

Link copied to clipboard
constructor(startMark: Mark?, endMark: Mark?)
constructor()

Properties

Link copied to clipboard
val endMark: Mark? = null
Link copied to clipboard
open override val eventId: Event.ID

Get the type (kind) of this Event

Link copied to clipboard
val startMark: Mark? = null

Functions

Link copied to clipboard
open override fun toString(): String