summaryrefslogtreecommitdiff
path: root/ocamldoc/odoc_dag2html.mli
diff options
context:
space:
mode:
authorMaxence Guesdon <maxence.guesdon@inria.fr>2002-03-27 16:20:32 +0000
committerMaxence Guesdon <maxence.guesdon@inria.fr>2002-03-27 16:20:32 +0000
commit7a5ea2442771efc5ec966373c58bde9f02246308 (patch)
tree02339c1cea31ad3ac277ca21c162242edb9837ba /ocamldoc/odoc_dag2html.mli
parentc2876e5c25499b496add82188a907866a504a312 (diff)
downloadocaml-7a5ea2442771efc5ec966373c58bde9f02246308.tar.gz
ajout ocamldoc, pas encore compile automatiquement
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4566 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc/odoc_dag2html.mli')
-rw-r--r--ocamldoc/odoc_dag2html.mli30
1 files changed, 30 insertions, 0 deletions
diff --git a/ocamldoc/odoc_dag2html.mli b/ocamldoc/odoc_dag2html.mli
new file mode 100644
index 0000000000..96d44affaf
--- /dev/null
+++ b/ocamldoc/odoc_dag2html.mli
@@ -0,0 +1,30 @@
+(***********************************************************************)
+(* 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. *)
+(* *)
+(***********************************************************************)
+
+
+(** The types and functions to create a html table representing a dag.
+ Thanks to Daniel de Rauglaudre. *)
+
+type 'a dag = { mutable dag : 'a node array }
+and 'a node =
+ { mutable pare : idag list; valu : 'a; mutable chil : idag list }
+and idag = int
+
+(** This function returns the html code to represent the given dag. *)
+val html_of_dag : string dag -> string
+
+(** This function takes a list of classes and a list of class types and creates the associate dag. *)
+val create_class_dag :
+ Odoc_info.Class.t_class list ->
+ Odoc_info.Class.t_class_type list ->
+ (Odoc_info.Name.t * Odoc_info.Class.cct option) dag
+
+