dyaml.event

YAML events. Code based on PyYAML: http://www.pyyaml.org

Members

Aliases

sequenceStartEvent
alias sequenceStartEvent = collectionStartEvent!(EventID.SequenceStart)

Aliases for collection start events.

streamEndEvent
alias streamEndEvent = event!(EventID.StreamEnd)

Aliases for simple events.

Enums

EventID
enum EventID

Event types.

Functions

collectionStartEvent
Event collectionStartEvent(const Mark start, const Mark end, const Anchor anchor, const Tag tag, const bool implicit, const CollectionStyle style)

Construct a collection (mapping or sequence) start event.

documentEndEvent
Event documentEndEvent(const Mark start, const Mark end, const bool explicit)

Construct a document end event.

documentStartEvent
Event documentStartEvent(const Mark start, const Mark end, const bool explicit, string YAMLVersion, TagDirective[] tagDirectives)

Construct a document start event.

event
Event event(const Mark start, const Mark end, const Anchor anchor = Anchor())

Construct a simple event.

scalarEvent
Event scalarEvent(const Mark start, const Mark end, const Anchor anchor, const Tag tag, const Tuple!(bool, bool) implicit, const string value, const ScalarStyle style = ScalarStyle.Invalid)

Construct a scalar event.

streamStartEvent
Event streamStartEvent(const Mark start, const Mark end, const Encoding encoding)

Construct a stream start event.

Structs

Event
struct Event

YAML event produced by parser.

Meta