File: code_prune.mli

package info (click to toggle)
galax 1.1-10
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 12,832 kB
  • sloc: ml: 96,603; xml: 26,602; ansic: 4,875; sh: 3,977; makefile: 1,667; java: 1,146
file content (38 lines) | stat: -rw-r--r-- 1,443 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2007.                                               *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: code_prune.mli,v 1.6 2007/02/01 22:08:45 simeon Exp $ *)

(* Module: Code_parse
   Description:
     This module contains code building for operators that implement
     pruning of sequences of XML items.
*)

open Algebra_type
open Xquery_algebra_ast
open Xquery_common_ast

(* XPath evaluation *)

val build_prune_code :
    Code_selection_context.code_selection_context -> 
      Algebra_type.algop_expr -> 
	(crname * axis) -> 
	  (Algebra_type.alg_eval_code_dep  * Code_selection_context.code_selection_context)

val build_default_prune_code : 
    Code_selection_context.code_selection_context ->
      Xquery_common_ast.axis ->
	Xquery_common_ast.crname ->
	  'a ->
	    Physical_value.tuple_unit Cursor.cursor ->
	      Physical_value.tuple_unit Cursor.cursor