Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (72 sloc) 1.88 KB
(** Copyright (c) 2008,2009 Anil Madhavapeddy <anil@recoil.org>
** See the COPYING file included in this distribution for licensing details *)
exception Parse_error of string
module Terminal :
sig
module DIGIT :
sig
type t
val of_char : char -> t
val of_string : string -> t
val to_string : t -> string
val to_int : t -> int
val test : char -> bool
val one : Imap_parser.t -> (Imap_parser.t * t) option
end
module SP :
sig
type t
val test : char -> bool
val of_char : char -> t
val to_string : t -> string
val one : Imap_parser.t -> (Imap_parser.t * t) option
end
module DQUOTE :
sig
type t
val test : char -> bool
val of_char : char -> t
val to_string : t -> string
val one : Imap_parser.t -> (Imap_parser.t * t) option
end
module ALPHA :
sig
type t
val test : char -> bool
val of_char : char -> t
val to_string : t -> string
val one : Imap_parser.t -> (Imap_parser.t * t) option
end
module CHAR :
sig
type t
val test : char -> bool
val of_char : char -> t
val to_string : t -> string
val one : Imap_parser.t -> (Imap_parser.t * t) option
end
module CTL :
sig
type t
val test : char -> bool
val of_char : char -> t
val to_string : t -> string
val one : Imap_parser.t -> (Imap_parser.t * t) option
end
module CRLF :
sig
type t
val test : char -> bool
val of_char : char -> t
val to_string : t -> string
val one : Imap_parser.t -> (Imap_parser.t * t) option
end
type t =
CRLF
| CTL of CTL.t
| CHAR of CHAR.t
| ALPHA of ALPHA.t
| DQUOTE
| SP
| DIGIT of DIGIT.t
end