X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2FcicParser.mli;fp=helm%2Focaml%2Fcic%2FcicParser.mli;h=33c5b4b198835413dc1e21ff53b1ca00206af983;hb=58bc0455c51116f049a7135dfed6e235c271f0d2;hp=048df36a360dbe3898f8be1b37bbe9b0070c2571;hpb=65691806f2e187622f9fcceac0cd66f3f7ed7ba0;p=helm.git diff --git a/helm/ocaml/cic/cicParser.mli b/helm/ocaml/cic/cicParser.mli index 048df36a3..33c5b4b19 100644 --- a/helm/ocaml/cic/cicParser.mli +++ b/helm/ocaml/cic/cicParser.mli @@ -1,4 +1,4 @@ -(* Copyright (C) 2000, HELM Team. +(* Copyright (C) 2000-2005, HELM Team. * * This file is part of HELM, an Hypertextual, Electronic * Library of Mathematics, developed at the Computer Science @@ -23,35 +23,22 @@ * http://cs.unibo.it/helm/. *) -(******************************************************************************) -(* *) -(* PROJECT HELM *) -(* *) -(* Claudio Sacerdoti Coen *) -(* 22/03/2000 *) -(* *) -(* This is the main (top level) module of a parser for cic objects from xml *) -(* files to the internal representation. It uses the modules cicParser2 *) -(* (objects level) and cicParser3 (terms level) *) -(* *) -(******************************************************************************) - (** 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 *) + * 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 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: UriManager.uri -> 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 : UriManager.uri -> string -> string option -> Cic.obj -(* 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