scalarEvent

Construct a scalar event.

package
scalarEvent
@safe pure nothrow @nogc
(
const Mark start
,
const Mark end
,,
const Tag tag
,
const Tuple!(bool, bool) implicit
,
const string value
,
)

Parameters

end
Type: Mark

End position of the event in the file/stream.

anchor
Type: Anchor

Anchor of the scalar, if any.

tag
Type: Tag

Tag of the scalar, if specified.

implicit
Type: Tuple!(bool, bool)

Should the tag be implicitly resolved?

value
Type: string

String value of the scalar.

style

Scalar style.

Meta