Delimited positioning information for an event in the document.
val sexp_of_pos : pos -> Ppx_sexp_conv_lib.Sexp.tval pos_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> postype t = | Stream_start of {
} | ||||
| Document_start of {
} | ||||
| Document_end of {
} | ||||
| Mapping_start of {
} | ||||
| Mapping_end | ||||
| Stream_end | ||||
| Scalar of scalar | ||||
| Sequence_start of {
} | ||||
| Sequence_end | ||||
| Alias of {
} | ||||
| Nothing |
t represents a single event in a YAML processing stream.
These may be produced by a parser or consumed by an emitter. A valid sequence of events should obey the grammar:
stream ::= STREAM-START document* STREAM-ENDdocument ::= DOCUMENT-START node DOCUMENT-ENDnode ::= ALIAS | SCALAR | sequence | mappingsequence ::= SEQUENCE-START node* SEQUENCE-ENDmapping ::= MAPPING-START (node node)* MAPPING-END
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> tval sexp_of_t : t -> Sexplib0.Sexp.t