1 (***********************************************************************)
4 (* Maxence Guesdon, projet Cristal, INRIA Rocquencourt *)
6 (* Copyright 2001 Institut National de Recherche en Informatique et *)
7 (* en Automatique. All rights reserved. This file is distributed *)
8 (* under the terms of the Q Public License version 1.0. *)
10 (***********************************************************************)
41 | Title
of int * string option * text
43 | Link
of string * text
44 | Ref
of string * ref_kind
option
47 | Module_list
of string list
49 | Custom
of string * text
51 and text
= text_element list
58 type see
= see_ref
* text
60 type param
= (string * text
)
62 type raised_exception
= (string * text
)
66 i_authors
: string list
;
67 i_version
: string option;
69 i_since
: string option;
70 i_deprecated
: text
option;
71 i_params
: param list
;
72 i_raised_exceptions
: raised_exception list
;
73 i_return_value
: text
option ;
74 i_custom
: (string * text
) list
;
85 i_raised_exceptions
= [] ;
86 i_return_value
= None
;
91 loc_impl
: (string * int) option ;
92 loc_inter
: (string * int) option ;
95 let dummy_loc = { loc_impl
= None
; loc_inter
= None
}
105 | Merge_raised_exception
109 let all_merge_options = [
117 Merge_raised_exception
;
124 let magic = Odoc_messages.magic
126 type 'a dump
= Dump
of magic * 'a
128 let make_dump a
= Dump
(magic, a
)
130 let open_dump = function
133 else raise
(Failure
Odoc_messages.bad_magic_number
)