X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tag.mli;h=75cd36219f2a31a7206784416abaf9a0aba23d5a;hb=bf2b1a91300ace1e7e83bd78f868a269d86498f9;hp=c7a15cbd51f6466c4b4c7929343a9a7ad67faa5a;hpb=c10ce35cd399aff15a49f3b24a31b38cb2191da0;p=SXSI%2Fxpathcomp.git diff --git a/tag.mli b/tag.mli index c7a15cb..75cd362 100644 --- a/tag.mli +++ b/tag.mli @@ -1,17 +1,27 @@ -(******************************************************************************) -(* SXSI : XPath evaluator *) -(* Kim Nguyen (Kim.Nguyen@nicta.com.au) *) -(* Copyright NICTA 2008 *) -(* Distributed under the terms of the LGPL (see LICENCE) *) -(******************************************************************************) -type t -type pool +type t = int +type pool +val tag : string -> t +val document_node : t val attribute : t val pcdata : t -val tag : string -> t +val attribute_data : t +val document_node_close : t +val attribute_close : t +val pcdata_close : t +val attribute_data_close : t + + val init : pool -> unit +val to_string : t -> string val compare : t -> t -> int val equal : t -> t -> bool +val nullt : t +val dummy : t +val dump : Format.formatter -> t -> unit +val check : t -> unit (* Check internal invariants *) + +(* Data structures *) +val hash : t -> int val print : Format.formatter -> t -> unit -val to_string : t -> string +