X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Ftree.mli;h=0946a4c0f54668f575269ccd1e57909b4da7536a;hb=823e05eb9a6629e6dc89aac333af8724dc37139a;hp=1fa5c3ba6525514ef9530e23043e26412e53f99c;hpb=4b52da1a20a4fe031930bb96d2ca46bec06dc529;p=SXSI%2Fxpathcomp.git diff --git a/src/tree.mli b/src/tree.mli index 1fa5c3b..0946a4c 100644 --- a/src/tree.mli +++ b/src/tree.mli @@ -7,7 +7,6 @@ val parse_xml_uri : string -> t val parse_xml_string : string -> t val save : t -> string -> unit val load : ?sample:int -> ?load_text:bool -> string -> t -val tag_pool : t -> Tag.pool val nil : node @@ -29,10 +28,12 @@ val select_child : t -> node -> unordered_set -> node val next_sibling : t -> node -> node val prev_sibling : t -> node -> node val next_element : t -> node -> node +val next_node_before : t -> node -> node -> node val tagged_following_sibling : t -> node -> Tag.t -> node val select_following_sibling : t -> node -> unordered_set -> node val tagged_descendant : t -> node -> Tag.t -> node +val tagged_next : t -> node -> Tag.t -> node val select_descendant : t -> node -> unordered_set -> node val tagged_following_before : t -> node -> Tag.t -> node -> node @@ -66,7 +67,8 @@ val closing : t -> node -> node val stats : t -> unit val num_tags : t -> int -val tag_pool : t -> Tag.pool + +val tag_operations : t -> Tag.operations val print_xml : t -> node -> Unix.file_descr -> unit val flush : t -> Unix.file_descr -> unit @@ -84,3 +86,8 @@ val full_text_suffix : t -> string -> node array val full_text_equals : t -> string -> node array val full_text_contains : t -> string -> node array + +type bit_vector +val bit_vector_create : int -> bit_vector +val bit_vector_unsafe_set : bit_vector -> int -> bool -> unit +val bit_vector_unsafe_get : bit_vector -> int -> bool