This file is indexed.

/usr/lib/ocaml/galax/sxp_context.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
(***********************************************************************)
(*                                                                     *)
(*                                 GALAX                               *)
(*                              XQuery Engine                          *)
(*                                                                     *)
(*  Copyright 2001-2007.                                               *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

(* $Id: sxp_context.mli,v 1.2 2007/02/01 22:08:54 simeon Exp $ *)

(* Module: Sxp_context
   Description:
     This module provides data structures and accessors that together
     constitute the context for streaming XPath evaluation over
     labeled XML token streams.
   - Michael *)

type action = {
  let_pass : bool;
  increase_outermost_match_depth : bool;
  push_label_depth_stack : bool;
  set_flag : bool;
}

type sxp_context


val default_sxp_context :
  unit -> sxp_context


(******************************************)
(* Stack of label-relative depth counters *)
(******************************************)

val push_label_depth_stack :
  sxp_context -> unit

val pop_label_depth_stack :
  sxp_context -> int

val decrease_topmost_label_depth :
  sxp_context -> unit

val increase_topmost_label_depth :
  sxp_context -> unit

val topmost_label_depth_is_one :
  sxp_context -> bool

val topmost_label_depth_ge_one :
  sxp_context -> bool


(*************************************)
(* Depth relative to outermost match *)
(*************************************)

val decrease_outermost_match_depth :
  sxp_context -> unit

val increase_outermost_match_depth :
  sxp_context -> unit

val is_inside_another_match :
  sxp_context -> bool


(********************)
(* Action recording *)
(********************)

val record_action :
  action -> sxp_context -> unit

val get_recorded_action :
  sxp_context -> action