]> matita.cs.unibo.it Git - helm.git/blob - helm/software/helena/src/xml/xmlLibrary.mli
update in helena
[helm.git] / helm / software / helena / src / xml / xmlLibrary.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.              
9      \ /   This software is distributed as is, NO WARRANTY.              
10       V_______________________________________________________________ *)
11
12 IFDEF OBJECTS THEN
13
14 type och = string -> unit
15
16 type attr = string * string
17
18 type pp = och -> int -> unit
19
20 val export_entity: ('term -> pp) -> 'term Entity.entity -> unit
21
22 val tag: string -> attr list -> ?contents:pp -> pp 
23
24 val sort: string
25
26 val lref: string
27
28 val gref: string
29
30 val cast: string
31
32 val appl: string
33
34 val proj: string
35
36 val abst: string
37
38 val abbr: string
39
40 val void: string
41
42 val position: int -> attr
43
44 val depth: int -> attr
45
46 val uri: Entity.uri -> attr
47
48 val restricted: bool -> attr
49
50 val layer: Layer.status -> Layer.layer -> attr
51
52 val name: Entity.bind_attrs -> attr
53
54 val main: Entity.arity -> attr list
55
56 val side: Entity.arity -> attr list
57
58 val apix: Entity.node_attrs -> attr
59
60 val meta: Entity.root_attrs -> attr
61
62 val info: Entity.root_attrs -> attr list
63
64 END