Event

YAML event produced by parser.

48 bytes on 64bit.

Members

Functions

opCmp
int opCmp(Event )
Undocumented in source.

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
Undocumented in source.
__anonymous
union __anonymous
Undocumented in source.

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