SequenceStartEvent

class SequenceStartEvent @JvmOverloads constructor(val anchor: Anchor?, val tag: String?, val implicit: Boolean, val flowStyle: FlowStyle, val startMark: Mark? = null, val endMark: Mark? = null) : CollectionStartEvent

Marks the beginning of a sequence node.

This event is followed by the elements contained in the sequence, and a SequenceEndEvent.

See also

Constructors

Link copied to clipboard
constructor(anchor: Anchor?, tag: String?, implicit: Boolean, flowStyle: FlowStyle, startMark: Mark? = null, endMark: Mark? = null)

Properties

Link copied to clipboard

Node anchor by which this node might later be referenced by a AliasEvent.

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
val tag: String?

Tag of this collection.

Functions

Link copied to clipboard

true if this collection is in flow style, false for block style.

Link copied to clipboard

true if the tag can be omitted while this collection is emitted.

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