package liquidsoap-lang

  1. Overview
  2. Docs
type t = [
  1. | `Assoc of (string * t) list
  2. | `Tuple of t list
  3. | `String of string
  4. | `Bool of bool
  5. | `Float of float
  6. | `Int of int
  7. | `Null
]
type pos = Stdlib.Lexing.position * Stdlib.Lexing.position

A position.

type parse_error = {
  1. pos : pos;
  2. message : string;
}
exception Parse_error of parse_error
val from_string : ?pos:pos list -> ?json5:bool -> string -> t
val to_string : ?compact:bool -> ?json5:bool -> t -> string
OCaml

Innovation. Community. Security.