]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_transformations/box.mli
- changed license to lgpl
[helm.git] / helm / ocaml / cic_transformations / box.mli
index 2c98b296938d1772c2deaab199a3d9bfa3715071..8d65c27f0a37ee3b6e7538cc38acacab450d1f02 100644 (file)
@@ -36,6 +36,7 @@ type
   'expr box =
     Text of attr * string
   | Space of attr
+  | Ink of attr
   | H of attr * ('expr box) list
   | V of attr * ('expr box) list
   | Object of attr * 'expr
@@ -47,5 +48,22 @@ val smallskip : 'expr box
 val skip: 'expr box
 val indent : 'expr box -> 'expr box
 
+val box2xml:
+  obj2xml:('a -> Xml.token Stream.t) -> 'a box ->
+    Xml.token Stream.t
 
+val map: ('a -> 'b) -> 'a box -> 'b box
+
+(*
+val document_of_box :
+  ~obj2xml:('a -> Xml.token Stream.t) -> 'a box -> Xml.token Stream.t
+*)
+
+val b_h: attr -> 'expr box list -> 'expr box
+val b_v: attr -> 'expr box list -> 'expr box
+val b_text: attr -> string -> 'expr box
+val b_object: 'expr -> 'expr box
+val b_indent: 'expr box -> 'expr box
+val b_space: 'expr box
+val b_kw: string -> 'expr box