1 (******************************************************************************)
5 (* Claudio Sacerdoti Coen <sacerdot@cs.unibo.it> *)
8 (* This module is the objects level of a parser for cic objects from xml *)
9 (* files to the internal representation. It uses the module cicParser3 *)
10 (* cicParser3 (terms level) and it is used only through cicParser2 (top *)
13 (******************************************************************************)
15 exception IllFormedXml of int
16 exception NotImplemented
18 (* This is the main function and also the only one used directly from *)
19 (* cicParser. Given the root of the dom tree, it returns the internal *)
20 (* representation of the cic object described in the tree *)
21 (* It uses the previous functions and the to_cic_term method defined *)
22 (* in cicParser3 (used for subtrees that encode cic terms) *)
24 < attribute : string -> Pxp_types.att_value;
25 node_type : Pxp_document.node_type;
26 sub_nodes : < attribute : string -> Pxp_types.att_value;
27 node_type : Pxp_document.node_type;
28 sub_nodes : CicParser3.cic_term Pxp_document.node list;