This file is indexed.

/usr/lib/ocaml/galax/code_binding.mli is in libgalax-ocaml-dev 1.1-12.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2007.                                               *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

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

(* Module: Code_binding
   Description:
     This module contains code building for operators that bind
     variable or tuple fields.
*)

(* Variables *)

(* Selects the _smallest_ physical xml type for the binding
   according to current command-line switches, variable use
   counts, independent input signature and type checking
   requirements.

   The physical type returned here may thus be different ('too
   small') from the actual type enforced by means of coercion
   functions. - Michael *)
val select_physical_variable_binding : 
    Code_selection_context.code_selection_context ->
      Xquery_algebra_ast.input_signature ->
        (Xquery_algebra_ast.asequencetype option * Xquery_common_ast.cvname) ->
          Xquery_physical_algebra_ast.physop_variable_binding

val build_bind_item_cursor_to_variable_code :
    Code_selection_context.code_selection_context ->
      Xquery_common_ast.cvname ->
        (Physical_value.item Cursor.cursor -> unit)

val build_bind_type_checked_item_cursor_to_variable_code :
    Code_selection_context.code_selection_context ->
      Xquery_algebra_ast.asequencetype ->
        Xquery_common_ast.cvname ->
          (Physical_value.item Cursor.cursor -> unit)

val build_bind_item_list_to_variable_code :
    Code_selection_context.code_selection_context ->
      Xquery_common_ast.cvname ->
        (Physical_value.item list-> unit)

(* This is _not_ a misnomer. Although the function's argument
   is an item cursor, a _list_ is bound to the variable. *)
val build_bind_type_checked_item_list_to_variable_code :
    Code_selection_context.code_selection_context ->
      Xquery_algebra_ast.asequencetype ->
        Xquery_common_ast.cvname ->
          (Physical_value.item Cursor.cursor -> unit)

val build_bind_sax_value_to_variable_code :
    Code_selection_context.code_selection_context ->
      Xquery_common_ast.cvname ->
        (Streaming_types.typed_xml_stream -> unit)


(* Tuples *)

(* Selects the _smallest_ physical xml type for the binding
   according to current command-line switches, tuple field use
   counts and independent input signature and type checking
   requirements.

   The physical type returned here may thus be different ('too
   small') from the actual type enforced by means of coercion
   functions. - Michael *)
val select_physical_tuple_binding : 
    Code_selection_context.code_selection_context ->
      Xquery_algebra_ast.input_signature ->
        (Xquery_algebra_ast.asequencetype option * Xquery_common_ast.crname) array ->
          Xquery_physical_algebra_ast.physop_tuple_binding

val build_bind_sax_value_to_tuple_field_code  :
    Code_selection_context.code_selection_context ->
      Xquery_common_ast.crname ->
        (Streaming_types.typed_xml_stream -> unit)

val build_bind_item_cursor_to_tuple_field_code  :
    Code_selection_context.code_selection_context ->
      Xquery_common_ast.crname ->
        (Physical_value.item Cursor.cursor -> unit)

val build_bind_type_checked_item_cursor_to_tuple_field_code  :
    Code_selection_context.code_selection_context ->
      Xquery_algebra_ast.asequencetype ->
        Xquery_common_ast.crname ->
          (Physical_value.item Cursor.cursor -> unit)

val build_bind_item_list_to_tuple_field_code  :
    Code_selection_context.code_selection_context ->
      Xquery_common_ast.crname ->
        (Physical_value.item list-> unit)

(* This is _not_ a misnomer. Although the function's argument
   is an item cursor, a _list_ is bound to the tuple field. *)
val build_bind_type_checked_item_list_to_tuple_field_code  :
    Code_selection_context.code_selection_context ->
      Xquery_algebra_ast.asequencetype ->
        Xquery_common_ast.crname ->
          (Physical_value.item Cursor.cursor -> unit)