c4990175a8dc5ece691a26b15e30a97365d184c6
[SXSI/xpathcomp.git] / src / runtime.mli
1 module type S = sig
2   type result_set
3   val top_down_run : Ata.t -> Tree.t -> Tree.node -> result_set
4   val bottom_up_run : Ata.t -> Tree.t -> Compile.text_query * string -> result_set
5   val grammar_run : Ata.t -> Grammar2.t -> unit -> result_set
6   val naive_top_down_run : Ata.t -> Tree.t -> Tree.node -> result_set
7   val twopass_top_down_run : Ata.t -> Tree.t -> Tree.node -> result_set
8 end
9
10 module Make (U : ResJIT.S) : S with type result_set = U.NS.t