package yaml-sexp

  1. Overview
  2. Docs
Parse and generate YAML 1.1 files

Install

Dune Dependency

Authors

Maintainers

Sources

yaml-3.2.0.tbz
sha256=c50d2aca28b9f966792b71e1603351e5d24eda4dfd3e4453fbd50366a3a08227
sha512=e87ae73f3e376800a09e4359d5c7090ef5107807f540b51fbdee9017bcbacb2414ec12255b37caead115ea1562303436cac2c91c60814c2ba44bdd3d677fc0d1

doc/yaml-sexp/Yaml_sexp/index.html

Module Yaml_sexpSource

Sourcetype 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
]
Sourceval sexp_of_value : value -> Sexplib0.Sexp.t
Sourceval value_of_sexp : Sexplib0.Sexp.t -> value
Sourceval __value_of_sexp__ : Sexplib0.Sexp.t -> value
Sourcetype yaml = [
  1. | `Scalar of scalar
  2. | `Alias of string
  3. | `A of sequence
  4. | `O of mapping
]
Sourceand sequence = Yaml.sequence = {
  1. s_anchor : string option;
  2. s_tag : string option;
  3. s_implicit : bool;
  4. s_members : yaml list;
}
Sourceand mapping = Yaml.mapping = {
  1. m_anchor : string option;
  2. m_tag : string option;
  3. m_implicit : bool;
  4. m_members : (yaml * yaml) list;
}
Sourceand 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;
}
Sourceand scalar_style = [
  1. | `Any
  2. | `Plain
  3. | `Single_quoted
  4. | `Double_quoted
  5. | `Literal
  6. | `Folded
]
Sourceval sexp_of_yaml : yaml -> Sexplib0.Sexp.t
Sourceval sexp_of_sequence : sequence -> Sexplib0.Sexp.t
Sourceval sexp_of_mapping : mapping -> Sexplib0.Sexp.t
Sourceval sexp_of_scalar : scalar -> Sexplib0.Sexp.t
Sourceval sexp_of_scalar_style : scalar_style -> Sexplib0.Sexp.t
Sourceval yaml_of_sexp : Sexplib0.Sexp.t -> yaml
Sourceval __yaml_of_sexp__ : Sexplib0.Sexp.t -> yaml
Sourceval sequence_of_sexp : Sexplib0.Sexp.t -> sequence
Sourceval mapping_of_sexp : Sexplib0.Sexp.t -> mapping
Sourceval scalar_of_sexp : Sexplib0.Sexp.t -> scalar
Sourceval scalar_style_of_sexp : Sexplib0.Sexp.t -> scalar_style
Sourceval __scalar_style_of_sexp__ : Sexplib0.Sexp.t -> scalar_style
Sourcetype version = [
  1. | `V1_1
  2. | `V1_2
]
Sourceval sexp_of_version : version -> Sexplib0.Sexp.t
Sourceval version_of_sexp : Sexplib0.Sexp.t -> version
Sourceval __version_of_sexp__ : Sexplib0.Sexp.t -> version
Sourcetype encoding = [
  1. | `Any
  2. | `Utf16be
  3. | `Utf16le
  4. | `Utf8
]
Sourceval sexp_of_encoding : encoding -> Sexplib0.Sexp.t
Sourceval encoding_of_sexp : Sexplib0.Sexp.t -> encoding
Sourceval __encoding_of_sexp__ : Sexplib0.Sexp.t -> encoding
Sourcetype layout_style = [
  1. | `Any
  2. | `Block
  3. | `Flow
]
Sourceval sexp_of_layout_style : layout_style -> Sexplib0.Sexp.t
Sourceval layout_style_of_sexp : Sexplib0.Sexp.t -> layout_style
Sourceval __layout_style_of_sexp__ : Sexplib0.Sexp.t -> layout_style
Sourcemodule Stream : sig ... end
OCaml

Innovation. Community. Security.