2002-03-27 08:20:32 -08:00
|
|
|
(***********************************************************************)
|
|
|
|
(* OCamldoc *)
|
|
|
|
(* *)
|
|
|
|
(* Maxence Guesdon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2001 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
2003-11-24 02:44:07 -08:00
|
|
|
(* $Id$ *)
|
2002-03-27 08:20:32 -08:00
|
|
|
|
|
|
|
(** The global variables used by the special comment parser.*)
|
|
|
|
|
|
|
|
let nb_chars = ref 0
|
|
|
|
|
|
|
|
let authors = ref ([] : string list)
|
|
|
|
|
|
|
|
let version = ref (None : string option)
|
|
|
|
|
|
|
|
let sees = ref ([] : string list)
|
|
|
|
|
|
|
|
let since = ref (None : string option)
|
|
|
|
|
2010-05-31 04:52:13 -07:00
|
|
|
let before = ref []
|
|
|
|
|
2002-03-27 08:20:32 -08:00
|
|
|
let deprecated = ref (None : string option)
|
|
|
|
|
|
|
|
let params = ref ([] : (string * string) list)
|
|
|
|
|
|
|
|
let raised_exceptions = ref ([] : (string * string) list)
|
|
|
|
|
|
|
|
let return_value = ref (None : string option)
|
|
|
|
|
|
|
|
let customs = ref []
|
|
|
|
|
|
|
|
let init () =
|
|
|
|
nb_chars := 0;
|
|
|
|
authors := [];
|
|
|
|
version := None;
|
|
|
|
sees := [];
|
|
|
|
since := None;
|
2010-05-31 04:52:13 -07:00
|
|
|
before := [];
|
2002-03-27 08:20:32 -08:00
|
|
|
deprecated := None;
|
|
|
|
params := [];
|
|
|
|
raised_exceptions := [];
|
|
|
|
return_value := None ;
|
2010-01-22 04:48:24 -08:00
|
|
|
customs := []
|
2002-03-27 08:20:32 -08:00
|
|
|
|
2003-11-24 02:44:07 -08:00
|
|
|
(* eof $Id$ *)
|