X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tree.mli;h=fd7bad709a7f07af871f9203d693ab705e90917a;hb=04630ec1de987f525c6594fcada17bb49ee79d6a;hp=329d4972667399c1d5aeea8f8145d45c661d6553;hpb=496df5f7d3e6f8271763314f2067719cc2904c71;p=SXSI%2Fxpathcomp.git diff --git a/tree.mli b/tree.mli index 329d497..fd7bad7 100644 --- a/tree.mli +++ b/tree.mli @@ -16,16 +16,22 @@ sig val descr : t -> descr val left : t -> t val right : t -> t + val parent : t -> t val id : t -> int val tag : t -> Tag.t val print_xml_fast : out_channel -> t -> unit val compare : t -> t -> int val equal : t -> t -> bool + module DocIdSet : Set.S with type elt = string_content + val string_below : t -> string_content -> bool + val contains : t -> string -> DocIdSet.t + val contains_old : t -> string -> bool + val dump : t -> unit end module Binary : BINARY -val dump : Binary.t -> unit -val traversal : Binary.t -> unit -val full_traversal : Binary.t -> unit -val cpp_traversal : Binary.t -> unit +module DEBUGTREE : sig + include BINARY + val print_stats : Format.formatter -> unit +end