2002-03-27 08:20:32 -08:00
|
|
|
(***********************************************************************)
|
2012-08-01 05:09:31 -07:00
|
|
|
(* *)
|
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. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(** A module with a function to parse strings to obtain a [Odoc_types.text] value. *)
|
|
|
|
|
|
|
|
(** Syntax error in a text. *)
|
|
|
|
exception Text_syntax of int * int * string (* line, char, string *)
|
|
|
|
|
|
|
|
(** Transformation of strings to text structures. *)
|
2010-01-22 04:48:24 -08:00
|
|
|
module Texter :
|
|
|
|
sig
|
|
|
|
val text_of_string : string -> Odoc_types.text
|
2003-11-24 13:20:51 -08:00
|
|
|
val string_of_text : Odoc_types.text -> string
|
|
|
|
end
|