module Chqprd:Checker for progress in definitions (.prd)sig..end
This source is released to the public domain since 2001. No warranty.
Citation of the project Structio and the following URL is appreciated.
http://structio.sourceforge.net/repasa
val words : int Pervasives.refval prog : int Pervasives.refval check_prog : int Pervasives.ref ->
(int * int * int, string) Hashtbl.t ->
< attribute : string -> Markup_types.att_value; pos_file : string; .. > ->
unitcheck_prog retval hf elem Checks an element <prog> that comes in
elem.retval : Value to return to OS.hf : Hashing table with used dates.elem : element <prog>.val check_son_prog : (int * int * int, string) Hashtbl.t ->
(string * string, string) Hashtbl.t ->
< attribute : string -> Markup_types.att_value;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : < data : string; node_type : Markup_document.node_type; .. >
list;
.. > ->
unitcheck_son_prgo hf hat elem Checks the sons of a referenced word.hf : Hashing table with progresshat : Hashing table for annotationselem : Element son of <progsig>val check_progress : string ->
string ->
('a Markup_document.extension Markup_document.node as 'a) list ->
< attribute : string -> Markup_types.att_value;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : < attribute : string -> Markup_types.att_value; data :
string; node_type : Markup_document.node_type;
pos_file : string;
sub_nodes : < data : string;
node_type : Markup_document.node_type; .. >
list;
.. >
list;
.. >
list -> unitcheck_progress full_name dname defs l checks the nodes of a progress file.full_name : Complete name of file checked.dname : name of default definitions file.defs : default definitions.l : markup forest with progress.val check_prdef : string ->
string ->
< root : < sub_nodes : < attribute : string -> Markup_types.att_value;
node_type : Markup_document.node_type;
pos_file : string;
sub_nodes : < attribute : string ->
Markup_types.att_value;
data : string;
node_type : Markup_document.node_type;
pos_file : string;
sub_nodes : < data : string;
node_type : Markup_document.node_type;
.. >
list;
.. >
list;
.. >
list;
.. >;
.. > ->
unitcheck_prdef name full_name l Checks an XML with progress in
definitions (prdef.dtd). name is the name of the file to check,
full_name includes the path, l is the ast read by markup.