File: cs_annotate.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 (47 lines) | stat: -rw-r--r-- 1,978 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
39
40
41
42
43
44
45
46
47
(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2007.                                               *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: cs_annotate.mli,v 1.6 2007/05/23 22:12:59 simeon Exp $ *)

(* Module: Cs_annotate
   Description:
     This module implements algebraic annotation for the physical
     layer.
*)

open Logical_algebra_types
open Algebra_type

(* NOTE:
   Annotation is really a separate 'sub-phase', that deals with
   annotations needed for physical operators, notably it decides on
   which physical types should be used for each operator.
*)

val annotate_context   : logical_compile_context -> alg_compile_context
val annotate_statement : alg_compile_context -> logical_algop_expr -> algop_expr
val annotate_expr      : alg_compile_context -> logical_algop_expr -> algop_expr
val annotate_prolog    :
    logical_compile_context -> logical_algop_prolog ->
      algop_prolog * alg_compile_context
val annotate_prolog_with_bindings :
    alg_compile_context -> logical_algop_prolog ->
      algop_prolog * alg_compile_context
val annotate_module :
    logical_compile_context -> logical_algop_xmodule ->
      algop_xmodule * alg_compile_context
val annotate_module_with_bindings :
    alg_compile_context -> logical_algop_xmodule ->
      algop_xmodule * alg_compile_context

val make_temp_annotated_expr :
  Xquery_algebra_ast.algop_expr_name ->
    algop_sub_exprs -> algop_sub_exprs -> Finfo.finfo -> algop_expr