ScalarEvent

class ScalarEvent @JvmOverloads constructor(val anchor: Anchor?, val tag: String?, val implicit: ImplicitTuple, val value: String, val scalarStyle: ScalarStyle, val startMark: Mark? = null, val endMark: Mark? = null) : NodeEvent

Marks a scalar value.

Constructors

Link copied to clipboard
constructor(anchor: Anchor?, tag: String?, implicit: ImplicitTuple, value: String, scalarStyle: ScalarStyle, 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

Indicates the style of the scalar

Link copied to clipboard
val startMark: Mark? = null
Link copied to clipboard
val tag: String?

Tag of this scalar.

Link copied to clipboard

String representation of the value, without quotes and escaping.

Functions

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