scalarEvent

fnEvent scalarEvent(const Mark start, const Mark end, const string anchor, const string tag, const bool implicit, const string value, const ScalarStyle style = ScalarStyle.invalid) @safe pure nothrow @nogc

Construct a scalar event.

Parameters

startStart position of the event in the file/stream.
endEnd position of the event in the file/stream.
anchorAnchor of the scalar, if any.
tagTag of the scalar, if specified.
implicitShould the tag be implicitly resolved?
valueString value of the scalar.
styleScalar style.