package mrmime

  1. Overview
  2. Docs
type word = [
  1. | `Atom of string
  2. | `String of string
]
type 'addr domain = [
  1. | `Domain of string list
  2. | `Literal of string
  3. | `Addr of 'addr
]
type local = word list
type 'addr msg_id = local * 'addr domain
type nonsense = |
val is_vchar : char -> bool
val is_obs_no_ws_ctl : char -> bool
val is_ctext : char -> bool
val is_qtext : char -> bool
val is_atext : char -> bool
val is_cr : char -> bool
val is_lf : char -> bool
val is_d0 : char -> bool
val is_wsp : char -> bool
val is_quoted_pair : char -> bool
val is_dtext : char -> bool
val of_escaped_character : char -> char
val quoted_pair : char Angstrom.t
val wsp : char Angstrom.t
val crlf : unit Angstrom.t
type wsp =
  1. | HT
  2. | SP
type surrounded = {
  1. l : wsp list;
  2. r : wsp list;
}
type fws =
  1. | CRLF of surrounded list
  2. | L of wsp list
  3. | R of wsp list
val obs_fws : fws Angstrom.t
val fws : fws Angstrom.t
type comment_content =
  1. | Text of Rfc6532.t
  2. | Quoted_pair of char
  3. | Comment of comment
and comment_content_surrounded = fws option * comment_content
and comment = comment_content_surrounded list * fws option
val failf : ('a, Format.formatter, unit, 'b Angstrom.t) format4 -> 'a
val ignore : 'a Angstrom.t -> unit Angstrom.t
val comment : comment Angstrom.t
val ignore_fws : unit Angstrom.t
type cfws =
  1. | Comment of (fws option * comment) list * fws option
  2. | FWS of fws
val cfws : unit Angstrom.t
val qcontent : string Angstrom.t
val quoted_string : string Angstrom.t
val atom : string Angstrom.t
val word : [> `Atom of string | `String of string ] Angstrom.t
val dot_atom_text : string list Angstrom.t
val dot_atom : string list Angstrom.t
val obs_local_part : [> `Atom of string | `String of string ] list Angstrom.t
val local_part : [ `Atom of string | `String of string ] list Angstrom.t
val obs_domain : string list Angstrom.t
val domain_literal : string Angstrom.t
val domain : address_literal:'a Angstrom.t -> [> `Addr of 'a | `Domain of string list ] Angstrom.t
val id_left : [ `Atom of string | `String of string ] list Angstrom.t
val no_fold_literal : string Angstrom.t
val id_right : address_literal:'a Angstrom.t -> [> `Addr of 'a | `Domain of string list | `Literal of string ] Angstrom.t
val msg_id : address_literal:'a Angstrom.t -> ([ `Atom of string | `String of string ] list * [> `Addr of 'a | `Domain of string list | `Literal of string ]) Angstrom.t
OCaml

Innovation. Community. Security.