Event

YAML event produced by parser.

48 bytes on 64bit.

Members

Properties

idString
string idString [@property getter]

Get string representation of the token ID.

isNull
bool isNull [@property getter]

Is this a null (uninitialized) event?

Unions

__anonymous
union __anonymous
__anonymous
union __anonymous

Variables

collectionStyle
CollectionStyle collectionStyle;

Collection style, if this is a SequenceStart or MappingStart.

encoding
Encoding encoding;

Encoding of the stream, if this is a StreamStart.

endMark
Mark endMark;

End position of the event in file/stream.

id
EventID id;

Event type.

implicit_2
bool implicit_2;

TODO figure this out - Unknown, used by PyYAML with Scalar events.

scalarStyle
ScalarStyle scalarStyle;

Style of scalar event, if this is a scalar event.

startMark
Mark startMark;

Start position of the event in file/stream.

value
string value;

Value of the event, if any.

Meta