type value = [
|
`Null
|
`Bool of bool
|
`Float of float
|
`String of string
|
`A of value list
|
`O of (string * value) list
]
val sexp_of_value : value -> Sexplib0.Sexp.t
val value_of_sexp : Sexplib0.Sexp.t -> value
val __value_of_sexp__ : Sexplib0.Sexp.t -> value
and sequence = Yaml.sequence = {
s_anchor : string option;
s_tag : string option;
s_implicit : bool;
s_members : yaml list;
}
and mapping = Yaml.mapping = {
m_anchor : string option;
m_tag : string option;
m_implicit : bool;
m_members : (yaml * yaml) list;
}
and scalar = Yaml.scalar = {
anchor : string option;
tag : string option;
value : string;
plain_implicit : bool;
quoted_implicit : bool;
style : scalar_style;
}
and scalar_style = [
|
`Any
|
`Plain
|
`Single_quoted
|
`Double_quoted
|
`Literal
|
`Folded
]
val sexp_of_yaml : yaml -> Sexplib0.Sexp.t
val sexp_of_sequence : sequence -> Sexplib0.Sexp.t
val sexp_of_mapping : mapping -> Sexplib0.Sexp.t
val sexp_of_scalar : scalar -> Sexplib0.Sexp.t
val yaml_of_sexp : Sexplib0.Sexp.t -> yaml
val __yaml_of_sexp__ : Sexplib0.Sexp.t -> yaml
val sequence_of_sexp : Sexplib0.Sexp.t -> sequence
val mapping_of_sexp : Sexplib0.Sexp.t -> mapping
val scalar_of_sexp : Sexplib0.Sexp.t -> scalar
val __scalar_style_of_sexp__ : Sexplib0.Sexp.t -> scalar_style
type version = [
|
`V1_1
|
`V1_2
]
val sexp_of_version : version -> Sexplib0.Sexp.t
val version_of_sexp : Sexplib0.Sexp.t -> version
val __version_of_sexp__ : Sexplib0.Sexp.t -> version
type encoding = [
|
`Any
|
`Utf16be
|
`Utf16le
|
`Utf8
]
val sexp_of_encoding : encoding -> Sexplib0.Sexp.t
val encoding_of_sexp : Sexplib0.Sexp.t -> encoding
val __encoding_of_sexp__ : Sexplib0.Sexp.t -> encoding
type layout_style = [
|
`Any
|
`Block
|
`Flow
]
val __layout_style_of_sexp__ : Sexplib0.Sexp.t -> layout_style