/usr/lib/ocaml/galax/rewriting_top.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 | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: rewriting_top.mli,v 1.3 2007/02/01 22:08:53 simeon Exp $ *)
(* Module: Rewriting_top
Description:
This module contains the top-level operations for the rewriting
processing phase.
*)
open Xquery_core_ast
open Typing_context
open Ast_walker_rewrite_context
(* Top-level rewriting operations *)
(* Note:
The toplevel rewriting operations here always apply to a typed
core expressions, and always return a typed core expressions.
- Jerome
*)
(*
Each top-level rewriting operator takes two sets of rules:
The first set is applied only to the top-level AST node in the
input expr/statement.
The second set is applied recursively to every AST node in the
input expr/statement.
*)
type statement_rule_sets =
static_context rewrite_rule_set
* static_context rewrite_rule_set
type module_rule_sets =
static_context rewrite_rule_set
* static_context rewrite_prolog_rule_set
* static_context rewrite_rule_set
val rewriting_cstatement :
statement_rule_sets -> static_context -> acstatement -> acstatement
val rewriting_cprolog :
module_rule_sets -> static_context -> acprolog -> static_context * acprolog
val rewriting_cxmodule :
module_rule_sets -> static_context -> acxmodule -> static_context * acxmodule
|