summaryrefslogtreecommitdiff
path: root/ocamldoc/odoc_misc.mli
diff options
context:
space:
mode:
authorMaxence Guesdon <maxence.guesdon@inria.fr>2002-04-05 09:20:29 +0000
committerMaxence Guesdon <maxence.guesdon@inria.fr>2002-04-05 09:20:29 +0000
commit566637b28c8df6abf26ae7aeb9f27e38b31622ef (patch)
tree511a6680640ae0dc99a6474861607ac82945e0d8 /ocamldoc/odoc_misc.mli
parent27934ab79a7ee3a62e78c3bfea489d0def8ff7e2 (diff)
downloadocaml-566637b28c8df6abf26ae7aeb9f27e38b31622ef.tar.gz
génration en utiisant type des modules et classes au lieu des kind
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4597 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc/odoc_misc.mli')
-rw-r--r--ocamldoc/odoc_misc.mli16
1 files changed, 11 insertions, 5 deletions
diff --git a/ocamldoc/odoc_misc.mli b/ocamldoc/odoc_misc.mli
index 9f9de92ba3..25c4389662 100644
--- a/ocamldoc/odoc_misc.mli
+++ b/ocamldoc/odoc_misc.mli
@@ -26,11 +26,17 @@ val string_of_type_expr : Types.type_expr -> string
with a given separator. It writes in and flushes [Format.str_formatter].*)
val string_of_type_list : string -> Types.type_expr list -> string
-(** This function returns a string representing a [Types.module_type]. *)
-val string_of_module_type : Types.module_type -> string
-
-(** This function returns a string representing a [Types.class_type]. *)
-val string_of_class_type : Types.class_type -> string
+(** This function returns a string representing a [Types.module_type].
+ @param complete indicates if we must print complete signatures
+ or just [sig end]. Default if [false].
+*)
+val string_of_module_type : ?complete: bool -> Types.module_type -> string
+
+(** This function returns a string representing a [Types.class_type].
+ @param complete indicates if we must print complete signatures
+ or just [object end]. Default if [false].
+*)
+val string_of_class_type : ?complete: bool -> Types.class_type -> string
(** This function returns the list of (label, type_expr) describing
the methods of a type_expr in a Tobject.*)