Enum yaml_event_type_t

Description

Event types.

Values

YAML_NO_EVENT

An empty event.

YAML_STREAM_START_EVENT

A STREAM-START event.

YAML_STREAM_END_EVENT

A STREAM-END event.

Mentioned in:

Documentation / Parser API Synopsis

YAML_DOCUMENT_START_EVENT

A DOCUMENT-START event.

YAML_DOCUMENT_END_EVENT

A DOCUMENT-END event.

YAML_ALIAS_EVENT

An ALIAS event.

YAML_SCALAR_EVENT

A SCALAR event.

YAML_SEQUENCE_START_EVENT

A SEQUENCE-START event.

YAML_SEQUENCE_END_EVENT

A SEQUENCE-END event.

YAML_MAPPING_START_EVENT

A MAPPING-START event.

YAML_MAPPING_END_EVENT

A MAPPING-END event.

Source

Lines 355-383 in include/yaml.h.

typedef enum yaml_event_type_e {
    /** An empty event. */
    YAML_NO_EVENT,

    /** A STREAM-START event. */
    YAML_STREAM_START_EVENT,
    /** A STREAM-END event. */
    YAML_STREAM_END_EVENT,

    /** A DOCUMENT-START event. */
    YAML_DOCUMENT_START_EVENT,
    /** A DOCUMENT-END event. */
    YAML_DOCUMENT_END_EVENT,

    /** An ALIAS event. */
    YAML_ALIAS_EVENT,
    /** A SCALAR event. */
    YAML_SCALAR_EVENT,

    /** A SEQUENCE-START event. */
    YAML_SEQUENCE_START_EVENT,
    /** A SEQUENCE-END event. */
    YAML_SEQUENCE_END_EVENT,

    /** A MAPPING-START event. */
    YAML_MAPPING_START_EVENT,
    /** A MAPPING-END event. */
    YAML_MAPPING_END_EVENT
} yaml_event_type_t;





Add Discussion as Guest

Log in to DocsForge