]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/common/library.mli
- we implemented the hierarchy and sort names declaration in text parser
[helm.git] / helm / software / lambda-delta / common / library.mli
index 7e3ee1b82985f5113dcb2dcb82ddf98cca7134ff..97a9692195a6c95845e74eb63bc585a139547d4d 100644 (file)
@@ -9,6 +9,43 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-val export_item:
-   (Format.formatter -> 'bind Item.obj -> unit) -> 
-   bool -> Hierarchy.graph -> 'bind Item.item -> unit
+type och = string -> unit
+
+type attr = string * string
+
+type pp = och -> int -> unit
+
+val export_entity:
+   ('term -> pp) -> bool -> 'term Entity.entity -> unit
+
+val tag: string -> attr list -> ?contents:pp -> pp 
+
+val sort: string
+
+val lref: string
+
+val gref: string
+
+val cast: string
+
+val appl: string
+
+val proj: string
+
+val abst: string
+
+val abbr: string
+
+val void: string
+
+val position: int -> attr
+
+val offset: int -> attr
+
+val uri: Entity.uri -> attr
+
+val arity: int -> attr
+
+val name: Entity.attrs -> attr
+
+val mark: Entity.attrs -> attr