dyaml.event

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

Members

Aliases

aliasEvent
alias aliasEvent = event!(EventID.Alias)
Undocumented in source.
mappingEndEvent
alias mappingEndEvent = event!(EventID.MappingEnd)
Undocumented in source.
mappingStartEvent
alias mappingStartEvent = collectionStartEvent!(EventID.MappingStart)
Undocumented in source.
sequenceEndEvent
alias sequenceEndEvent = event!(EventID.SequenceEnd)
Undocumented in source.
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(Mark start, Mark end, Anchor anchor, Tag tag, bool implicit, CollectionStyle style)

Construct a collection (mapping or sequence) start event.

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

Construct a document end event.

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

Construct a document start event.

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

Construct a simple event.

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

Construct a scalar event.

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

Construct a stream start event.

Structs

Event
struct Event

YAML event produced by parser.

Meta