X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_transformations%2Fbox.mli;h=296b14c156b50f3bac62d42a7147473ccb13dff5;hb=12cc5b2b8e7f7bb0b5e315094b008a293a4df6b1;hp=2c98b296938d1772c2deaab199a3d9bfa3715071;hpb=ac0a12080b434bf0daafc08e9da240eb57f47280;p=helm.git diff --git a/helm/ocaml/cic_transformations/box.mli b/helm/ocaml/cic_transformations/box.mli index 2c98b2969..296b14c15 100644 --- a/helm/ocaml/cic_transformations/box.mli +++ b/helm/ocaml/cic_transformations/box.mli @@ -36,8 +36,11 @@ 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 + | HV of attr * ('expr box) list + | HOV of attr * ('expr box) list | Object of attr * 'expr | Action of attr * ('expr box) list @@ -47,5 +50,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