Module Stream.Event

type pos = Yaml.Stream.Event.pos = {
  1. start_mark : Mark.t;
  2. end_mark : Mark.t;
}
val sexp_of_pos : pos -> Sexplib0.Sexp.t
val pos_of_sexp : Sexplib0.Sexp.t -> pos
type t = Yaml.Stream.Event.t =
  1. | Stream_start of {
    1. encoding : encoding;
    }
  2. | Document_start of {
    1. version : version option;
    2. implicit : bool;
    }
  3. | Document_end of {
    1. implicit : bool;
    }
  4. | Mapping_start of {
    1. anchor : string option;
    2. tag : string option;
    3. implicit : bool;
    4. style : layout_style;
    }
  5. | Mapping_end
  6. | Stream_end
  7. | Scalar of scalar
  8. | Sequence_start of {
    1. anchor : string option;
    2. tag : string option;
    3. implicit : bool;
    4. style : layout_style;
    }
  9. | Sequence_end
  10. | Alias of {
    1. anchor : string;
    }
  11. | Nothing
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t