package yaml-sexp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type value = [
  1. | `Null
  2. | `Bool of bool
  3. | `Float of float
  4. | `String of string
  5. | `A of value list
  6. | `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
type yaml = [
  1. | `Scalar of scalar
  2. | `Alias of string
  3. | `A of sequence
  4. | `O of mapping
]
and sequence = Yaml.sequence = {
  1. s_anchor : string option;
  2. s_tag : string option;
  3. s_implicit : bool;
  4. s_members : yaml list;
}
and mapping = Yaml.mapping = {
  1. m_anchor : string option;
  2. m_tag : string option;
  3. m_implicit : bool;
  4. m_members : (yaml * yaml) list;
}
and scalar = Yaml.scalar = {
  1. anchor : string option;
  2. tag : string option;
  3. value : string;
  4. plain_implicit : bool;
  5. quoted_implicit : bool;
  6. style : scalar_style;
}
and scalar_style = [
  1. | `Any
  2. | `Plain
  3. | `Single_quoted
  4. | `Double_quoted
  5. | `Literal
  6. | `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 sexp_of_scalar_style : scalar_style -> 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
val __scalar_style_of_sexp__ : Sexplib0.Sexp.t -> scalar_style
type version = [
  1. | `V1_1
  2. | `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 = [
  1. | `Any
  2. | `Utf16be
  3. | `Utf16le
  4. | `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 = [
  1. | `Any
  2. | `Block
  3. | `Flow
]
val sexp_of_layout_style : layout_style -> Sexplib0.Sexp.t
val layout_style_of_sexp : Sexplib0.Sexp.t -> layout_style
val __layout_style_of_sexp__ : Sexplib0.Sexp.t -> layout_style
module Stream : sig ... end
OCaml

Innovation. Community. Security.