Debian Codegraph @

tools/coqdoc/output.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 open Common
12 open Index
13
14 val initialize : unit -> unit
15
16 val add_printing_token : string -> string option * string option -> unit
17 val remove_printing_token : string -> unit
18
19 val set_module : coq_module -> string option -> unit
20 val get_module : bool -> string
21
22 val header : unit -> unit
23 val trailer : unit -> unit
24
25 val push_in_preamble : string -> unit
26
27 val start_module : unit -> unit
28
29 val start_doc : unit -> unit
30 val end_doc : unit -> unit
31
32 val start_details : string option -> unit
33 val stop_details : unit -> unit
34
35 val start_emph : unit -> unit
36 val stop_emph : unit -> unit
37
38 val start_comment : unit -> unit
39 val end_comment : unit -> unit
40
41 val start_coq : unit -> unit
42 val end_coq : unit -> unit
43
44 val start_inline_coq : unit -> unit
45 val end_inline_coq : unit -> unit
46
47 val start_inline_coq_block : unit -> unit
48 val end_inline_coq_block : unit -> unit
49
50 val indentation : int -> unit
51 val line_break : unit -> unit
52 val paragraph : unit -> unit
53 val empty_line_of_code : unit -> unit
54
55 val section : int -> (unit -> unit) -> unit
56
57 val item : int -> unit
58 val stop_item : unit -> unit
59 val reach_item_level : int -> unit
60
61 val rule : unit -> unit
62
63 val nbsp : unit -> unit
64 val char : char -> unit
65 val keyword : string -> loc -> unit
66 val ident : string -> loc option -> unit
67 val sublexer : char -> loc -> unit
68 val sublexer_in_doc : char -> unit
69
70 val proofbox : unit -> unit
71
72 val latex_char : char -> unit
73 val latex_string : string -> unit
74 val html_char : char -> unit
75 val html_string : string -> unit
76 val verbatim_char : bool -> char -> unit
77 val hard_verbatim_char : char -> unit
78
79 val start_latex_math : unit -> unit
80 val stop_latex_math : unit -> unit
81 val start_verbatim : bool -> unit
82 val stop_verbatim : bool -> unit
83 val start_quote : unit -> unit
84 val stop_quote : unit -> unit
85
86 val url : string -> string option -> unit
87
88 (* this outputs an inference rule in one go. You pass it the list of
89 assumptions, then the middle line info, then the conclusion (which
90 is allowed to span multiple lines).
91
92 In each case, the int is the number of spaces before the start of
93 the line's text and the string is the text of the line with the
94 leading trailing space trimmed. For the middle rule, you can
95 also optionally provide a name.
96
97 We need the space info so that in modes where we aren't doing
98 something smart we can just format the rule verbatim like the user did
99 *)
100 val inf_rule : (int * string) list
101 -> (int * string * (string option))
102 -> (int * string) list
103 -> unit
104
105 val make_multi_index : unit -> unit
106 val make_index : unit -> unit
107 val make_toc : unit -> unit