This file is indexed.

/usr/lib/ocaml/galax/galax_dm.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2007.                                               *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: galax_dm.mli,v 1.17 2007/08/23 21:01:32 simeon Exp $ *)

(* Module: Galax_dm
   Description:
     This module is a main memory implementation of the XQuery 1.0 and
     XPath 2.0 data model. It is based on direct tree, list-based,
     data structures.
*)

open Namespace_symbols

open Xquery_type_core_ast
open Xquery_algebra_ast

open Dm
open Cursor
open Datatypes


(* Galax Items *)

class virtual galaxNode :
    Galax_nodeid.galax_nodeid ->
  object
    inherit node

    method implementation : unit -> string
	
  (* Axes *)
    method parent               : (cxschema option * anode_test) option -> node option

    method descendant_or_self   : (cxschema option * anode_test) option -> node cursor
    method descendant           : (cxschema option * anode_test) option -> node cursor
    method ancestor_or_self     : (cxschema option * anode_test) option -> node cursor
    method ancestor             : (cxschema option * anode_test) option -> node cursor

    method nodeid          	: unit  -> Nodeid.nodeid
    method docorder        	: unit  -> Nodeid.docorder
    method update_parent   	: node -> unit
    method reset_parent   	: unit -> unit
  end


(* Galax Document Nodes *)

class galaxDocumentNode :
    Galax_nodeid.galax_nodeid -> Dm_atomic.atomicAnyURI option ref ->
      node list -> Encoding.encoding option ->
  object
    inherit document
    inherit galaxNode
    method children 	: (cxschema option * anode_test) option -> node cursor
    method document_uri : unit -> Dm_atomic.atomicString option

    method delete     	 : node -> unit
    method detach     	 : node -> unit
    method insert     	 : node cursor -> node -> unit
    method insert_first  : node cursor -> unit
    method replace    	 : node cursor -> node -> unit
  end


(* Galax Element Nodes *)

class galaxElementNode :
    Galax_nodeid.galax_nodeid -> Dm_atomic.atomicAnyURI option ref ->
      relem_symbol -> Namespace_context.nsenv ->
	attribute list -> node list ->
          Dm_types.nilled ->
	    rtype_symbol -> Dm_atomic.atomicValue list ->
  object
    inherit element
    inherit galaxNode

    method children     : (cxschema option * anode_test) option -> node cursor
    method node_name    : unit -> Dm_atomic.atomicQName option

    method node_type   : unit -> rtype_symbol

    method attributes  : (cxschema option * anode_test) option -> attribute cursor
    method elemName    : unit -> relem_symbol
    method namespace_environment : unit -> Namespace_context.nsenv
    method typed_value : unit -> Dm_atomic.atomicValue cursor
    method export_typed_value : unit -> Dm_atomic.atomicValue list

    method has_element_content : unit -> bool

    method nilled        : unit -> Dm_types.nilled

    method delete     	 : node -> unit
    method detach     	 : node -> unit
    method insert     	 : node cursor -> node -> unit
    method insert_first	 : node cursor -> unit
    method replace    	 : node cursor -> node -> unit
    method replace_value : text -> unit
    method rename        : xs_QName -> unit
  end


(* Galax Attribute Nodes *)

class galaxAttributeNode :
    Galax_nodeid.galax_nodeid -> rattr_symbol ->
      Dm_atomic.atomicString -> rtype_symbol
	-> Dm_atomic.atomicValue list ->
  object
    inherit attribute
    inherit galaxNode

    method node_name : unit -> Dm_atomic.atomicQName option

    method node_type : unit -> rtype_symbol

    method string_value : unit -> Datatypes.xs_string
    method typed_value : unit -> Dm_atomic.atomicValue cursor
    method export_typed_value : unit -> Dm_atomic.atomicValue list

    method attrName : unit -> rattr_symbol

    method replace_value : text -> unit
    method rename        : xs_QName -> unit
  end


(* Galax Text Nodes *)

class galaxTextNode :
    Galax_nodeid.galax_nodeid -> Dm_atomic.atomicString ->
  object
    inherit text
    inherit galaxNode

    method string_value : unit -> Datatypes.xs_string

    method replace_value : text -> unit
  end

class galaxCommentNode :
  Galax_nodeid.galax_nodeid ->
  Dm_atomic.atomicString ->
  object
    inherit comment
    inherit galaxNode

    method content : unit -> Dm_atomic.atomicString
    method string_value : unit -> Datatypes.xs_string

    method replace_value : text -> unit
  end


(* Galax Processing Instruction Nodes *)

class galaxProcessingInstructionNode :
  Galax_nodeid.galax_nodeid ->
  Dm_atomic.atomicString ->
  Dm_atomic.atomicString ->
  object
    inherit processingInstruction
    inherit galaxNode

    method node_name : unit -> Dm_atomic.atomicQName option

    method string_value : unit -> Datatypes.xs_string

    method content : unit -> Dm_atomic.atomicString
    method target : unit -> Dm_atomic.atomicString

    method replace_value : text -> unit
    method rename        : xs_QName -> unit
  end


(* Deep copy hack *)

val register_deep_copy_fun : (Nodeid_context.nodeid_context -> Nodeid.docid -> node cursor -> node list) -> unit