X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tag.mli;h=b5e0ad295dfd7d4a519c33f85dd56180fea9a7be;hb=25dd7fcc77c2188732d96d5ff98d759bb81737cb;hp=c7a15cbd51f6466c4b4c7929343a9a7ad67faa5a;hpb=c10ce35cd399aff15a49f3b24a31b38cb2191da0;p=SXSI%2Fxpathcomp.git diff --git a/tag.mli b/tag.mli index c7a15cb..b5e0ad2 100644 --- a/tag.mli +++ b/tag.mli @@ -1,17 +1,18 @@ -(******************************************************************************) -(* 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 - -val attribute : t -val pcdata : t +type t = int +type pool val tag : string -> t +val pcdata : t +val attribute : t val init : pool -> unit +val to_string : t -> string val compare : t -> t -> int val equal : t -> t -> bool +val nullt : 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 +