DocumentStartEvent

class DocumentStartEvent @JvmOverloads constructor(val explicit: Boolean, val specVersion: SpecVersion?, val tags: Map<String, String>, val startMark: Mark? = null, val endMark: Mark? = null) : Event

Marks the beginning of a document.

This event followed by the document's content and a DocumentEndEvent.

Constructors

Link copied to clipboard
constructor(explicit: Boolean, specVersion: SpecVersion?, tags: Map<String, String>, startMark: Mark? = null, endMark: Mark? = null)

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
Link copied to clipboard
Link copied to clipboard
val startMark: Mark? = null
Link copied to clipboard

Tag shorthands as defined by the %TAG directive.

Functions

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