X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2FcicParser.mli;h=048df36a360dbe3898f8be1b37bbe9b0070c2571;hb=7e9904185ceff75884783dbf0bad506b8521b857;hp=0078f6f330d7529219c6bc90952dd0ceae91f9b8;hpb=5a92117eeff70048d29e91ba24e113155d956e1b;p=helm.git diff --git a/helm/ocaml/cic/cicParser.mli b/helm/ocaml/cic/cicParser.mli index 0078f6f33..048df36a3 100644 --- a/helm/ocaml/cic/cicParser.mli +++ b/helm/ocaml/cic/cicParser.mli @@ -36,9 +36,22 @@ (* *) (******************************************************************************) -(* given the filename of an xml file of a cic object and it's uri, it returns *) -(* its internal annotated representation. The boolean is set to true if the *) -(* annotations do really matter *) -val term_of_xml : - string -> UriManager.uri -> bool -> - Cic.annobj * (Cic.id, Cic.anntarget) Hashtbl.t option + (** raised for exception received by the getter (i.e. embedded in the source + * XML document). Arguments are values of "helm:exception" and + * "helm:exception_arg" attributes *) +exception Getter_failure of string * string + + (** generic parser failure *) +exception Parser_failure of string + +(* given the filename of an xml file of a cic object, it returns *) +(* its internal annotated representation. In the case of constants (whose *) +(* type is splitted from the body), a second xml file (for the body) must be *) +(* provided. *) +val annobj_of_xml : string -> string option -> Cic.annobj + +(* given the filename of an xml file of a cic object, it returns *) +(* its internal logical representation. In the case of constants (whose *) +(* type is splitted from the body), a second xml file (for the body) must be *) +(* provided. *) +val obj_of_xml : string -> string option -> Cic.obj