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 string anchor, const string 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 string anchor = null)

Construct a simple event.

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

Construct a scalar event.

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

Construct a stream start event.

Structs

Event
struct Event

YAML event produced by parser.

Meta